Merge PR #118: 'PREPATH returns error number'

This commit is contained in:
Bobbi Webber-Manners 2021-10-12 11:12:03 -04:00
parent cb4dacb638
commit 1d216f38f4
3 changed files with 3 additions and 20 deletions

Binary file not shown.

View File

@ -177,7 +177,7 @@ BYTE00XX BEQ BYTE00A ; OSBYTE 0,0 - generate error
RTS ; %000x1xxx host type, 'A'pple
BYTE00A BRK
DB $F7
HELLO ASC 'Applecorn MOS 2021-10-10'
HELLO ASC 'Applecorn MOS 2021-10-12'
DB $00 ; Unify MOS messages

View File

@ -75,7 +75,8 @@ PREPATH LDX MOSFILE ; Length
:EXIT JSR DIGCONV ; Handle initial digits
CLC
RTS
:ERR SEC
:ERR LDA #$40 ; $40=Bad filename
SEC
RTS
* Convert path in PREFIX by removing leaf dir to leave
@ -307,23 +308,5 @@ PREFIX DS 65 ; Buffer for ProDOS prefix