Subversion Repositories Kolibri OS

Rev

Rev 118 | Rev 380 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 118 Rev 164
Line 84... Line 84...
84
        pop     eax
84
        pop     eax
85
        ret
85
        ret
Line 86... Line 86...
86
 
86
 
87
align 4
87
align 4
88
irq1:
88
irq1:
89
       save_ring3_context
89
;       save_ring3_context
90
       mov   ax, os_data
90
;       mov   ax, os_data
91
       mov   ds, ax
91
;       mov   ds, ax
Line 92... Line 92...
92
       mov   es, ax
92
;       mov   es, ax
93
 
93
 
94
       mov   eax, [0x3004] ; top window process
94
       movzx eax,word[0x3004] ; top window process
95
       movzx eax,word[0xC400+eax*2]
95
       movzx eax,word[0xC400+eax*2]
96
       shl   eax,8
96
       shl   eax,8
Line 275... Line 275...
275
       mov   [0xF400+eax],bl
275
       mov   [0xF400+eax],bl
Line 276... Line 276...
276
 
276
 
277
   .exit.irq1:
277
   .exit.irq1:
Line 278... Line 278...
278
       mov   [check_idle_semaphore],5
278
       mov   [check_idle_semaphore],5
279
 
279
 
Line 280... Line 280...
280
       mov   al,0x20                  ; ready for next irq
280
;       mov   al,0x20                  ; ready for next irq
281
       out   0x20,al
281
;       out   0x20,al
-
 
282
 
Line 282... Line 283...
282
 
283
;       restore_ring3_context
283
       restore_ring3_context
284
;       iret
284
       iret
285
        ret
285
 
286