Subversion Repositories Kolibri OS

Rev

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

Rev 2981 Rev 2983
Line 1... Line 1...
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;                                                                 ;;
2
;;                                                                 ;;
3
;; Copyright (C) KolibriOS team 2004-2011. All rights reserved.    ;;
3
;; Copyright (C) KolibriOS team 2004-2012. All rights reserved.    ;;
4
;; Distributed under terms of the GNU General Public License       ;;
4
;; Distributed under terms of the GNU General Public License       ;;
5
;;                                                                 ;;
5
;;                                                                 ;;
6
;; i8255x (Intel eepro 100) driver for KolibriOS                   ;;
6
;; i8255x (Intel eepro 100) driver for KolibriOS                   ;;
7
;;                                                                 ;;
7
;;                                                                 ;;
8
;;    Written by hidnplayr@kolibrios.org                           ;;
8
;;    Written by hidnplayr@kolibrios.org                           ;;
Line 669... Line 669...
669
        mov     esi, device_list
669
        mov     esi, device_list
670
  .nextdevice:
670
  .nextdevice:
671
        mov     ebx, [esi]
671
        mov     ebx, [esi]
Line 672... Line 672...
672
 
672
 
673
        set_io  0
673
        set_io  0
674
        set_io  REG_ISR
674
        set_io  reg_scb_status
675
        in      ax, dx
675
        in      ax, dx
676
        out     dx, ax                              ; send it back to ACK
676
        out     dx, ax                              ; send it back to ACK
677
        test    ax, ax
677
        test    ax, ax
678
        jnz     .got_it
678
        jnz     .got_it