Skip to content

Commit

Permalink
Merge pull request #218 from eduardocasino/dir-fix
Browse files Browse the repository at this point in the history
Print the right drive in DIR listings
  • Loading branch information
davidgiven authored Jan 19, 2025
2 parents fa490f9 + 3c43d9c commit 824d9ab
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/ccp.S
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,12 @@ zproc entry_DIR
stx file_counter
cmp #$00
zif_eq
jsr bdos_GETDRIVE
ldy userfcb
dey
tya
zif_mi
jsr bdos_GETDRIVE
zendif
clc
adc #'A'
jsr bdos_CONOUT
Expand Down

0 comments on commit 824d9ab

Please sign in to comment.