Fix?
git-svn-id: https://spexeah.com:8443/svn/Asuro@81 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
1 parent
a8c133f97c
commit
43dc8ec601
11 files changed
+8
No files matched your search
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
|
implementation
|
||||||
|
|
||||||
|
|
||||||
|
procedure test2(data : void);
|
||||||
|
begin
|
||||||
|
console.writestringln('It works 2.');
|
||||||
|
end;
|
||||||
|
|
||||||
procedure test(data : void);
|
procedure test(data : void);
|
||||||
begin
|
begin
|
||||||
console.writestringln('It works.');
|
console.writestringln('It works.');
|
||||||
@@ -80,6 +86,8 @@ begin
|
|||||||
console.setdefaultattribute(console.combinecolors(lYellow, Black));
|
console.setdefaultattribute(console.combinecolors(lYellow, Black));
|
||||||
|
|
||||||
isr0.hook(uint32(@test));
|
isr0.hook(uint32(@test));
|
||||||
|
isr0.hook(uint32(@test2));
|
||||||
|
isr0.unhook(uint32(@test));
|
||||||
asm INT 0 end;
|
asm INT 0 end;
|
||||||
|
|
||||||
util.halt_and_dont_catch_fire;
|
util.halt_and_dont_catch_fire;
|
||||||
|
|||||||
Reference in new issue
Block a user