Subversion Repositories Kolibri OS

Rev

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

Rev 155 Rev 160
Line 286... Line 286...
286
        mov   ecx,0x10000 / 4
286
        mov   ecx,0x10000 / 4
287
        cld
287
        cld
288
        rep   stosd
288
        rep   stosd
Line 289... Line 289...
289
 
289
 
-
 
290
; SAVE REAL MODE VARIABLES
-
 
291
        mov     ax, [0x2f0000 + 0x9031]
290
; SAVE REAL MODE VARIABLES
292
        mov     [IDEContrRegsBaseAddr], ax
291
; --------------- APM ---------------------
293
; --------------- APM ---------------------
292
    mov    eax, [0x2f0000 + 0x9040]    ; entry point
294
    mov    eax, [0x2f0000 + 0x9040]    ; entry point
293
    mov    dword[apm_entry], eax
295
    mov    dword[apm_entry], eax
Line 815... Line 817...
815
        out   0xa0,al
817
        out   0xa0,al
Line 816... Line 818...
816
 
818
 
Line 817... Line 819...
817
        loop  ready_for_irqs         ; flush the queue
819
        loop  ready_for_irqs         ; flush the queue
-
 
820
 
-
 
821
;        mov    [dma_hdd],1
Line 818... Line 822...
818
 
822
        cmp     [IDEContrRegsBaseAddr], 0
819
;        mov    [dma_hdd],1
823
        setnz   [dma_hdd]
Line 820... Line 824...
820
 
824