You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey everyone, I love FabGL , I recently got a TTGO and I've been trying around some old games on PC Emulator.
I'm trying to change the default colors in CGA from green, red and brown to cyan, magenta and white.
I noticed this line in code: #define CGA_COLORCONTROLREG_PALETTESEL 0x20 // 0 is Green, red and brown, 1 is Cyan, magenta and white
but I'm not sure how to set the value to 0 or 1.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey everyone, I love FabGL , I recently got a TTGO and I've been trying around some old games on PC Emulator.
I'm trying to change the default colors in CGA from green, red and brown to cyan, magenta and white.
I noticed this line in code:
#define CGA_COLORCONTROLREG_PALETTESEL 0x20 // 0 is Green, red and brown, 1 is Cyan, magenta and white
but I'm not sure how to set the value to 0 or 1.
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions