Posted By
Mad on 2017-03-11 06:31:49
| Re: Commodore Server .com -- Porting C64 code to Plus/4 code (V-1541)
Yes, i think that should work with the sta $ff3f before. However many of the zeropage registers are just required by the rom routines. I am a little curious if it'll work without rom!
If you enable the ram, you must have a propper irq vector in (now ram ) $fffe/$ffff. Or disable interrupts via SEI before. I think it would be good to put there some interruptvector pointing to a routine which enables rom. Perhaps it's a good idea to look at the code pointed to by the rom address $fffe/$ffff.
If you need interrupts and thus can't do a complete SEI, i will try to help.
|