ORG 00h BITS 16 root_buffer: equ 24000h ; Stores a dump of the root directory metadata_buffer: equ 27000h ; Stores metadata about whatever's in the data buffer output_buffer: equ 27020h ; Buffer storing stuff you'll output file_buffer: equ 28000h ; Stores actual data to be read start: call disk_load_root ; Loads the root directory into disk_buffer for future use mov si, boot_message call os_print_string ; TESTING ;mov ax, 3 ;call string_cast_from_int ;mov si, stringified_int ;call os_print_string call os_start_cli hlt halt: jmp halt ; ------------------------------------------------------------------ ; FEATURES -- Code to pull into the kernel %INCLUDE "source/kernel/features/text.asm" %INCLUDE "source/kernel/features/keyboard.asm" %INCLUDE "source/kernel/features/ports.asm" %INCLUDE "source/kernel/features/power.asm" %INCLUDE "source/kernel/features/strings.asm" %INCLUDE "source/kernel/features/graphics.asm" %INCLUDE "source/kernel/features/sound.asm" %INCLUDE "source/kernel/features/disk.asm" %INCLUDE "source/kernel/features/math.asm" %INCLUDE "source/kernel/features/time.asm" %INCLUDE "source/kernel/features/utils.asm" %INCLUDE "source/kernel/features/cli.asm" %INCLUDE "source/kernel/features/misc.asm" %INCLUDE "source/kernel/features/basic.asm" ; DATA/VARIABLES %INCLUDE "source/kernel/data.asm"