TRSE icon indicating copy to clipboard operation
TRSE copied to clipboard

jmp ($xxFF) bug ?

Open tebe6502 opened this issue 4 years ago • 2 comments

How do you prevent an error for 'JMP ($xxFF)'?

tutorials\C64\Tutorials\advanced\07_real_3d -> #jmp (Gfx_p_putpixel)

http://forum.6502.org/viewtopic.php?f=2&t=4220&start=60#p46986

tebe6502 avatar Jan 17 '22 21:01 tebe6502

hmm interesting - I don't have any problems in VICE, but haven't tested on real hardware.. does it fail there?

I wasn't aware of this bug, nice one! From the symbol list, putpixel1 and 2 are located in $ef9 and $F18, none of which end with $FF. What issues are you experiencing?

leuat avatar Jan 19 '22 09:01 leuat

p = $20ff lda #<proc sta p lda #>proc sta p+1

jmp (p) -> Buggy indirect jump

i see, you alloc pointers only on "zero page" with limit, probably this is explanation

tebe6502 avatar Jan 19 '22 10:01 tebe6502