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" .include "mli.inc"
isdevice: isdevice:
lda $bfff
cmp #$25
lda #$f0
bcc :+
lda #$f3
: sta tmp1
ldy DEVCNT ldy DEVCNT
: lda DEVLST,y : txa
sta tmp1 eor DEVLST,y
cpx tmp1 and tmp1
beq :+ beq :+
dey dey
bpl :- bpl :-

Binary file not shown.