loading files from SD card works now

This commit is contained in:
FeralChild64 committed 2021-02-28 17:10:06 +01:00
1 parent 2958ec6d3a
commit a4af1042ea
1 file changed
+3 -1
+3 -1
View File
@@ -131,7 +131,9 @@ fs_hvsr_read_file:
!byte $00 ; operation: COPY
!word $0200 ; data size if 512 bytes
!byte $00, $6E, $0D ; src. addr is $xxD6E00
!byte <SD_FILEBUF, >SD_FILEBUF - $80, $01 ; dst. addr is $xx1xxxx (internal buffer)
!byte <(SD_FILEBUF - $8000)
!byte >(SD_FILEBUF - $8000)
!byte $01 ; dst. addr is $xx1xxxx (internal buffer)
fs_hvsr_file_not_found: