Changeset 90 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc


Ignore:
Timestamp:
Jan 27, 2011, 11:31:31 AM (14 years ago)
Author:
Tomi Tilli
google:author:
aitotat
Message:

Changes to XTIDE Universal BIOS:

  • Removed INT 13h format and diagnostics functions.
  • Removed INT 18h callback handler.
  • Removed configuration for early/late initialization. Now XT builds always use late and AT build early initialization.
  • Reduced number of supported IDE controllers from 5 to 4.
  • Removed reserved configuration bytes.
  • Removed simple and system boot loaders.
Location:
trunk/XTIDE_Universal_BIOS/Inc
Files:
2 edited

Legend:

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

    r88 r90  
    2020struc BOOTVARS
    2121                    resb    800h
    22     .dwSys18h       resb    4       ;  800h, System INT 18h handler (Diskless boot, Boot failure)
    2322    .dwPostStack    resb    4       ;  804h, POST stack when entering INT 19h
    24                     resb    4
     23                    resb    8
    2524    .rgBootNfo      resb    73F4h   ;  80Ch, Array containing BOOTNFO structs
    2625    .rgbMnuStack:                   ; 7C00h and below, Boot Menu stack
  • trunk/XTIDE_Universal_BIOS/Inc/RomVars.inc

    r88 r90  
    1 ; File name     :   RomVars.inc
    2 ; Project name  :   IDE BIOS
    3 ; Created date  :   23.3.2010
    4 ; Last update   :   1.5.2010
    5 ; Author        :   Tomi Tilli
     1; Project name  :   XTIDE Universal BIOS
    62; Description   :   Defines for ROMVARS struct containing variables stored
    73;                   in BIOS ROM.
     
    139    .wRomSign       resb    2   ; ROM Signature (AA55h)
    1410    .bRomSize       resb    1   ; ROM size in 512 byte blocks
    15     .rgbJump        resb    5   ; First instruction to ROM init (jmp)
    16     ; Offset 8 (8h) starts here
    17     .rgbDate        resb    8   ; BIOS build date string (mm/dd/yy)
    18     ; Offset 16 (10h) starts here
     11    .rgbJump        resb    3   ; First instruction to ROM init (jmp)
     12
    1913    .rgbSign        resb    8   ; Signature for XTIDE Configurator Program
    2014    .szTitle        resb    31  ; BIOS title string
    21     .szVersion      resb    25  ; BIOS version string
    22     ; Offset 80 (50h) starts here
     15    .szVersion      resb    23  ; BIOS version string
     16
    2317    .wFlags         resb    2   ; Word for ROM flags
    24     .bIdeCnt        resb    1   ; Number of supported IDE controllers
     18    .bIdeCnt        resb    1   ; Number of available IDE controllers
    2519    .bBootDrv       resb    1   ; Boot Menu default drive
    26                     resb    1   ; (Was boot menu maximum height)
    2720    .bBootDelay     resb    1   ; Boot Menu selection delay in seconds
    28     .bBootLdrType   resb    1   ; Boot Loader type
    2921    .bMinFddCnt     resb    1   ; Minimum number of Floppy Drives
    3022    .bStealSize     resb    1   ; Number of 1kB blocks stolen from 640kB base RAM
    31                     resb    7
    32     ; Offset 96 (60h) starts here
    33     ; Last IDEVARS must not start after offset FFh.
     23
    3424    .ideVars0       resb    IDEVARS_size
    3525    .ideVars1       resb    IDEVARS_size
    3626    .ideVars2       resb    IDEVARS_size
    3727    .ideVars3       resb    IDEVARS_size
    38     .ideVars4       resb    IDEVARS_size
    3928endstruc
    4029
    4130; Bit defines for ROMVARS.wFlags
    4231FLG_ROMVARS_FULLMODE    EQU (1<<0)  ; Full operating mode (steals base RAM, supports EBIOS etc.)
    43 FLG_ROMVARS_LATE        EQU (1<<1)  ; Late initialization
    4432FLG_ROMVARS_DRVXLAT     EQU (1<<2)  ; Enable drive number translation
    4533FLG_ROMVARS_ROMBOOT     EQU (1<<3)  ; Include ROMBOOT to boot menu
    46 FLG_ROMVARS_DRVNFO      EQU (1<<4)  ; Display drive info on boot menu
    4734FLG_ROMVARS_MAXSIZE     EQU (1<<5)  ; Maximize size by sacrificing compatibility with some old BIOSes
    48 
    49 ; Bootloader types for ROMVARS.bBootLdrType
    50 BOOTLOADER_TYPE_MENU    EQU (0<<1)  ; Display boot menu on boot loader
    51 BOOTLOADER_TYPE_SIMPLE  EQU (1<<1)  ; Simple bootloader without menu
    52 BOOTLOADER_TYPE_NONE    EQU (3<<1)  ; Do not install boot loader
    5335
    5436
     
    5941    .bBusType           resb    1   ; Bus type
    6042    .bIRQ               resb    1   ; Interrupt Request Number
    61                         resb    4   ; Reserved
    6243    .drvParamsMaster    resb    DRVPARAMS_size
    6344    .drvParamsSlave     resb    DRVPARAMS_size
     
    7455struc DRVPARAMS
    7556    .wFlags         resb    2   ; Drive flags
    76                     resb    2   ; Reserved
    7757    .wCylinders     resb    2   ; User specified cylinders (1...16383)
    7858    .wSectAndHeads:
Note: See TracChangeset for help on using the changeset viewer.