Fix?
git-svn-id: https://spexeah.com:8443/svn/Asuro@81 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
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.
@@ -18,6 +18,12 @@ procedure kmain(mbinfo: Pmultiboot_info_t; mbmagic: uint32); stdcall;
|
||||
|
||||
implementation
|
||||
|
||||
|
||||
procedure test2(data : void);
|
||||
begin
|
||||
console.writestringln('It works 2.');
|
||||
end;
|
||||
|
||||
procedure test(data : void);
|
||||
begin
|
||||
console.writestringln('It works.');
|
||||
@@ -80,6 +86,8 @@ begin
|
||||
console.setdefaultattribute(console.combinecolors(lYellow, Black));
|
||||
|
||||
isr0.hook(uint32(@test));
|
||||
isr0.hook(uint32(@test2));
|
||||
isr0.unhook(uint32(@test));
|
||||
asm INT 0 end;
|
||||
|
||||
util.halt_and_dont_catch_fire;
|
||||
|
||||
Reference in New Issue
Block a user