file loading from floppy image should be complete, but not yet tested

This commit is contained in:
FeralChild64 committed 2021-03-16 21:46:00 +01:00
1 parent 0011b3eacf
commit 9eb00c675d
2 files changed
+107 -11

No files matched your search

@@ -49,7 +49,14 @@ fs_cbm_nextdirentry:
; XXX most likely copying is not necessary (compare all CBM and CMD filesystems) -
; XXX just make the hypervisor file system emulate these structures
ldy #$02 ; start from determining file type
ldy #$00 ; start from getting track and sector of file beginning
jsr code_LDA_nnnn_Y
sta FD_LOADTRACK
iny
jsr code_LDA_nnnn_Y
sta FD_LOADSECTOR
iny ; determining file type
jsr code_LDA_nnnn_Y
beq fs_cbm_nextdirentry ; ignore deleted files (but allow DEL files in some cases)