Added functional Atari directory classification macros for file types from struct dirent contributed by Stefan A. Haubenthal.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5759 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -93,7 +93,7 @@ cioerr: sty __oserror
|
||||
dey
|
||||
dey
|
||||
sta (ptr1),y
|
||||
cpy #9
|
||||
cpy #8
|
||||
bcs @break
|
||||
cmp #' '
|
||||
bne @next
|
||||
@@ -113,6 +113,8 @@ cioerr: sty __oserror
|
||||
bne @done
|
||||
|
||||
@hasext: jsr copychar
|
||||
ldy #13 ; d_type
|
||||
sta (ptr1),y
|
||||
ldy #11
|
||||
jsr copychar
|
||||
ldy #12
|
||||
|
||||
Reference in New Issue
Block a user