Fix to cc65 isdevice call (thanks to John Brooks!)

This commit is contained in:
Bobbi Webber-Manners 2020-06-02 21:54:38 -04:00
parent afe7fedd58
commit b98a9ede66
2 changed files with 9 additions and 3 deletions

View File

@ -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 :-

Binary file not shown.