initial work towards reading SD card directory
This commit is contained in:
1 parent
67e9be4372
commit
906ec22834
3 files changed
+41
-2
No files matched your search
@@ -6,7 +6,7 @@
|
||||
|
||||
dev_sd_init:
|
||||
|
||||
; Copy status string
|
||||
; Copy initial status string
|
||||
|
||||
ldx #$00
|
||||
stx SD_STATUS_IDX
|
||||
@@ -23,6 +23,16 @@ dev_sd_init:
|
||||
sta SD_STATUS_STR,x
|
||||
bne @1
|
||||
|
||||
; Close all the files in the hypervisor, go to root directory
|
||||
|
||||
lda #$22 ; dos_closeall
|
||||
sta HTRAP00
|
||||
+nop
|
||||
|
||||
lda #$36 ; dos_cdrootdir
|
||||
sta HTRAP00
|
||||
+nop
|
||||
|
||||
; End of initialization
|
||||
|
||||
rts
|
||||
Reference in new issue
Block a user