Code: Select all
*snip*
; Values are those used by IBM for 1.44 MB, 3.5" diskette
23
24 OEMLabel db "MIKEBOOT" ; Disk label
25 BytesPerSector dw 512 ; Bytes per sector
26 SectorsPerCluster db 1 ; Sectors per cluster
27 ReservedForBoot dw 1 ; Reserved sectors for boot record
28 NumberOfFats db 2 ; Number of copies of the FAT
29 RootDirEntries dw 224 ; Number of entries in root dir
30 ; (224 * 32 = 7168 = 14 sectors to read)
31 LogicalSectors dw 2880 ; Number of logical sectors
32 MediumByte db 0F0h ; Medium descriptor byte
33 SectorsPerFat dw 9 ; Sectors per FAT
34 SectorsPerTrack dw 18 ; Sectors per track (36/cylinder)
35 Sides dw 2 ; Number of sides/heads
36 HiddenSectors dd 0 ; Number of hidden sectors
37 LargeSectors dd 0 ; Number of LBA sectors
38 DriveNo dw 0 ; Drive No: 0
39 Signature db 41 ; Drive signature: 41 for floppy
40 VolumeID dd 00000000h ; Volume ID: any number
41 VolumeLabel db "MIKEOS "; Volume Label: any 11 chars
42 FileSystem db "FAT12 " ; File system type: don't change!
43
*snip*
Any help?