Fix?
git-svn-id: https://spexeah.com:8443/svn/Asuro@81 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
parent
a8c133f97c
commit
43dc8ec601
BIN
bin/kernel.bin
BIN
bin/kernel.bin
Binary file not shown.
Binary file not shown.
BIN
lib/isr.ppu
BIN
lib/isr.ppu
Binary file not shown.
BIN
lib/kernel.o
BIN
lib/kernel.o
Binary file not shown.
BIN
lib/kernel.ppu
BIN
lib/kernel.ppu
Binary file not shown.
Binary file not shown.
BIN
lib/libpkernel.a
BIN
lib/libpkernel.a
Binary file not shown.
Binary file not shown.
BIN
lib/libpsystem.a
BIN
lib/libpsystem.a
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user