Posted By
siz on 2020-07-22 04:29:56
| Re: Reset switch disabling
It will. Back in the day I did this (I can't remember why). The steps required: - copy BASIC and KERNAL ROMs to RAM - change all $ff3e writes in the copied version to $ff3f writes - change RAM size detection to always detect 32k - switch off ROM - reset It worked like a charm and you could change "ROM" code realtime.
edit: changing $ff3e writes and resetting will recopy all RAM access routines to their proper location thus they will not re-enable ROMs. And this is (of course?) reset proof. edit2: and if you want to copy protect you BASIC program you should change RESET vector to some of your own - perhaps somewhere in BASIC interpreter. But that could be really hard to catch the proper entry point. Most probably I would do some initialization (that KERNAL does by itself) and then jump to the entry point of RUN command.
|