Subversion Repositories Kolibri OS

Rev

Rev 465 | Rev 479 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 465 Rev 473
Line 1... Line 1...
1
$Revision: 465 $
1
$Revision: 473 $
2
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3
;;                                                              ;;
3
;;                                                              ;;
4
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
4
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
5
;; Distributed under terms of the GNU General Public License    ;;
5
;; Distributed under terms of the GNU General Public License    ;;
6
;;                                                              ;;
6
;;                                                              ;;
Line 46... Line 46...
46
 
46
 
47
    dd except_16, e17,e18, except_19
47
    dd except_16, e17,e18, except_19
Line 48... Line 48...
48
    times 12 dd unknown_interrupt
48
    times 12 dd unknown_interrupt
49
 
49
 
50
    dd   irq0  , irq_serv.irq_1, p_irq2 , p_irq3     ;irq_serv.irq_3
50
    dd   irq0  , irq_serv.irq_1, p_irq2 , p_irq3     ;irq_serv.irq_3
51
    dd   irq_serv.irq_4 ,irq_serv.irq_5,p_irq6,irq_serv.irq_7
51
    dd   p_irq4 ,irq_serv.irq_5,p_irq6,irq_serv.irq_7
Line 52... Line 52...
52
    dd   irq_serv.irq_8, irq_serv.irq_9, irq_serv.irq_10
52
    dd   irq_serv.irq_8, irq_serv.irq_9, irq_serv.irq_10
Line 243... Line 243...
243
     mov   ax, app_data  ;os_data
243
     mov   ax, app_data  ;os_data
244
     mov   ds, ax
244
     mov   ds, ax
245
     mov   es, ax
245
     mov   es, ax
246
     cmp   [com2_mouse_detected],0
246
     cmp   [com2_mouse_detected],0
247
     je    old_irq3_handler
247
     je    old_irq3_handler
-
 
248
     mov   esi, com2_mouse
-
 
249
     mov   dx, 2F8h     ;[COMPortBaseAddr]
248
     call  check_mouse_data_com2
250
     call  check_mouse_data_com
249
     jmp   p_irq3_1
251
     jmp   p_irq3_1
250
 old_irq3_handler:
252
 old_irq3_handler:
251
     mov   edi,3
253
     mov   edi,3
252
     call  irqhandler
254
     call  irqhandler
253
  p_irq3_1:
255
  p_irq3_1:
Line 259... Line 261...
259
     mov   ax, app_data  ;os_data
261
     mov   ax, app_data  ;os_data
260
     mov   ds, ax
262
     mov   ds, ax
261
     mov   es, ax
263
     mov   es, ax
262
     cmp   [com1_mouse_detected],0
264
     cmp   [com1_mouse_detected],0
263
     je    old_irq4_handler
265
     je    old_irq4_handler
-
 
266
     mov   esi, com1_mouse
-
 
267
     mov   dx, 3F8h     ;[COMPortBaseAddr]
264
     call  check_mouse_data_com1
268
     call  check_mouse_data_com
265
     jmp   p_irq4_1
269
     jmp   p_irq4_1
266
 old_irq4_handler:
270
 old_irq4_handler:
267
     mov   edi,4
271
     mov   edi,4
268
     call  irqhandler
272
     call  irqhandler
269
  p_irq4_1:
273
  p_irq4_1: