Skip DAs with high bit set. Fixes #102

This commit is contained in:
Joshua Bell 2019-01-02 10:46:03 -08:00
parent 50a755afde
commit 8ecea72c84
2 changed files with 5 additions and 2 deletions

View File

@ -11,6 +11,7 @@
* Show Text File DA: Keyboard support. Escape quits, arrows scroll. (#4)
* Reorganized/renamed several menu items. (#13)
* Icon bitmap improvements. (#74)
* DAs with high bit in aux-type set are skipped. (#102)
### Additional Desk Accessories

View File

@ -15434,8 +15434,10 @@ process_block:
ldy #FileEntry::file_type
lda (dir_ptr),y
cmp #DA_FILE_TYPE
beq is_da
jmp next_entry
bne next_entry
ldy #FileEntry::aux_type+1 ; high bit set = skip
lda (dir_ptr),y
bmi next_entry
;; Compute slot in DA name table
is_da: inc desk_acc_num