Subversion Repositories Kolibri OS

Compare Revisions

Ignore whitespace Rev 341 → Rev 346

/kernel/trunk/blkdev/hd_drv.inc
1,5 → 1,5
; Low-level driver for HDD access
; DMA support by Mario79
; Low-level driver for HDD access
; DMA support by Mario79
 
;**************************************************************************
;
220,9 → 220,11
jb danger
cmp eax,[PARTITION_END]
ja danger
 
cmp [allow_dma_write], 1
jnz .nodma
cmp [dma_hdd], 1
jmp .nodma
jnz .nodma
; Ž¡ê¥¤¨­ï¥¬ § ¯¨áì 楯®çª¨ ¯®á«¥¤®¢ â¥«ì­ëå ᥪâ®à®¢ ¢ ®¤­® ®¡à é¥­¨¥ ª ¤¨áªã
cmp ecx, 1
jz .nonext
519,7 → 521,7
pop edx eax
ret
 
; \begin{Mario79}
; \begin{Mario79}
align 4
wait_for_sector_dma_ide0:
push eax
586,6 → 588,7
cache_chain_started db 0
dma_task_switched db 0
dma_hdd db 0
allow_dma_write db 0
endg
 
align 4
852,4 → 855,4
uglobal
IDEContrRegsBaseAddr dw ?
endg
; \end{Mario79}
; \end{Mario79}