uli / basicengine-firmware

BASIC Engine Firmware
78 stars 16 forks source link

SDL version pixel graphics color bug #41

Closed bitartrate closed 4 years ago

bitartrate commented 4 years ago

This affects LINE, CIRCLE, RECT, and PSET commands. The color parameter only outputs a shade of blue no matter what value is given between 0-255. The same bug exists in palette 0 and 1.
However the COLOR and GPRINT work as intended.

bitartrate commented 4 years ago

If you fill the screen with random lines and colors then SAVE PCX the resulting .pcx file does save the colors as can be seen in a paint program.

uli commented 4 years ago

Please check if that fixes the issue.

Also, please open another issue for the SAVE PCX bug, it's unrelated.

bitartrate commented 4 years ago

What works: color, the border and fill color of both CIRCLE and RECT work. LINE and PSET also work as expected.

Minor issue: CIRCLE: if you choose a radius that will draw the circle outside the screen boundary SDL closes BE window. Good Job!

bitartrate commented 4 years ago

I'm sorry the SAVE PCX was informational not a bug report.

uli commented 4 years ago

The crash should be fixed now, so I will close this.