More terminal stuff.

git-svn-id: https://spexeah.com:8443/svn/Asuro@219 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
kieron 2017-10-23 08:38:03 +00:00
parent 95edd32845
commit 4374d6ad7b
9 changed files with 15 additions and 1 deletions

BIN
Asuro.iso

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.

View File

@ -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);