1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-18 00:07:21 +00:00

change reference to $0200FF to $0200xx

This commit is contained in:
Paul Gardner-Stephen 2018-12-29 22:19:51 +10:30 committed by greg-king5
parent 576d64da38
commit 1b46dfe820

View File

@ -75,8 +75,8 @@ _getcpu:
; now try again to load it: If the same, then 45GS02, as $200xx is unchanged ; now try again to load it: If the same, then 45GS02, as $200xx is unchanged
nop ; prefix to tell next instruction to be 32-bit ZP nop ; prefix to tell next instruction to be 32-bit ZP
.byte $b2,regsave ; LDA (regsave),Z .byte $b2,regsave ; LDA (regsave),Z
cmp tmp1 ; does the loaded value match what is in $FF? cmp tmp1 ; does the loaded value match what is in $xx?
bne @Is45GS02 ; $200FF and $FF have different values, so must be a MEGA65 45GS02 bne @Is45GS02 ; $200xx and $xx have different values, so must be a MEGA65 45GS02
@Is4510: @Is4510:
lda #3 ; CPU_4510 constant lda #3 ; CPU_4510 constant
ldx #0 ; load high byte of word ldx #0 ; load high byte of word