mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-12-23 00:30:17 +00:00
3aa5750dcf
. class hierarchy: WinVideo IS_A Video (ie. WinVideo is a subclass of Video) . GetVideo() singleton instance of WinVideo in AppleWin.cpp, exposed via Interface.h
31 lines
1.3 KiB
C
31 lines
1.3 KiB
C
#pragma once
|
|
|
|
// Globals (Public)
|
|
extern uint16_t g_nVideoClockVert;
|
|
extern uint16_t g_nVideoClockHorz;
|
|
extern uint32_t g_nChromaSize;
|
|
|
|
// Prototypes (Public) ________________________________________________
|
|
extern void NTSC_SetVideoMode( uint32_t uVideoModeFlags, bool bDelay=false );
|
|
extern void NTSC_SetVideoStyle();
|
|
extern void NTSC_SetVideoTextMode( int cols );
|
|
extern uint32_t*NTSC_VideoGetChromaTable( bool bHueTypeMonochrome, bool bMonitorTypeColorTV );
|
|
extern void NTSC_VideoClockResync( const DWORD dwCyclesThisFrame );
|
|
extern uint16_t NTSC_VideoGetScannerAddress( const ULONG uExecutedCycles );
|
|
extern uint16_t NTSC_VideoGetScannerAddressForDebugger(void);
|
|
extern void NTSC_Destroy(void);
|
|
extern void NTSC_VideoInit( uint8_t *pFramebuffer );
|
|
extern void NTSC_VideoReinitialize( DWORD cyclesThisFrame, bool bInitVideoScannerAddress );
|
|
extern void NTSC_VideoInitAppleType();
|
|
extern void NTSC_VideoInitChroma();
|
|
extern void NTSC_VideoUpdateCycles( UINT cycles6502 );
|
|
extern void NTSC_VideoRedrawWholeScreen( void );
|
|
|
|
enum VideoRefreshRate_e;
|
|
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_IsVisible(void);
|