source: xtideuniversalbios/trunk/XTIDE_Universal_BIOS/Inc/BootVars.inc@ 91

Last change on this file since 91 was 90, checked in by Tomi Tilli, 14 years ago

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.
File size: 1.0 KB
RevLine 
[88]1; Project name : XTIDE Universal BIOS
[3]2; Description : Defines for BOOTVARS struct used by boot menu
3; and drive initialization.
4%ifndef BOOTVARS_INC
5%define BOOTVARS_INC
6
7
8; Boot Menu Information Table. These are generated for all XTIDE Universal
9; BIOS drives. Available only until boot is successfull.
10LEN_BOOTNFO_DRV EQU 26 ; Bytes reserved for drive name
11struc BOOTNFO
12 .twSectCnt resb 6 ; Total user addressable sectors
13 .szDrvName resb LEN_BOOTNFO_DRV+1 ; Drive name
14 resb 1 ; Alignment
15endstruc
16
17
18; Pre-boot variables. These do not exist after successfull boot to OS.
19; Segment is always 0000h, same as BDA segment
20struc BOOTVARS
21 resb 800h
22 .dwPostStack resb 4 ; 804h, POST stack when entering INT 19h
[90]23 resb 8
[3]24 .rgBootNfo resb 73F4h ; 80Ch, Array containing BOOTNFO structs
25 .rgbMnuStack: ; 7C00h and below, Boot Menu stack
26 .rgbAtaInfo: ; 7C00h, ATA Information for drive detection
27 .rgbBootSect resb 512 ; 7C00h, Boot sector
28endstruc
29
30
31%endif ; BOOTVARS_INC
Note: See TracBrowser for help on using the repository browser.