Fixed bug.
git-svn-id: https://spexeah.com:8443/svn/Asuro@87 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
1 parent
3356302d32
commit
7d20391a86
17 files changed
+5
-8
No files matched your search
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.
@@ -374,7 +374,6 @@ begin
|
|||||||
end;
|
end;
|
||||||
Console_Cursor.X:= 0;
|
Console_Cursor.X:= 0;
|
||||||
console._update_cursor;
|
console._update_cursor;
|
||||||
if Debug then psleep(1000);
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure _newline(); [public, alias: '_console_newline'];
|
procedure _newline(); [public, alias: '_console_newline'];
|
||||||
|
|||||||
@@ -31,6 +31,7 @@ var
|
|||||||
i : integer;
|
i : integer;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
|
CLI;
|
||||||
for i:=0 to MAX_HOOKS-1 do begin
|
for i:=0 to MAX_HOOKS-1 do begin
|
||||||
if uint32(Hooks[i]) <> 0 then begin
|
if uint32(Hooks[i]) <> 0 then begin
|
||||||
Hooks[i](nil);
|
Hooks[i](nil);
|
||||||
|
|||||||
@@ -29,14 +29,14 @@ var
|
|||||||
procedure Main(); interrupt;
|
procedure Main(); interrupt;
|
||||||
var
|
var
|
||||||
i : integer;
|
i : integer;
|
||||||
b : void;
|
b : dword;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
b:= void(inb($60));
|
b:= inb($60);
|
||||||
console.writehexln(uint8(b));
|
console.writehexln(b);
|
||||||
for i:=0 to MAX_HOOKS-1 do begin
|
for i:=0 to MAX_HOOKS-1 do begin
|
||||||
if uint32(Hooks[i]) <> 0 then begin
|
if uint32(Hooks[i]) <> 0 then begin
|
||||||
Hooks[i](b);
|
Hooks[i](void(b));
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
outb($20, $20);
|
outb($20, $20);
|
||||||
|
|||||||
@@ -47,7 +47,6 @@ begin
|
|||||||
|
|
||||||
STI;
|
STI;
|
||||||
isr32.hook(uint32(@bios_data_area.tick_update));
|
isr32.hook(uint32(@bios_data_area.tick_update));
|
||||||
console.debug:= true;
|
|
||||||
|
|
||||||
asm
|
asm
|
||||||
MOV dds, CS
|
MOV dds, CS
|
||||||
@@ -75,9 +74,7 @@ begin
|
|||||||
console.writestring('Total Memory = ');
|
console.writestring('Total Memory = ');
|
||||||
console.writeint(((mbinfo^.mem_upper + 1000) div 1024) + 1);
|
console.writeint(((mbinfo^.mem_upper + 1000) div 1024) + 1);
|
||||||
console.writestringln('MB');
|
console.writestringln('MB');
|
||||||
while(true)do begin end;
|
|
||||||
console.setdefaultattribute(console.combinecolors(lYellow, Black));
|
console.setdefaultattribute(console.combinecolors(lYellow, Black));
|
||||||
|
|
||||||
util.halt_and_dont_catch_fire;
|
util.halt_and_dont_catch_fire;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user