diff --git a/cc65-dio-fix/isdevice.s b/cc65-dio-fix/isdevice.s index 97c7a83..b612024 100644 --- a/cc65-dio-fix/isdevice.s +++ b/cc65-dio-fix/isdevice.s @@ -8,10 +8,16 @@ .include "mli.inc" isdevice: + lda $bfff + cmp #$25 + lda #$f0 + bcc :+ + lda #$f3 +: sta tmp1 ldy DEVCNT -: lda DEVLST,y - sta tmp1 - cpx tmp1 +: txa + eor DEVLST,y + and tmp1 beq :+ dey bpl :- diff --git a/sortdir.po b/sortdir.po index f110308..8459c00 100644 Binary files a/sortdir.po and b/sortdir.po differ