Subversion Repositories Kolibri OS

Rev

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

Rev 4303 Rev 4307
Line 69... Line 69...
69
format binary as "mnt"
69
format binary as "mnt"
Line 70... Line 70...
70
 
70
 
71
include 'macros.inc'
71
include 'macros.inc'
Line 72... Line 72...
72
include 'struct.inc'
72
include 'struct.inc'
Line 73... Line 73...
73
 
73
 
74
$Revision: 4303 $
74
$Revision: 4307 $
Line 794... Line 794...
794
        out     dx, al
794
        out     dx, al
795
        mov     dx, [IDE_BAR3_val] ;0x374
795
        mov     dx, [IDE_BAR3_val] ;0x374
796
        add     dx, 2 ;0x376
796
        add     dx, 2 ;0x376
797
        out     dx, al
797
        out     dx, al
798
@@:
798
@@:
-
 
799
; read status register and remove the interrupt request
-
 
800
        mov     dx, [IDE_BAR0_val] ;0x1F0
-
 
801
        add     dx, 0x7 ;0x1F7
-
 
802
        in      al, dx
-
 
803
        mov     dx, [IDE_BAR2_val] ;0x170
-
 
804
        add     dx, 0x7 ;0x177
-
 
805
        in      al, dx
799
;-----------------------------------------------------------------------------
806
;-----------------------------------------------------------------------------
800
;!!!!!!!!!!!!!!!!!!!!!!!!!!
807
;!!!!!!!!!!!!!!!!!!!!!!!!!!
801
;        mov     esi, boot_detectdisks
808
;        mov     esi, boot_detectdisks
802
;        call    boot_log
809
;        call    boot_log
803
;include 'detect/disks.inc'
810
;include 'detect/disks.inc'