Login
Back to forumSee the full topicGo to last reply

Posted By

Csabo
on 2018-05-31
10:38:55
 Re: Textro as a genre

Hmm, I'm not sure why one would resurrect this 11 year-old thread... happy But doesn't matter.

So, setting $FF14 to above $80 will see the RAM/ROM depending on $FF3E/$FF3F. That sound kinda weird/redundant, so let me try to clarify. STA$FF3E means RAM is mapped from $8000. STA$FF3F means ROM is mapped from $8000. While you're running BASIC... You will need the ROM, since the BASIC is *in* the ROM. The interpreter itself will sometimes page in the RAM, when it needs to access it. (This is why you're seeing that "flashing" when you run the program, that's the interpreter paging RAM/ROM.)

In other words, "out of the box" this is not possible from BASIC.

I could suggest two approaches:
1) Just go with assembly, should be simple enough from what you're describing.
2) You could perhaps copy the ROM to RAM, and change some code, to allow BASIC to run while RAM is mapped all the time. (I think there are some programs that do this, for example the kind of stuff that changes BASIC error messages to another language, etc.) But that defeats the purpose, since you won't be able to store image data above $8000.

Hope this helps, let me know if you need more clarification.



Back to top


Copyright © Plus/4 World Team, 2001-2024