Hello
I wrote a program to test the output of PALETTEINDEX and it does not seem to produce the results I expected.
The program draws 400 lines each of which is assigned the colour returned by PALETTEINDEX. So for example line 0 is assigned PALETTEINDEX(0) line 50 is assigned PALETTEINDEX(50). I would expect the output to be a range of smooth colours. However the output is produces the following:
The first 10 to 15 lines are made up of a few bright
colours.
The rest of the lines are black.
I guess I need to setup the palette in some way.
Does anyone know how to get PALETTEINDEX to work correctly?
Thank you
I wrote a program to test the output of PALETTEINDEX and it does not seem to produce the results I expected.
The program draws 400 lines each of which is assigned the colour returned by PALETTEINDEX. So for example line 0 is assigned PALETTEINDEX(0) line 50 is assigned PALETTEINDEX(50). I would expect the output to be a range of smooth colours. However the output is produces the following:
The first 10 to 15 lines are made up of a few bright
colours.
The rest of the lines are black.
I guess I need to setup the palette in some way.
Does anyone know how to get PALETTEINDEX to work correctly?
Thank you