mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-01-15 02:30:11 +00:00
16b2cf329e
Add new command line switch: -aux <empty|std80|ext80|rw3> Add 6502/65C02 x normal/debugger alt read support for CPU emulation (#1353). Fix bug in MemReadFloatingBus() reading from mem[] - no good, if MF_AUXREAD is set. Support odd 80-col text video mode when aux slot is empty: . add a new videoMode flag for VF_80COL_AUX_EMPTY. Correctly support 80COL & DHIRES soft-switches when aux slot is empty or with std80 card. Support VidHD's SHR with -aux <empty|std80>. Save-state: support aux slot empty or with std80 card.
33 lines
1.3 KiB
C
33 lines
1.3 KiB
C
#pragma once
|
|
|
|
#include "Video.h" // NB. needed by GCC (for fwd enum declaration)
|
|
|
|
// Globals (Public)
|
|
extern uint32_t g_nChromaSize;
|
|
|
|
// Prototypes (Public) ________________________________________________
|
|
void NTSC_SetVideoMode(uint32_t uVideoModeFlags, bool bDelay=false);
|
|
void NTSC_SetVideoStyle(void);
|
|
void NTSC_SetVideoTextMode(int cols);
|
|
uint32_t* NTSC_VideoGetChromaTable(bool bHueTypeMonochrome, bool bMonitorTypeColorTV);
|
|
void NTSC_VideoClockResync(const uint32_t dwCyclesThisFrame);
|
|
uint16_t NTSC_VideoGetScannerAddress(const ULONG uExecutedCycles, const bool fullSpeed);
|
|
void NTSC_GetVideoVertHorzForDebugger(uint16_t& vert, uint16_t& horz);
|
|
uint16_t NTSC_GetVideoVertForDebugger(void);
|
|
void NTSC_Destroy(void);
|
|
void NTSC_VideoInit(uint8_t *pFramebuffer);
|
|
void NTSC_VideoReinitialize(uint32_t cyclesThisFrame, bool bInitVideoScannerAddress);
|
|
void NTSC_VideoInitAppleType(void);
|
|
void NTSC_VideoInitChroma(void);
|
|
void NTSC_VideoUpdateCycles(UINT cycles6502);
|
|
void NTSC_VideoRedrawWholeScreen(void);
|
|
|
|
void NTSC_SetRefreshRate(VideoRefreshRate_e rate);
|
|
UINT NTSC_GetCyclesPerFrame(void);
|
|
UINT NTSC_GetCyclesPerLine(void);
|
|
UINT NTSC_GetVideoLines(void);
|
|
UINT NTSC_GetCyclesUntilVBlank(int cycles);
|
|
bool NTSC_GetVblBar(void);
|
|
bool NTSC_IsVisible(void);
|
|
uint16_t NTSC_GetScannerAddressAndData(uint32_t& data, int& dataSize);
|