Changeset 477 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Device/Idepack.asm


Ignore:
Timestamp:
Oct 20, 2012, 5:04:32 PM (12 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Added non-working DMA transfer code.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Device/Idepack.asm

    r443 r477  
    7575
    7676    ; Normalize data buffer pointer to ES:SI
     77%ifdef MODULE_8BIT_IDE
     78    cmp     BYTE [di+DPT_ATA.bDevice], DEVICE_8BIT_XTCF_DMA
     79    jne     SHORT .NormalizeForSmallestPossibleOffset
     80
     81    ; DMA transfers do not need to normalize pointer
     82    ; (it will be converted to physical address in IdeDmaTransfer.asm)
     83    les     si, [es:si+DAP.dwMemoryAddress]
     84    jmp     SHORT GetDeviceControlByteToIdepackAndStartTransfer
     85%endif ; MODULE_8BIT_IDE
     86
     87.NormalizeForSmallestPossibleOffset:
    7788    mov     ax, [es:si+DAP.wOffset]
    7889    mov     cx, ax
Note: See TracChangeset for help on using the changeset viewer.