Author Topic: CGA and EGA Dashboard Palettes  (Read 630 times)

KyLiE

  • Otto's Student
  • **
  • Posts: 349
  • Italian Stallion
    • View Profile
CGA and EGA Dashboard Palettes
« on: April 21, 2021, 02:24:38 PM »
Can anyone explain how the alternative CGA and EGA palettes in the dashboard files work?  I'm referring to the !cg0 and !eg0 resources in the STDA*.PVS and STDB*.PVS files.  The Stunts Wiki briefly mentions them, however it doesn't provide any detailed information.

I'm currently working on a custom car and while hardly anyone will be using these graphic modes these days, I would still like to configure them correctly.  Any help on this would be greatly appreciated.  Thanks! :)

Cas

  • Chicane Checker
  • ****
  • Posts: 1518
  • Think different. That's OK... as long as you think
    • View Profile
    • Dimioca Labs
Re: CGA and EGA Dashboard Palettes
« Reply #1 on: April 21, 2021, 09:56:42 PM »
I *think* that these two sections contain a list of 128 or 256 bytes that serve as a translation table. For each material (or colour), a CGA or EGA colour is given (0 to 4 for CGA and 0 to 15 for EGA). This is a hypothesis and I have not tested it. If somebody knows better, please add what you know!
Earth is my country. Science is my religion.