ED: Gotten l (list) working, need to work more on d (delete) as there's a bug with deleting lines that are not line 1.

This commit is contained in:
deadvey
2026-03-11 21:16:52 +00:00
parent 88716c0b64
commit 245cfa57f3
8 changed files with 234 additions and 84 deletions

View File

@@ -171,7 +171,7 @@ disk_clear_output_buffer:
; OUT
; data_buffer: file contents
; TODO use predefined data for calculations
; carry flag: set if failed to load file
; CX = 0 if failed to load
disk_load_file:
pusha
call string_length ; cl = string length
@@ -235,10 +235,11 @@ disk_load_file:
jmp .done_fail
.done_fail:
popa
stc
mov bx, 1
ret
.done:
popa
xor bx,bx
ret
; Write data to file