AppleWin/source/NTSC.h
2014-12-31 14:53:55 -08:00

31 lines
1.1 KiB
C

#define VIDEO_SCANNER_6502_CYCLES 17030
// Globals (Public)
extern uint16_t g_nVideoClockVert;
extern uint16_t g_nVideoClockHorz;
extern uint8_t* g_NTSC_pLines[384];
extern void (* g_pNTSC_FuncVideoUpdate)(long);
// Prototypes (Public) ________________________________________________
extern void NTSC_SetVideoTextMode( int cols );
extern void NTSC_SetVideoMode( int flags );
extern void NTSC_SetVideoStyle();
extern void NTSC_UpdateVideoText40 (long cycles);
extern void NTSC_UpdateVideoText80 (long cyckes);
extern void NTSC_UpdateVideoLores40 (long cycles);
extern void NTSC_UpdateVideoDblLores40(long cycles);
extern void NTSC_UpdateVideoDblLores80(long cycles);
extern void NTSC_UpdateVideoHires40 (long cycles);
extern void NTSC_UpdateVideoDblHires40(long cycles);
extern void NTSC_UpdateVideoDblHires80(long cycles);
extern uint8_t NTSC_VideoByte(unsigned long);
extern void NTSC_VideoCreateDIBSection();
extern void NTSC_VideoInit( uint8_t *pFramebuffer );
extern void NTSC_VideoInitAppleType ();
extern int NTSC_VideoIsVbl();
extern void NTSC_VideoUpdateCycles( long cycles );