I recently added a FAT32 partition table to my bootloader and now BIOS won't recognize it as a bootable MBR. I believe the binary is 512 Bytes and there is a valid signature. Is it something wrong with the "TIMES 499" or something else?
[BITS 16]
[ORG 0x7c00]
mov ah, 0x0e ; Starts TTY mode to display booting message
mov al, 'L'
int 0x10
mov al, 'o'
int 0x10
mov al, 'a'
int 0x10
mov al, 'd'
int 0x10
mov al, 'i'
int 0x10
mov al, 'n'
int 0x10
mov al, 'g'
int 0x10
mov al, '.'
int 0x10
int 0x10
int 0x10
TIMES 499 - ($ - $$) DB 0 ; Zerofill
; ------------- Partition Table
; Partition #1
DQ 0x00000000
DB 0x0c ; Type Code
DW 0x0000
DB 0x00
DQ 0x000003E8 ; LBA Begin
DQ 0x000186A0 ; # of Sectors
; Partition #2
DQ 0x00000000
DB 0x0c ; Type Code
DW 0x0000
DB 0x00
DQ 0x00018A88 ; LBA Begin
DQ 0x000186A0 ; # of Sectors
; Partition #3
DQ 0x00000000
DB 0x0c ; Type Code
DW 0x0000
DB 0x00
DQ 0x00031128 ; LBA Begin
DQ 0x000186A0 ; # of Sectors
; Partition #4
DQ 0x00000000
DB 0x0c ; Type Code
DW 0x0000
DB 0x00
DQ 0x000497C8 ; LBA Begin
DQ 0x000186A0 ; # of Sectors
; ------------- End Partition Table
DW 0xAA55 ; MBR Signature
I expected "Loading..." but instead got "No Bootable Device."