Before C Switch

This commit is contained in:
2024-03-08 19:28:09 +01:00
parent da52676e78
commit 2f3b4f6e6b
4 changed files with 47 additions and 39 deletions
+5 -2
View File
@@ -1,7 +1,7 @@
;
; Loads a file from the filetable into a memory location
; Params:
; dl - Disk number
; dl - Disk number (byte)
; Filename (Null terminated)
; Destination location segment
; Destination location offset
@@ -42,6 +42,9 @@ loadFile:
stosb
loop .filenamePadLoop
.filenameDone:
mov si, fileName
call print
mov ax, FILETAB_LOC
mov es, ax
xor di, di ; es:di - Filetable location
@@ -311,8 +314,8 @@ returnToCaller:
; Filename
;
removeFile:
ret
;; Variables
availableSector: db 0
exitCode: db 0