summaryrefslogtreecommitdiff
path: root/v4.0/src/INC/BOOTFORM.INC
diff options
context:
space:
mode:
Diffstat (limited to 'v4.0/src/INC/BOOTFORM.INC')
-rw-r--r--v4.0/src/INC/BOOTFORM.INC47
1 files changed, 47 insertions, 0 deletions
diff --git a/v4.0/src/INC/BOOTFORM.INC b/v4.0/src/INC/BOOTFORM.INC
new file mode 100644
index 0000000..8f53a51
--- /dev/null
+++ b/v4.0/src/INC/BOOTFORM.INC
@@ -0,0 +1,47 @@
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
7BOOT_SIZE EQU 512
8EXT_BOOT_SIGNATURE EQU 41 ;Extended boot signature
9;
10EXT_BPB_INFO STRUC
11EBPB_BYTESPERSECTOR DW ?
12EBPB_SECTORSPERCLUSTER DB ?
13EBPB_RESERVEDSECTORS DW ?
14EBPB_NUMBEROFFATS DB ?
15EBPB_ROOTENTRIES DW ?
16EBPB_TOTALSECTORS DW ?
17EBPB_MEDIADESCRIPTOR DB ?
18EBPB_SECTORSPERFAT DW ?
19EBPB_SECTORSPERTRACK DW ?
20EBPB_HEADS DW ?
21EBPB_HIDDENSECTOR DD ?
22EBPB_BIGTOTALSECTORS DD ?
23EXT_BPB_INFO ENDS
24;
25;AN001; EXT_PHYDRV, EXT_CURHD included in the header for OS2.
26EXT_IBMBOOT_HEADER STRUC
27EXT_BOOT_JUMP DB 3 DUP (?)
28EXT_BOOT_OEM DB 8 DUP (?)
29EXT_BOOT_BPB DB type EXT_BPB_INFO dup (?)
30EXT_PHYDRV DB 80h
31EXT_CURHD DB 0
32EXT_BOOT_SIG DB EXT_BOOT_SIGNATURE
33EXT_BOOT_SERIAL DD ?
34EXT_BOOT_VOL_LABEL DB 11 DUP (?)
35EXT_SYSTEM_ID DB 8 DUP (?)
36EXT_IBMBOOT_HEADER ENDS
37;
38BOOT_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.
45IBMLOADSIZE equ 3 ;Number of sectors IBMBOOT program should read in.
46
47