Page 1 of 1

This is driving me nuts

Posted: Thu Mar 16, 2023 7:25 am
by Ed Minchau
So I've been wrestling with trying to get my r41 code to work in r42, and not having much success. Some of it may be due to changes to the file system, in particular having to add @: before a filename that needs to be overwritten, but there's some other changes that I can't find documented anywhere.

For instance, are banks 40-FF no longer treated as foldback space in a 512k system? It looks like unavailable banks are now all reading C0 for all bytes. Before, writing to bank FF would write to bank 3F if only 512k was available. My META/L editor relies heavily on this, treating the JSRFAR calls as if the code was in banks F0-FF; this would fold back into banks 30-3F if that was all that was available. If these upper banks are no longer foldback space, how can I change the emulator to give 2MB of banked RAM? I'd hate to have to rewrite the entire editor.

Re: This is driving me nuts

Posted: Thu Mar 16, 2023 7:39 am
by JimmyDansbo
The emulator has been made to work more like real hardware which means that there is no foldback space anymore.
To enable 2MB of RAM in the emulator, start it with -ram 2048

Re: This is driving me nuts

Posted: Thu Mar 16, 2023 6:35 pm
by Ed Minchau
Well, that certainly helped, I've got the editor working again. Pity about no foldback; I thought that's what the jumpers were for. Anyhow, now I can dig in and figure out the other breaking changes.