Disk reading partly done

This commit is contained in:
2025-11-17 20:46:21 +00:00
parent 7906c48a2e
commit 0222a7adb9
10 changed files with 261 additions and 21 deletions

View File

@@ -48,6 +48,31 @@ os_print_string:
popa
ret
; This is similar to the previous, however it prints
; raw output (including null) and prints the number
; of character defined by ax
; IN:
; SI = pointer to start of string to be printed
; AX = Length of string to print
text_raw_output:
pusha
mov di, ax
mov ah, 0Eh ; int 10h teletype function, we're telling the BIOS we will print something
.repeat:
lodsb ; Get char from si into al
int 10h ; Otherwise, print it
dec di
cmp di, 00h
je .done
jne .repeat
.done:
popa
ret
; --------------------------------------------
os_print_newline: