Search found 2 matches

by ChristopherJam
Mon Jul 03, 2023 2:25 pm
Forum: General Discussions
Topic: A truly self-modifying JSR
Replies: 18
Views: 14235

Re: A truly self-modifying JSR

No worries.

If anyone's interested, here's the variant groepaz (once of the VICE maintainers) used to test with VICE's c64 emulator (I just went back and looked at old source tgzs after that to see when the pertinent emu code turned up). Formatted for ACME.

; 10 DIM code 99:P%=code
; 20 [ SEI:TSX ...
by ChristopherJam
Sun Jul 02, 2023 7:49 am
Forum: General Discussions
Topic: A truly self-modifying JSR
Replies: 18
Views: 14235

Re: A truly self-modifying JSR

FWIW, this was apparently fixed in VICE (the C64, C128, VIC20, PET and CBM-II emulator) some time in 2002. The memory access order for JSR is incorrect in VICE version 1.9, but correct in 1.10.

Very cool test case mind, I might have to do some code that relies on that at some point.

(Also, on my ...