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

View File

@ -31,10 +31,24 @@ begin
end;
procedure process_command;
var
fallthrough : boolean;
begin
console.writecharln(' ');
//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#> ');
bIndex:= 0;
memset(uint32(@buffer[0]), 0, 1024);