From 2298d17186cb0e58a96d285384de431902da9b1e Mon Sep 17 00:00:00 2001 From: Lizzy Fleckenstein Date: Fri, 15 Dec 2023 16:10:22 +0100 Subject: big chungus * fix a heap corruption bug * add qemu support * add an ATA driver * add an USTAR read-only file system * boot from disk instead of floppy * font rendering * image rendering * PCI enumeration * init script --- stage1/main.asm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'stage1') diff --git a/stage1/main.asm b/stage1/main.asm index c51fc59..33264b0 100644 --- a/stage1/main.asm +++ b/stage1/main.asm @@ -19,6 +19,9 @@ boot: mov ebx, .msg call print_str + ; save offset of the file system + mov dword[0x1000-10-8], KSIZE+512 + ; print boot drive pusha movzx eax, dl @@ -145,5 +148,8 @@ load_stages: %include "stage1/print.asm" +times 440-($-$$) db 0 +db "hugs" + times 510-($-$$) db 0 dw 0xAA55 -- cgit v1.2.3