Rev 2 | Rev 40 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2 | Rev 8 | ||
---|---|---|---|
Line 28... | Line 28... | ||
28 | kb_lights db 0 |
28 | kb_lights db 0 |
29 | endg |
29 | endg |
Line 30... | Line 30... | ||
30 | 30 | ||
31 | align 4 |
31 | align 4 |
32 | irq1: |
32 | irq1: |
- | 33 | pushad |
|
33 | 34 | push ds es |
|
- | 35 | mov ax, os_data |
|
- | 36 | mov ds, ax |
|
Line 34... | Line 37... | ||
34 | call restore_caller |
37 | mov es, ax |
35 | 38 | ||
36 | movzx eax,word[0x3004] ; top window process |
39 | movzx eax,word[0x3004] ; top window process |
37 | movzx eax,word[0xC400+eax*2] |
40 | movzx eax,word[0xC400+eax*2] |
Line 207... | Line 210... | ||
207 | mov [check_idle_semaphore],5 |
210 | mov [check_idle_semaphore],5 |
Line 208... | Line 211... | ||
208 | 211 | ||
209 | mov al,0x20 ; ready for next irq |
212 | mov al,0x20 ; ready for next irq |
Line 210... | Line 213... | ||
210 | out 0x20,al |
213 | out 0x20,al |
211 | 214 | ||
212 | call return_to_caller |
215 | pop es ds |
Line 213... | Line 216... | ||
213 | 216 | popad |
|
214 | jmp irq1 |
217 | iret |
215 | 218 | ||
216 | set_lights: |
219 | set_lights: |