Changeset 547 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc


Ignore:
Timestamp:
Apr 21, 2013, 3:47:11 PM (12 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Hotkeys were incorrectly initialized to use 'C' as first hard drive letter.
  • All CHS translate modes should again work (incorrectly decremented DX instead of DL, it might or might not have caused problems).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Inc/RomVars.inc

    r545 r547  
    129129DEVICE_XTIDE_DEFAULT_PORTCTRL           EQU     (DEVICE_XTIDE_DEFAULT_PORT + XTIDE_CONTROL_BLOCK_OFFSET)
    130130; Note XT-CF control port is SHL 1 relative to XTIDE, and coded that way hence no need for specific definition like...
    131 ; DEVICE_XTCF_DEFAULT_PORTCTRL              EQU     (DEVICE_XTIDE_DEFAULT_PORT + XTCF_CONTROL_BLOCK_OFFSET)
     131; DEVICE_XTCF_DEFAULT_PORTCTRL          EQU     (DEVICE_XTIDE_DEFAULT_PORT + XTCF_CONTROL_BLOCK_OFFSET)
    132132
    133133DEVICE_ATA_PRIMARY_PORT                 EQU     1F0h
     
    192192FLG_DRVPARAMS_BLOCKMODE         EQU (1<<4)  ; Enable Block mode transfers
    193193FLG_DRVPARAMS_USERCHS           EQU (1<<5)  ; User specified P-CHS values
    194     MAX_USER_CYLINDERS              EQU 16383
    195     MAX_USER_HEADS                  EQU 16
    196     MAX_USER_SECTORS_PER_TRACK      EQU 63
    197     MAX_USER_CHS_COUNT              EQU (MAX_USER_CYLINDERS * MAX_USER_HEADS * MAX_USER_SECTORS_PER_TRACK)
     194    MAX_PCHS_CYLINDERS              EQU 16383
     195    MAX_PCHS_HEADS                  EQU 16
     196    MAX_PCHS_SECTORS_PER_TRACK      EQU 63
     197    MAX_PCHS_TOTAL_SECTOR_COUNT     EQU (MAX_PCHS_CYLINDERS * MAX_PCHS_HEADS * MAX_PCHS_SECTORS_PER_TRACK)  ; 16,514,064
    198198FLG_DRVPARAMS_USERLBA           EQU (1<<6)  ; User specified LBA value
    199     MIN_USER_LBA_COUNT              EQU (MAX_USER_CHS_COUNT+1)  ; Must be more than max CHS
    200     MAX_USER_LBA_COUNT              EQU ((2^28)-1)              ; LBA28 limit
    201199
    202200%endif ; ROMVARS_INC
Note: See TracChangeset for help on using the changeset viewer.