Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change RAMs on ZX Spectrum 128k
#1
Hi, Boriel

I'm taking part in the BASIC 2023 jam and plan to swap 128k RAM banks with graph data and use the shadow screen

Is there a way I can do it? ZX Basic use RAM0 for a stack and a data heap, can I somehow move them to a lower address WITH BASIC OPERATORS ONLY?
Reply
#2
It looks like you can do it by updating the bank pointed at $c000. The port is described here, and can be set by the out command.

Https://worldofspectrum.org/faq/referenc...erence.htm
Reply
#3
(03-15-2023, 10:03 PM)Ljg701 Wrote: It looks like you can do it by updating the bank pointed at $c000. The port is described here, and can be set by the out command.

Https://worldofspectrum.org/faq/referenc...erence.htm

Yes, I can. But after that I got a program crash.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)