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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user