git-svn-id: https://spexeah.com:8443/svn/Asuro@585 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
1 parent
0901d1e009
commit
c01c39e928
19 files changed
+20
-2
No files matched your search
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -961,6 +961,7 @@ begin
|
|||||||
//b:= pos shr 8;
|
//b:= pos shr 8;
|
||||||
//outb($3D5, b);
|
//outb($3D5, b);
|
||||||
//redrawWindows;
|
//redrawWindows;
|
||||||
|
//sleep(1);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure backspace;
|
procedure backspace;
|
||||||
|
|||||||
+19
-2
@@ -19,7 +19,8 @@ uses
|
|||||||
lmemorymanager,
|
lmemorymanager,
|
||||||
strings,
|
strings,
|
||||||
tracer,
|
tracer,
|
||||||
asuro;
|
asuro,
|
||||||
|
serial;
|
||||||
|
|
||||||
const
|
const
|
||||||
TERMINAL_HWND = 1;
|
TERMINAL_HWND = 1;
|
||||||
@@ -370,6 +371,21 @@ begin
|
|||||||
console.toggleWNDVisible(1);
|
console.toggleWNDVisible(1);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure SendSerial(Params : PParamList);
|
||||||
|
begin
|
||||||
|
Serial.init(COM1);
|
||||||
|
Serial.Send(uint8('H'), COM1, 1000);
|
||||||
|
Serial.Send(uint8('E'), COM1, 1000);
|
||||||
|
Serial.Send(uint8('L'), COM1, 1000);
|
||||||
|
Serial.Send(uint8('L'), COM1, 1000);
|
||||||
|
Serial.Send(uint8('O'), COM1, 1000);
|
||||||
|
Serial.Send(uint8('W'), COM1, 1000);
|
||||||
|
Serial.Send(uint8('O'), COM1, 1000);
|
||||||
|
Serial.Send(uint8('R'), COM1, 1000);
|
||||||
|
Serial.Send(uint8('L'), COM1, 1000);
|
||||||
|
Serial.Send(uint8('D'), COM1, 1000);
|
||||||
|
end;
|
||||||
|
|
||||||
procedure init;
|
procedure init;
|
||||||
begin
|
begin
|
||||||
console.writestringln('TERMINAL: INIT BEGIN.');
|
console.writestringln('TERMINAL: INIT BEGIN.');
|
||||||
@@ -384,7 +400,8 @@ begin
|
|||||||
registerCommand('CD', @change_dir, 'Change Directory test.');
|
registerCommand('CD', @change_dir, 'Change Directory test.');
|
||||||
registerCommand('PATTERN', @cockwomble, 'Print an animated pattern to the screen.');
|
registerCommand('PATTERN', @cockwomble, 'Print an animated pattern to the screen.');
|
||||||
registerCommand('TOGGLEWND1', @ToggleWND1, 'Toggle WND 1 Visibility.');
|
registerCommand('TOGGLEWND1', @ToggleWND1, 'Toggle WND 1 Visibility.');
|
||||||
registerCommand('TIME', @printTime, 'PRINT TIME!');
|
registerCommand('TIME', @printTime, 'Print the current time.');
|
||||||
|
registerCommand('SERIAL', @SendSerial, 'Send ''helloworld'' through COM1.');
|
||||||
console.writestringln('TERMINAL: INIT END.');
|
console.writestringln('TERMINAL: INIT END.');
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user