07-18-2016, 01:24 PM

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.

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.