git-svn-id: https://spexeah.com:8443/svn/Asuro@81 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
kieron 2017-05-17 17:47:59 +00:00
parent a8c133f97c
commit 43dc8ec601
11 changed files with 8 additions and 0 deletions

BIN
Asuro.iso

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.

View File

@ -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;