_mainCRTStartup:
PUBLIC start
start:
+#if 0
.byte HEX(e9)
.byte HEX(fd)
.byte HEX(01)
// Reads the entire FAT into memory at 7000:0000
ReadFatIntoMemory:
- mov ax, [bp+HiddenSectors]
+ mov ax, [bp+HiddenSectors]
mov dx, [bp+HiddenSectors+2]
add ax, [bp+ReservedSectors]
adc dx, 0
.org HEX(1fe) // Pad to 510 bytes
.word HEX(0aa55) // BootSector signature
+#endif
.endcode16