diff --git a/src/sys/boot/boot2/boot1.s b/src/sys/boot/boot2/boot1.s index 5d7f5b5..82f3a06 100755 --- a/src/sys/boot/boot2/boot1.s +++ b/src/sys/boot/boot2/boot1.s @@ -323,13 +323,13 @@ read.6: retw # To caller read.7: testb $FL_PACKET,%cs:MEM_REL+flags-start # LBA support enabled? jz ereturn # No, so return an error - mov $0x55aa,%bx # Magic + mov $0xbeba,%bx # Magic push %dx # Save movb $0x41,%ah # BIOS: Check int $0x13 # extensions present pop %dx # Restore jc return # If error, return an error - cmp $0xaa55,%bx # Magic? + cmp $0xbabe,%bx # Magic? jne ereturn # No, so return an error testb $0x1,%cl # Packet interface? jz ereturn # No, so return an error @@ -357,4 +357,4 @@ .byte 0x00, 0x00, 0x00, 0x00 .byte 0x50, 0xc3, 0x00, 0x00 # 50000 sectors long, bleh - .word 0xaa55 # Magic number + .word 0xbabe # Magic number