diff --git a/src/bootloader.asm b/src/bootloader.asm index a1cab27..036c78b 100644 --- a/src/bootloader.asm +++ b/src/bootloader.asm @@ -12,7 +12,7 @@ ; Read second sector (outside bootsector) mov bx, 0x9000 ; LOAD LOCATION - mov dh, 3 ; SECTOR-COUNT + mov dh, 2 ; SECTOR-COUNT mov dl, [BOOT_DRIVE] ; DISK-INDEX call disk_read @@ -21,6 +21,12 @@ mov dx, [0x9000] call print_hex + mov bx, [ASCII_END] + call println + + mov dx, [0x9000 + 512] ; read from second sector too + call print_hex + jmp $ ; inf loop %include "equ/ASCII.asm"