]> wirehaze git hosting - MS-DOS.git/blob - v4.0/src/INC/BOOTFORM.INC

wirehaze git hosting

MZ is back!
[MS-DOS.git] / v4.0 / src / INC / BOOTFORM.INC
1 %OUT BOOTFORM.INC...
2 ;****************************************************************************
3 ;AN000; - Structure of the Extended IBMBOOT record for DOS -. J.K.
4 ;AN001; - D304 Include PHYDRV, CURHD to the header structure 11/09/87 J.K.
5 ;****************************************************************************
6
7 BOOT_SIZE EQU 512
8 EXT_BOOT_SIGNATURE EQU 41 ;Extended boot signature
9 ;
10 EXT_BPB_INFO STRUC
11 EBPB_BYTESPERSECTOR DW ?
12 EBPB_SECTORSPERCLUSTER DB ?
13 EBPB_RESERVEDSECTORS DW ?
14 EBPB_NUMBEROFFATS DB ?
15 EBPB_ROOTENTRIES DW ?
16 EBPB_TOTALSECTORS DW ?
17 EBPB_MEDIADESCRIPTOR DB ?
18 EBPB_SECTORSPERFAT DW ?
19 EBPB_SECTORSPERTRACK DW ?
20 EBPB_HEADS DW ?
21 EBPB_HIDDENSECTOR DD ?
22 EBPB_BIGTOTALSECTORS DD ?
23 EXT_BPB_INFO ENDS
24 ;
25 ;AN001; EXT_PHYDRV, EXT_CURHD included in the header for OS2.
26 EXT_IBMBOOT_HEADER STRUC
27 EXT_BOOT_JUMP DB 3 DUP (?)
28 EXT_BOOT_OEM DB 8 DUP (?)
29 EXT_BOOT_BPB DB type EXT_BPB_INFO dup (?)
30 EXT_PHYDRV DB 80h
31 EXT_CURHD DB 0
32 EXT_BOOT_SIG DB EXT_BOOT_SIGNATURE
33 EXT_BOOT_SERIAL DD ?
34 EXT_BOOT_VOL_LABEL DB 11 DUP (?)
35 EXT_SYSTEM_ID DB 8 DUP (?)
36 EXT_IBMBOOT_HEADER ENDS
37 ;
38 BOOT_SIGNATURE = word ptr (BOOT_SIZE-2)
39
40 ;
41 ;J.K. This is the number of sectors (of size 512 bytes) that will cover
42 ;the size of IBMLOAD program. IBMBOOT program has to at least read this
43 ;many sectors, and these sectors should be the first cluster and consecutive.
44 ;Make sure IBMBOOT program uses the same value as this.
45 IBMLOADSIZE equ 3 ;Number of sectors IBMBOOT program should read in.
46
47