diff --git a/bootloader/bios/disk.asm b/bootloader/bios/disk.asm index 1dbc359..9cb7cbf 100644 --- a/bootloader/bios/disk.asm +++ b/bootloader/bios/disk.asm @@ -42,4 +42,4 @@ read_error: read_error_string: db ASCII_CARRIAGE_RETURN, ASCII_LINEBREAK, "ERROR! Disk read failed.", ASCII_END error_code_string: db "Error code: ", ASCII_END -sector_error_string: db "Invalid number of sectors read!", ASCII_END +sector_error_string: db "Invalid number of sectors read!", ASCII_END diff --git a/bootloader/bios/memory.asm b/bootloader/bios/memory.asm new file mode 100644 index 0000000..874ca4e --- /dev/null +++ b/bootloader/bios/memory.asm @@ -0,0 +1,5 @@ +; SRs to find memory size and leave it as a "note" for the kernel + +map_phys_mem: + int 0x15 +