Changeset 365 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc/CustomDPT.inc


Ignore:
Timestamp:
Mar 27, 2012, 5:01:57 PM (12 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.
File:
1 edited

Legend:

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

    r364 r365  
    4040
    4141; IDE device only
    42 FLGH_DPT_INITERROR              EQU (1<<7)
    4342%ifdef MODULE_ADVANCED_ATA
    44 FLGH_DPT_IORDY                  EQU (1<<6)  ; Controller and Drive supports IORDY
     43FLGH_DPT_IORDY                  EQU (1<<7)  ; Controller and Drive supports IORDY
    4544%endif
    4645
     
    6160struc DPT_ATA   ; 10 + 2 bytes = 12 bytes
    6261    .dpt                        resb    DPT_size
     62    .bBlockSize                 resb    1   ; Current block size in sectors (do not set to zero!)
     63    .bInitError                 resb    1
     64endstruc
    6365
    64     ; Block size is specified in sectors (1, 2, 4, 8, 16, 32, 64 or 128)
    65     .wSetAndMaxBlock:
    66     .bSetBlock                  resb    1   ; Current block size (do not set to zero!)
    67     .bMaxBlock                  resb    1   ; Maximum block size, 0 = block mode not supported
    68 endstruc
     66; Flags for BOOTMENUINFO.wInitErrorFlags
     67FLG_INITERROR_FAILED_TO_SELECT_DRIVE                EQU     (1<<0)
     68FLG_INITERROR_FAILED_TO_INITIALIZE_CHS_PARAMETERS   EQU     (1<<1)
     69FLG_INITERROR_FAILED_TO_SET_WRITE_CACHE             EQU     (1<<2)
     70FLG_INITERROR_FAILED_TO_RECALIBRATE_DRIVE           EQU     (1<<3)
     71FLG_INITERROR_FAILED_TO_SET_BLOCK_MODE              EQU     (1<<4)
     72FLG_INITERROR_FAILED_TO_SET_PIO_MODE                EQU     (1<<5)
    6973
    7074
Note: See TracChangeset for help on using the changeset viewer.