From a433f6525ba567d7ca0b4661c645cd804d55f456 Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Fri, 6 Aug 2021 23:38:12 +0200 Subject: [PATCH] Cleanup --- src/bootloader.asm | 4 ---- src/pm/vga/print.asm | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/bootloader.asm b/src/bootloader.asm index 9815979..bcf841c 100644 --- a/src/bootloader.asm +++ b/src/bootloader.asm @@ -27,7 +27,3 @@ BOOT_DRIVE: db 0 ; Bootsector times 510-($-$$) db 0 dw 0xaa55 ; magic BIOS numbers - -; After bootsector -times 256 dw 0xEEEE -times 256 dw 0xAAAA diff --git a/src/pm/vga/print.asm b/src/pm/vga/print.asm index 4b8aac6..b183017 100644 --- a/src/pm/vga/print.asm +++ b/src/pm/vga/print.asm @@ -1,7 +1,7 @@ [bits 32] ; VGA base address: 0xb8000 -; Charpos = 0xb8000 + 2 * (row * 80 + col) +; Charpos = 0xb8000 + 2(row*80 + col) vga_print: pusha