Changeset 363 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc/BootMenu.inc


Ignore:
Timestamp:
Mar 26, 2012, 4:20:43 PM (12 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Added Advanced ATA Module (MODULE_ADVANCED_ATA) with native support for QDI Vision QD6500 and QD6580 VLB IDE Controllers.
  • Hopefully optimized IDE transfer functions for 8088 (replaced some memory accesses from WORD to BYTE).
  • XT build does not fit in 8k at the moment!!!
File:
1 edited

Legend:

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

    r294 r363  
    2424
    2525struc BOOTMENUINFO
    26     .szDrvName      resb    MAX_HARD_DISK_NAME_LENGTH
    27                     resb    2       ; Zero word (ensures string terminates)
    28                     resb    4       ; padding to make BOOTMENUINFO size an even multiple of DPT size
     26    .szDrvName              resb    MAX_HARD_DISK_NAME_LENGTH
     27                            resb    2   ; Zero word (ensures string terminates)
     28    .wInitErrorFlags        resb    2   ; Errors during initialization
     29
     30%ifdef MODULE_ADVANCED_ATA
     31    .wIdeBasePort           resb    2   ; IDE Base Port
     32    .wMinPioActiveTimeNs    resb    2   ; Minimum PIO Active Time in ns
     33    .wMinPioRecoveryTimeNs  resb    2   ; Minimum PIO Recovery Time in ns
     34    .wControllerID          resb    2   ; Controller specific ID WORD
     35    .wControllerBasePort    resb    2   ; Advanced Controller port (not IDE port)
     36                            resb    12  ; padding to make BOOTMENUINFO size an even multiple of DPT size
     37
     38%else
     39                            resb    2   ; padding to make BOOTMENUINFO size an even multiple of DPT size
     40%endif
    2941endstruc
     42
     43; Flags for BOOTMENUINFO.wInitErrorFlags
     44FLG_INIT_FAILED_TO_SELECT_DRIVE                 EQU     (1<<0)
     45FLG_INIT_FAILED_TO_INITIALIZE_CHS_PARAMETERS    EQU     (1<<1)
     46FLG_INIT_FAILED_TO_SET_WRITE_CACHE              EQU     (1<<2)
     47FLG_INIT_FAILED_TO_RECALIBRATE_DRIVE            EQU     (1<<3)
     48FLG_INIT_FAILED_TO_SET_BLOCK_MODE               EQU     (1<<4)
     49FLG_INIT_FAILED_TO_SET_PIO_MODE                 EQU     (1<<5)
    3050
    3151DPT_BOOTMENUINFO_SIZE_MULTIPLIER  equ   BOOTMENUINFO_size / LARGEST_DPT_SIZE
Note: See TracChangeset for help on using the changeset viewer.