Disk read output string

pull/13/head
E. Almqvist 4 years ago
parent 29860c8a04
commit 8fb4d9bcdc
  1. 11
      src/bootloader.asm

@ -14,15 +14,21 @@
mov dh, 2 ; read 2 sectors mov dh, 2 ; read 2 sectors
call disk_read ; read call disk_read ; read
mov bx, read_test_string
call print
mov dx, [0x9000] mov dx, [0x9000]
call print_hex call print_hex
mov bx, empty_string mov bx, byte_sep_string
call println call print
mov dx, [0x9000 + 512] mov dx, [0x9000 + 512]
call print_hex call print_hex
mov bx, empty_string
call println
jmp $ ; inf loop jmp $ ; inf loop
; Load the EQUs ; Load the EQUs
@ -38,6 +44,7 @@
welcome_string: db "e Operating-System (eOS)", ASCII_END welcome_string: db "e Operating-System (eOS)", ASCII_END
info_string: db "Version 2021 0.0", ASCII_END info_string: db "Version 2021 0.0", ASCII_END
read_test_string: db "Disk read: ", ASCII_END read_test_string: db "Disk read: ", ASCII_END
byte_sep_string: db "; ", ASCII_END
empty_string: db ASCII_END empty_string: db ASCII_END
times 510-($-$$) db 0 times 510-($-$$) db 0

Loading…
Cancel
Save