-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathtcc1014graphics.h
71 lines (57 loc) · 2.33 KB
/
tcc1014graphics.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#ifndef __TCC1014GRAPHICS_H__
#define __TCC1014GRAPHICS_H__
/*
Copyright 2015 by Joseph Forgione
This file is part of VCC (Virtual Color Computer).
VCC (Virtual Color Computer) 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 3 of the License, or
(at your option) any later version.
VCC (Virtual Color Computer) 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 VCC (Virtual Color Computer). If not, see <http://www.gnu.org/licenses/>.
*/
void UpdateScreen8 (SystemState *);
void UpdateScreen16 (SystemState *);
void UpdateScreen24 (SystemState *);
void UpdateScreen32 (SystemState *);
void DrawBottomBoarder8(SystemState *);
void DrawBottomBoarder16(SystemState *);
void DrawBottomBoarder24(SystemState *);
void DrawBottomBoarder32(SystemState *);
void DrawTopBoarder8(SystemState *);
void DrawTopBoarder16(SystemState *);
void DrawTopBoarder24(SystemState *);
void DrawTopBoarder32(SystemState *);
void SetGimeVdgOffset (unsigned char );
void SetGimeVdgMode (unsigned char);
void SetGimeVdgMode2 (unsigned char);
void SetVerticalOffsetRegister(unsigned short);
void SetCompatMode(unsigned char);
void SetGimePallet(unsigned char,unsigned char);
void SetGimeVmode(unsigned char);
void SetGimeVres(unsigned char);
void SetGimeHorzOffset(unsigned char);
void SetGimeBoarderColor(unsigned char);
void SetVidMask(unsigned int);
void InvalidateBoarder();
void GimeInit(void);
void GimeReset(void);
void SetVideoBank(unsigned char);
unsigned char SetMonitorType(unsigned char );
void SetBoarderChange (unsigned char);
int GetBytesPerRow(void);
//unsigned char SetArtifacts(unsigned char);
//unsigned char SetColorInvert(unsigned char);
//void Cls(unsigned int);
unsigned char SetScanLines(unsigned char);
void SetBlinkState(unsigned char);
static unsigned char Lpf[4]={192,199,225,225}; // 2 is really undefined but I gotta put something here.
static unsigned char VcenterTable[4]={29,23,12,12};
#define MRGB 1
#define MCMP 0
//void Set8BitPalette(void);
#endif