Changeset 365 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Device/IDE


Ignore:
Timestamp:
Mar 27, 2012, 5:01:57 PM (13 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Errors from AH=9h are stored to DPTs again.
  • XT build fits in 8k again.
Location:
trunk/XTIDE_Universal_BIOS/Src/Device/IDE
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeCommand.asm

    r363 r365  
    5555    mov     [di+DPT.wFlags], ax
    5656    mov     [di+DPT.bIdevarsOffset], bp
    57     mov     BYTE [di+DPT_ATA.bSetBlock], 1  ; Block = 1 sector
     57    mov     BYTE [di+DPT_ATA.bBlockSize], 1 ; Block = 1 sector
    5858%ifdef MODULE_ADVANCED_ATA
    5959    call    IdeDPT_StoreDeviceTypeFromIdevarsInCSBPtoDPTinDSDI
  • trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeDPT.asm

    r364 r365  
    3030;--------------------------------------------------------------------
    3131.StoreBlockMode:
    32     mov     al, 1                           ; Block mode will be enabled on AH=9h
    33     mov     ah, [es:si+ATA1.bBlckSize]      ; Max block size in sectors
    34     mov     [di+DPT_ATA.wSetAndMaxBlock], ax
     32    mov     BYTE [di+DPT_ATA.bBlockSize], 1
    3533
    3634%ifdef MODULE_ADVANCED_ATA
  • trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeTransfer.asm

    r364 r365  
    180180    ; Store sizes
    181181    mov     [bp+PIOVARS.bSectorsLeft], ah
    182     eMOVZX  ax, BYTE [di+DPT_ATA.bSetBlock]
     182    eMOVZX  ax, BYTE [di+DPT_ATA.bBlockSize]
    183183    mov     [bp+PIOVARS.wSectorsInBlock], ax
    184184    mov     [bp+PIOVARS.bSectorsDone], ah       ; Zero
Note: See TracChangeset for help on using the changeset viewer.