fixed filtering by file type
This commit is contained in:
1 parent
d91e8365b6
commit
384d5a4fb2
1 file changed
+5
-3
@@ -50,9 +50,9 @@ util_dir_filter:
|
|||||||
beq @done
|
beq @done
|
||||||
lda PAR_FPATTERN, y
|
lda PAR_FPATTERN, y
|
||||||
|
|
||||||
; XXXthe comparisons below do not work; investigate, why
|
sta $1000
|
||||||
|
|
||||||
cmp #$44 ; if 'D' - require a directory XXX document this
|
cmp #$44 ; if 'D' - require a directory XXX documment this extension
|
||||||
beq @require_dir
|
beq @require_dir
|
||||||
cmp #$50 ; if 'P' - require PRG file
|
cmp #$50 ; if 'P' - require PRG file
|
||||||
beq @require_prg
|
beq @require_prg
|
||||||
@@ -87,5 +87,7 @@ util_dir_filter:
|
|||||||
|
|
||||||
lda #$05
|
lda #$05
|
||||||
|
|
||||||
cmp PAR_FTYPE
|
eor PAR_FTYPE
|
||||||
|
and #%00111111
|
||||||
|
|
||||||
rts
|
rts
|
||||||
Reference in new issue
Block a user