]>
wirehaze git hosting - BOS.git/blob - kernel/system/sys_ints.asm
3f57ddd39af22ffb11f7b28481f09319095e8412
1 ;----------------------------------------------------------;
2 ; BOS 0.04 Christoffer Bubach, 2004-2005. ;
3 ;----------------------------------------------------------;
5 ; System interrupts.. ;
7 ;----------------------------------------------------------;
9 ;----------------------------------------------------;
10 ; TODO: A lot, when user programs can be runned.. ;
11 ;----------------------------------------------------;
13 ;--------------------------;
14 ; System interrupt 0x32 ;
15 ;--------------------------;
17 isr32_str_1 db "ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»", 0
18 isr32_str_2 db "º \10 INT 32 CALLED!! º", 0
19 isr32_str_3 db "º \ 2 \ 1 º", 0
20 isr32_str_4 db "ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ", 0
22 isr32_str_5 db "CTRL+ALT+DEL was pressed!", 0
29 cmp ax, 0x0001 ; get character int..
36 ;-----------------------------;
37 ; ctrl+alt+delete function ;
38 ;-----------------------------;
40 cmp ax, 0xCADE ; CTRL+ALT+DEL was pressed
67 ;-----------------------------;
68 ; no selected function.. ;
69 ;-----------------------------;
70 .ordinary: ; print that int 0x32 was called...