*DIR error handling 'Bad dir'.

This commit is contained in:
Bobbi Webber-Manners 2021-08-24 13:42:08 -04:00
parent 76eb70bbe9
commit ab8ba0c274
3 changed files with 7 additions and 3 deletions

Binary file not shown.

View File

@ -481,5 +481,11 @@ STARDIR JSR EATSPC ; Eat leading spaces
>>> XF2MAIN,SETPFX
STARDIRRET
>>> ENTAUX
RTS
CMP #$00
BEQ :EXIT
BRK
DB $CE ; Bad directory
ASC 'Bad dir'
BRK
:EXIT RTS

View File

@ -762,8 +762,6 @@ SETPFX >>> ENTMAIN
JSR MLI
DB SPFXCMD
DW SPFXPL
BCC :S1
JSR BELL ; Beep on error
:S1 >>> XF2AUX,STARDIRRET
* Create disk file