Added latest AppleWin NTSC wsvideo

This commit is contained in:
Michaelangel007 2014-12-28 08:53:39 -08:00
parent 29b090cb6b
commit b3eaecdcd0
2 changed files with 1125 additions and 0 deletions

1070
src/wsvideo.cpp Normal file

File diff suppressed because it is too large Load Diff

55
src/wsvideo.h Normal file
View File

@ -0,0 +1,55 @@
/*
AppleWin : An Apple //e emulator for Windows
Copyright (C) 2010-2011, William S Simms
AppleWin is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
AppleWin is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with AppleWin; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef WS_VIDEO
#define WS_VIDEO
#define VIDEO_SCANNER_6502_CYCLES 17030
extern unsigned char * wsLines[384];
extern int wsTextPage;
extern int wsHiresPage;
extern int wsVideoMixed;
extern int wsVideoCharSet;
void wsVideoInit();
void wsVideoInitModel(int);
void wsUpdateVideoText40(long);
void wsUpdateVideoText80(long);
void wsUpdateVideoLores(long);
void wsUpdateVideo7MLores(long);
void wsUpdateVideoDblLores(long);
void wsUpdateVideoHires(long);
void wsUpdateVideoHires0(long);
void wsUpdateVideoDblHires(long);
extern void (* g_pFuncVideoText )(long); //wsVideoText)(long);
extern void (* g_pFuncVideoUpdate)(long); // wsVideoUpdate)(long);
extern unsigned char wsVideoByte(unsigned long);
extern void wsVideoRefresh();
extern int wsVideoIsVbl();
extern void wsVideoStyle(int,int);
#endif // #ifndef WS_VIDEO