Subversion Repositories Kolibri OS

Rev

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

Rev 4297 Rev 4303
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: 4297 $
74
$Revision: 4303 $
Line 1146... Line 1146...
1146
        cmp     [IDEContrRegsBaseAddr], 0
1146
        cmp     [IDEContrRegsBaseAddr], 0
1147
        setnz   [dma_hdd]
1147
        setnz   [dma_hdd]
Line 1148... Line 1148...
1148
 
1148
 
1149
        cmp     [IDEContrProgrammingInterface], 0
1149
        cmp     [IDEContrProgrammingInterface], 0
1150
        je      set_interrupts_for_IDE_controllers.continue
-
 
1151
 
-
 
1152
        mov     ax, [IDE_Interrupt]
-
 
1153
        cmp     al, 0xff
-
 
1154
        jne     @f
-
 
1155
 
-
 
1156
        mov     [dma_hdd], 0
-
 
1157
        jmp     set_interrupts_for_IDE_controllers.end_set_interrupts
-
 
1158
@@:
1150
        je      set_interrupts_for_IDE_controllers.continue
1159
;-----------------------------------------------------------------------------
1151
;-----------------------------------------------------------------------------
1160
; set interrupts for IDE Controller
1152
; set interrupts for IDE Controller
1161
;-----------------------------------------------------------------------------
1153
;-----------------------------------------------------------------------------
1162
        mov     esi, boot_set_int_IDE
1154
        mov     esi, boot_set_int_IDE