mirror of
https://github.com/bobbimanners/Applecorn.git
synced 2025-01-17 22:33:46 +00:00
Fixed return code bug in LOADFILE.
This commit is contained in:
parent
ca72fec379
commit
76eb70bbe9
BIN
applecorn.po
BIN
applecorn.po
Binary file not shown.
@ -489,6 +489,7 @@ LOADFILE >>> ENTMAIN
|
||||
PHA
|
||||
BRA :EXIT
|
||||
:READERR LDA #$02 ; Read error
|
||||
PHA
|
||||
BRA :EOF2
|
||||
:EOF LDA #$00 ; Success
|
||||
:EOF2 LDA OPENPL+5 ; File ref num
|
||||
@ -496,6 +497,7 @@ LOADFILE >>> ENTMAIN
|
||||
JSR CLSFILE
|
||||
:EXIT JSR UPDFB ; Update FILEBLK
|
||||
JSR COPYFB ; Copy FILEBLK to auxmem
|
||||
PLA ; Get return code back
|
||||
>>> XF2AUX,OSFILERET
|
||||
:BLOCKS DB $00
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user