small DOS cleanup
This commit is contained in:
1 parent
394aa80b49
commit
b5247f8019
8 files changed
+29
-31
No files matched your search
@@ -25,8 +25,7 @@ fs_vfs_read_file_open:
|
||||
|
||||
; XXX deduplicate part above with opening directory
|
||||
|
||||
; Read dirent structures into $1000, find the first matching file
|
||||
; Starting at $1000 VIC sees chargen, so this should be a safe place
|
||||
; Read dirent structures into MEM_BUF, find the first matching file
|
||||
|
||||
jsr util_shadow
|
||||
|
||||
@@ -49,7 +48,7 @@ fs_vfs_read_file_open:
|
||||
|
||||
; Found the file - load it
|
||||
|
||||
jsr util_shadow_restore ; restore $1000 memory content
|
||||
jsr util_shadow_restore ; restore MEM_BUF memory content
|
||||
|
||||
lda #$18 ; dos_openfile
|
||||
sta HTRAP00
|
||||
|
||||
Reference in new issue
Block a user