mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-12-23 00:30:17 +00:00
dad590b8c1
Updates for DHGR MIX (#633): . Support new switch -rgb-card-invert-bit7 to invert bit7 for Dragon Wars. - Reverted DHGR MIX mode and AN2 off to invert bit7
22 lines
933 B
C
22 lines
933 B
C
void UpdateHiResCell(int x, int y, uint16_t addr, bgra_t *pVideoAddress);
|
|
void UpdateDHiResCell (int x, int y, uint16_t addr, bgra_t *pVideoAddress, bool updateAux, bool updateMain);
|
|
int UpdateDHiRes160Cell (int x, int y, uint16_t addr, bgra_t *pVideoAddress);
|
|
void UpdateLoResCell(int x, int y, uint16_t addr, bgra_t *pVideoAddress);
|
|
void UpdateDLoResCell(int x, int y, uint16_t addr, bgra_t *pVideoAddress);
|
|
|
|
const UINT kNumBaseColors = 16;
|
|
typedef bgra_t (*baseColors_t)[kNumBaseColors];
|
|
void VideoInitializeOriginal(baseColors_t pBaseNtscColors);
|
|
|
|
void RGB_SetVideoMode(WORD address);
|
|
bool RGB_Is140Mode(void);
|
|
bool RGB_Is160Mode(void);
|
|
bool RGB_IsMixMode(void);
|
|
bool RGB_Is560Mode(void);
|
|
bool RGB_IsMixModeInvertBit7(void);
|
|
void RGB_ResetState(void);
|
|
void RGB_SetInvertBit7(bool state);
|
|
|
|
void RGB_SaveSnapshot(class YamlSaveHelper& yamlSaveHelper);
|
|
void RGB_LoadSnapshot(class YamlLoadHelper& yamlLoadHelper, UINT cardVersion);
|