From 161769f9b8f0f570fa944c11f6c59897ebad6bf9 Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Wed, 24 Feb 2021 22:03:07 +0100 Subject: [PATCH 1/2] Disk read test --- src/bootloader.asm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bootloader.asm b/src/bootloader.asm index eadcf6d..d3cfabe 100644 --- a/src/bootloader.asm +++ b/src/bootloader.asm @@ -35,3 +35,7 @@ read_test_string: db "Disk read: ", ASCII_END times 510-($-$$) db 0 db 0x55, 0xaa ; magic BIOS numbers + +; Bloat bytes to test disk read +times 256 dw 0xeeee +times 256 dw 0xaaaa From 2f6827c48ee18747596e6f19d3eadc52a37313a1 Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Wed, 24 Feb 2021 22:05:59 +0100 Subject: [PATCH 2/2] Bytes read test --- src/bootloader.asm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bootloader.asm b/src/bootloader.asm index d3cfabe..7a254a5 100644 --- a/src/bootloader.asm +++ b/src/bootloader.asm @@ -17,6 +17,9 @@ mov dx, [0x9000] call print_hex + mov dx, [0x9000 + 512] + call print_hex + jmp $ ; inf loop ; Load the EQUs