added some missing floppy code
This commit is contained in:
1 parent
9f6c85a460
commit
0011b3eacf
2 files changed
+16
-2
No files matched your search
@@ -50,6 +50,7 @@ fs_cbm_read_file_open:
|
|||||||
|
|
||||||
; Found the file - load it, start from fetching initial track/sector
|
; Found the file - load it, start from fetching initial track/sector
|
||||||
|
|
||||||
|
inc $D020
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -34,9 +34,22 @@ unit_fd_cmd_OPEN_EOI:
|
|||||||
|
|
||||||
unit_fd_cmd_OPEN_file:
|
unit_fd_cmd_OPEN_file:
|
||||||
|
|
||||||
; XXX provide implementation
|
; Copy the filter from command XXX this should be moved to common part and deduplicated with directory opening
|
||||||
|
|
||||||
|
ldy #$00
|
||||||
|
@lp1:
|
||||||
|
lda FD_CMDFN_BUF, y
|
||||||
|
cmp #$A0
|
||||||
|
beq @lp1_end
|
||||||
|
sta PAR_FPATTERN, y
|
||||||
|
iny
|
||||||
|
cpy #$10
|
||||||
|
bne @lp1
|
||||||
|
|
||||||
|
@lp1_end:
|
||||||
|
|
||||||
|
jmp fs_cbm_read_file_open
|
||||||
|
|
||||||
jmp dos_EXIT_CLC
|
|
||||||
|
|
||||||
unit_fd_cmd_OPEN_dir:
|
unit_fd_cmd_OPEN_dir:
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user