pull/13/head
E. Almqvist 3 years ago
parent 632566f6c3
commit 05b70d8605
  1. 8
      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"

Loading…
Cancel
Save