After some discussion on IRC, this seems to need another test case, so I've written one. LOAD the attached .prg with ,8,1. SYS49152 to run it. It assumes the C64 is in its default, power-up state. The top block is what's to be stashed into REU from the SCPU/65816's RAM. The middle block is what ended up in the C64's own RAM when fetching that data back. The bottom block is what ended up in the 65816's RAM in that same area. . The middle region is first filled with $ff before fetching the stashed...
After some discussion on IRC, this seems to need another test case, so I've written one. LOAD the attached .prg with ,8,1. SYS49152 to run it. It assumes the C64 is in its default, power-up state. The top block is what's to be stashed into REU from the SCPU/65816's RAM. The middle block is what ended up in the C64's own RAM when fetching that data back. The bottom block is what ended up in the 65816's RAM in that same area. . The middle region is first filled with $ff before fetching the stashed...
After some discussion on IRC, this seems to need another test case, so I've written one. LOAD the attached .prg with ,8,1. SYS49152 to run it. It assumes the C64 is in its default, power-up state. The top block is what's to be stashed into REU from the SCPU/65816's RAM. The middle block is what ended up in the C64's own RAM when fetching that data back. The bottom block is what ended up in the 65816's RAM in that same area. The middle region is first filled with $ff before fetching the stashed data...
cjam produced these test files that confirm the bug - a red border means failure, green means success. It works on real hardware, fails in xscpu64.
cjam produced these test files that confirm the bug - a red border means failure, green means success. It works (green) on real hardware, fails in xscpu64.
Here's my vice config in case it's needed.
REU behavior is broken/incorrect in xscpu64 -- fetch bug?
14 years later and still no actual stereo output from the User Port version of the DigiMAX... 😕 Meanwhile the Expansion Port DigiMAX does output in proper stereo.