I was playing around with my own bootloader in QEMU for x32 bit systems and tried booting from iso file with not setting 0xAA55 as the last two bytes of the sector and 0x2233 instead
But QEMU still booted and showed the same results as it did before
Without the correct signature shouldnt QEMU fail to recognize my disk as bootable device?
How is it still booting?
Heres my bootloader.asm :
org     0x7c00              ; We are loaded by BIOS at 0x7C00
 
bits    16                  ; We are still in 16 bit Real Mode
 
Start:
 
    cli                 ; Clear all Interrupts
    hlt                 ; halt the system
    
times 510 - ($-$$) db 0             ; We have to be 512 bytes. Clear the rest of the bytes with 0
 
dw 0x2233                   ; Boot Signiture
I followed this question to make the iso file to boot from and even tried with changing the signature of asm code of the question, and QEMU again recognized it as a bootable media and printed "This is my cool new OS!" on screen
