2014-12-31 22:53:55 +00:00
|
|
|
// Globals (Public)
|
|
|
|
extern uint16_t g_nVideoClockVert;
|
|
|
|
extern uint16_t g_nVideoClockHorz;
|
2015-01-08 20:05:23 +00:00
|
|
|
extern uint32_t g_nChromaSize;
|
2014-12-31 22:53:55 +00:00
|
|
|
|
|
|
|
// Prototypes (Public) ________________________________________________
|
2019-06-15 17:15:00 +00:00
|
|
|
extern void NTSC_SetVideoMode( uint32_t uVideoModeFlags, bool bDelay=false );
|
2015-01-04 02:28:47 +00:00
|
|
|
extern void NTSC_SetVideoStyle();
|
|
|
|
extern void NTSC_SetVideoTextMode( int cols );
|
2015-01-08 20:05:23 +00:00
|
|
|
extern uint32_t*NTSC_VideoGetChromaTable( bool bHueTypeMonochrome, bool bMonitorTypeColorTV );
|
2018-02-02 20:19:48 +00:00
|
|
|
extern void NTSC_VideoClockResync( const DWORD dwCyclesThisFrame );
|
|
|
|
extern uint16_t NTSC_VideoGetScannerAddress( const ULONG uExecutedCycles );
|
2019-09-21 15:37:45 +00:00
|
|
|
extern uint16_t NTSC_VideoGetScannerAddressForDebugger(void);
|
2015-01-04 02:28:47 +00:00
|
|
|
extern void NTSC_VideoInit( uint8_t *pFramebuffer );
|
2019-03-16 14:27:40 +00:00
|
|
|
extern void NTSC_VideoReinitialize( DWORD cyclesThisFrame, bool bInitVideoScannerAddress );
|
2016-04-05 21:17:29 +00:00
|
|
|
extern void NTSC_VideoInitAppleType();
|
2015-01-08 20:05:23 +00:00
|
|
|
extern void NTSC_VideoInitChroma();
|
2019-06-28 20:34:34 +00:00
|
|
|
extern void NTSC_VideoUpdateCycles( UINT cycles6502 );
|
2016-09-25 09:42:14 +00:00
|
|
|
extern void NTSC_VideoRedrawWholeScreen( void );
|
2019-06-28 20:34:34 +00:00
|
|
|
|
|
|
|
enum VideoRefreshRate_e;
|
|
|
|
void NTSC_SetRefreshRate(VideoRefreshRate_e rate);
|
|
|
|
UINT NTSC_GetCyclesPerFrame(void);
|
2019-09-22 15:53:38 +00:00
|
|
|
UINT NTSC_GetCyclesPerLine(void);
|
2019-09-21 15:37:45 +00:00
|
|
|
UINT NTSC_GetVideoLines(void);
|
|
|
|
bool NTSC_IsVisible(void);
|