Last change
on this file since 88 was
88,
checked in by aitotat, 13 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
|
Rev | Line | |
---|
[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. |
---|
| 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 |
---|
[88] | 24 | resb 4 |
---|
[3] | 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.