source: xtideuniversalbios/tags/XTIDE_Universal_BIOS_v1.1.1/Inc/BootVars.inc@ 88

Last change on this file since 88 was 3, checked in by Tomi Tilli, 14 years ago
File size: 1.3 KB
Line 
1; File name : BootVars.inc
2; Project name : IDE BIOS
3; Created date : 23.3.2010
4; Last update : 9.4.2010
5; Author : Tomi Tilli
6; Description : Defines for BOOTVARS struct used by boot menu
7; and drive initialization.
8%ifndef BOOTVARS_INC
9%define BOOTVARS_INC
10
11
12; Boot Menu Information Table. These are generated for all XTIDE Universal
13; BIOS drives. Available only until boot is successfull.
14LEN_BOOTNFO_DRV EQU 26 ; Bytes reserved for drive name
15struc BOOTNFO
16 .twSectCnt resb 6 ; Total user addressable sectors
17 .szDrvName resb LEN_BOOTNFO_DRV+1 ; Drive name
18 resb 1 ; Alignment
19endstruc
20
21
22; Pre-boot variables. These do not exist after successfull boot to OS.
23; Segment is always 0000h, same as BDA segment
24struc BOOTVARS
25 resb 800h
26 .dwSys18h resb 4 ; 800h, System INT 18h handler (Diskless boot, Boot failure)
27 .dwPostStack resb 4 ; 804h, POST stack when entering INT 19h
28 .bMenuHotkey resb 1 ; 808h, Boot Menu hotkey, zero if none pressed
29 resb 3
30 .rgBootNfo resb 73F4h ; 80Ch, Array containing BOOTNFO structs
31 .rgbMnuStack: ; 7C00h and below, Boot Menu stack
32 .rgbAtaInfo: ; 7C00h, ATA Information for drive detection
33 .rgbBootSect resb 512 ; 7C00h, Boot sector
34endstruc
35
36
37%endif ; BOOTVARS_INC
Note: See TracBrowser for help on using the repository browser.