Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Radastan Mode
#2
Depends on what you need:

Activating the mode radastan mode needs exactly the same you need with Sinclair Basic, these two OUTs if you are using the latest core version:

OUT 64571,64
OUT 64827,3

Changing palette is also the same, if you are using ULAPlus:

OUT 48955, 64: OUT 65339, 1

and then

OUT 48955, n: OUT 65339, x

per each color from 0 to 15, where n is the color number and x is the GGGRRRBB value.

But if you need using BASIC drawing functions as PLOT, DRAW, CIRCLE, then they won't work at all. Also INK won't work.

I don't think it would be too difficult to build a PLOT primitive with inline assembler, but I'm not sure if such functions make any sense in radastan mode, which is basically made for games, so you will be using sprites rather than lines and circles.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)