More terminal stuff.
git-svn-id: https://spexeah.com:8443/svn/Asuro@219 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
parent
95edd32845
commit
4374d6ad7b
BIN
bin/kernel.bin
BIN
bin/kernel.bin
Binary file not shown.
Binary file not shown.
BIN
lib/kernel.ppu
BIN
lib/kernel.ppu
Binary file not shown.
BIN
lib/keyboard.ppu
BIN
lib/keyboard.ppu
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
lib/libpsystem.a
BIN
lib/libpsystem.a
Binary file not shown.
@ -31,10 +31,24 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
procedure process_command;
|
procedure process_command;
|
||||||
|
var
|
||||||
|
fallthrough : boolean;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
console.writecharln(' ');
|
console.writecharln(' ');
|
||||||
//Process Here
|
//Process Here
|
||||||
if isCommand('version') then console.writestringln('Asuro v1.0');
|
fallthrough:= true;
|
||||||
|
if isCommand('version') then begin
|
||||||
|
console.writestringln('Asuro v1.0');
|
||||||
|
fallthrough:= false;
|
||||||
|
end;
|
||||||
|
if isCommand('clear') then begin
|
||||||
|
console.clear();
|
||||||
|
fallthrough:= false;
|
||||||
|
end;
|
||||||
|
if fallthrough then begin
|
||||||
|
console.writestringln('Unknown Command.');
|
||||||
|
end;
|
||||||
console.writestring('Asuro#> ');
|
console.writestring('Asuro#> ');
|
||||||
bIndex:= 0;
|
bIndex:= 0;
|
||||||
memset(uint32(@buffer[0]), 0, 1024);
|
memset(uint32(@buffer[0]), 0, 1024);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user