On 11/15/2021 at 9:44 AM, kliepatsch said:
And in R38, r0 is the same as the bank switches in R39, so in R39, Concerto would randomly switch banks
Well, if your program doesn't actually use banked memory, it doesn't really matter which bank is currently in the window. The bank latch still functions as normal memory would, since it's readable.
The Kernal doesn't assume "the correct bank is already there" whenever it runs, so it banks in 0 and then restores whatever bank was there when it started. So if you're outside the kernal, you never see it change because Kernal only does this during an IRQ or direct calls to its functions (which also fix any bank changes they may perform).
@desertfish - this isn't a MOD (digital samples) - this is pure synth.