From 8fb4d9bcdc5e7dfbec1b316bf40e0837c07c275a Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Mon, 17 May 2021 11:57:53 +0200 Subject: [PATCH] Disk read output string --- src/bootloader.asm | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/bootloader.asm b/src/bootloader.asm index 072fdcd..8e89f2c 100644 --- a/src/bootloader.asm +++ b/src/bootloader.asm @@ -14,15 +14,21 @@ mov dh, 2 ; read 2 sectors call disk_read ; read + mov bx, read_test_string + call print + mov dx, [0x9000] call print_hex - mov bx, empty_string - call println + mov bx, byte_sep_string + call print mov dx, [0x9000 + 512] call print_hex + mov bx, empty_string + call println + jmp $ ; inf loop ; Load the EQUs @@ -38,6 +44,7 @@ welcome_string: db "e Operating-System (eOS)", ASCII_END info_string: db "Version 2021 0.0", ASCII_END read_test_string: db "Disk read: ", ASCII_END +byte_sep_string: db "; ", ASCII_END empty_string: db ASCII_END times 510-($-$$) db 0