mirror of
https://github.com/bobbimanners/Applecorn.git
synced 2024-06-26 06:29:31 +00:00
OSFIND: no wildcards when mode is "w" (OPENOUT)
This commit is contained in:
parent
d6cd06b0b6
commit
21aeb99a70
BIN
applecorn.po
BIN
applecorn.po
Binary file not shown.
|
@ -91,8 +91,12 @@ RENFILE >>> ENTMAIN
|
|||
OFILE >>> ENTMAIN
|
||||
PHA ; Preserve arg for later
|
||||
JSR PREPATH ; Preprocess pathname
|
||||
PLA
|
||||
PHA
|
||||
CMP #$80 ; Is it "w"?
|
||||
BEQ :S1 ; If so, no wildcards
|
||||
JSR WILDONE ; Handle any wildcards
|
||||
JSR EXISTS ; See if file exists ...
|
||||
:S1 JSR EXISTS ; See if file exists ...
|
||||
CMP #$02 ; ... and is a directory
|
||||
BNE :NOTDIR
|
||||
JMP :NOTFND ; Bail out if directory
|
||||
|
|
Loading…
Reference in New Issue
Block a user