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

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

Changes to XTIDE Universal BIOS:

  • Now uses new libraries (untested)
  • Non-working since code size is too large
File size: 1.1 KB
Line 
1; Project name : XTIDE Universal BIOS
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 .dwSys18h resb 4 ; 800h, System INT 18h handler (Diskless boot, Boot failure)
23 .dwPostStack resb 4 ; 804h, POST stack when entering INT 19h
24 resb 4
25 .rgBootNfo resb 73F4h ; 80Ch, Array containing BOOTNFO structs
26 .rgbMnuStack: ; 7C00h and below, Boot Menu stack
27 .rgbAtaInfo: ; 7C00h, ATA Information for drive detection
28 .rgbBootSect resb 512 ; 7C00h, Boot sector
29endstruc
30
31
32%endif ; BOOTVARS_INC
Note: See TracBrowser for help on using the repository browser.