gslib icon indicating copy to clipboard operation
gslib copied to clipboard

Possible bug In shrhello

Open bruno185 opened this issue 1 year ago • 0 comments

There may be a bug in the shrhello program, for lines 15 to 20. After some tests, I noticed that you can change the colors of the palette, i.e. change the values assigned in lines 15 and 18, but this does not change the displayed colors. The solution I found is : either to put "jsr GraphicsOn" BEFORE line 15 or to linearize the memory before; example : sep $30 ldal $00C029 ora #%01000000 ; if bit 6 of $00C029 is on : linearize memory stal $00C029 rep $30

I prefer solution 2, which allows to switch to SRH once the palettes have been set. Thank you very much for your contribution, and the clarity of your programs.

bruno185 avatar May 20 '23 14:05 bruno185