source:
xtideuniversalbios/trunk/XTIDE_Universal_BIOS/Inc/BootVars.inc@
88
Last change on this file since 88 was 88, checked in by , 14 years ago | |
---|---|
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. |
10 | LEN_BOOTNFO_DRV EQU 26 ; Bytes reserved for drive name |
11 | struc BOOTNFO |
12 | .twSectCnt resb 6 ; Total user addressable sectors |
13 | .szDrvName resb LEN_BOOTNFO_DRV+1 ; Drive name |
14 | resb 1 ; Alignment |
15 | endstruc |
16 | |
17 | |
18 | ; Pre-boot variables. These do not exist after successfull boot to OS. |
19 | ; Segment is always 0000h, same as BDA segment |
20 | struc 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 |
29 | endstruc |
30 | |
31 | |
32 | %endif ; BOOTVARS_INC |
Note:
See TracBrowser
for help on using the repository browser.