You are on page 1of 2

00H /===============================================\

| E9 XX XX or EB XX 90 |
03H +===============================================+
| OEM name and version |
| (8 bytes) |
OBH +===============================================+=\
| Bytes per sector (2 bytes) | |
ODH +===============================================+ |
| Sectors per allocation unit (1 byte) | |
0EH +===============================================+ |
| Reserved sectors, starting at 0 (2 bytes) | |
10H +===============================================+ |
| Number of FATs (1 byte) | B
11H +===============================================+ P
| Number of root-directory entries (2 bytes) | B
13H +===============================================+ |
| Total sectors in logical volume (2 bytes) | |
15H +===============================================+ | MS-DOS
| Media descriptor byte | | version 2.0
16H +===============================================+ |
| Number of sectors per FAT (2 bytes) | |
18H +===============================================+=+
| Sectors per track (2 bytes) | |
1AH +===============================================+ |
| Number of heads (2 bytes) | | MS-DOS
1CH +===============================================+ | version 3.0
| Number of hidden sectors (4 bytes) |=+
20H +===============================================+ | MS-DOS
| Total sectors in logical volume | | version 4.0
| (MS-DOS 4.0 and volume size >32 MB) | |
24H +===============================================+=+
| Physical drive number | |
25H +===============================================+ |
| Reserved | |
26H +===============================================+ |
| Extended boot signature record (29H) | | Additional
27H +===============================================+ | MS-DOS 4.0
| 32-bit binary volume ID | | information
2BH +===============================================+ |
| Volume label (11 bytes) | |
36H +===============================================+ |
| Reserved (8 bytes) | |
3EH +===============================================+=Ù
| Bootstrap |
À===============================================Ù

==========================================================================
0 1 2 3 4 5 6 7 8 9 A B C D E F
0000 EB 34 90 49 42 4D 20 20 33 2E 33 00 02 02 01 00 .4.IBM 3.3.....
0010 02 70 00 D0 02 FD 02 00 09 00 02 00 00 00 00 00 .p..............
0020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 12 ................
0030 00 00 00 00 01 00 FA 33 C0 8E D0 BC 00 7C 16 07 .......3.....|..
.
.
.
01C0 0D 0A 44 69 73 6B 20 42 6F 6F 74 20 66 61 69 6C ..Disk Boot fail
01D0 75 72 65 0D 0A 00 49 42 4D 42 49 4F 20 20 43 4F ure...IBMBIO CO
01E0 4D 49 42 4D 44 4F 53 20 20 43 4F 4D 00 00 00 00 MIBMDOS COM....
01F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA ..............U.
==========================================================================

==========================================================================
jmp $+54 ; jump to bootstrap
nop

db 'IBM 3.3' ; OEM identification

; BIOS parameter block


dw 512 ; bytes per sector
db 2 ; sectors per cluster
dw 1 ; reserved sectors
db 2 ; number of FATs
dw 112 ; root directory entries
dw 720 ; total sectors
db 0fdh ; media descriptor byte
dw 2 ; sectors per FAT

dw 9 ; sectors per track


dw 2 ; number of heads
dd 0 ; hidden sectors
.
.
.
==========================================================================

You might also like