1 /*****************************************************************************/
5 /* Creativision system specific definitions */
10 /* (C) 2017 Christian Groessler <chris@groessler.org> */
13 /* This software is provided 'as-is', without any expressed or implied */
14 /* warranty. In no event will the authors be held liable for any damages */
15 /* arising from the use of this software. */
17 /* Permission is granted to anyone to use this software for any purpose, */
18 /* including commercial applications, and to alter it and redistribute it */
19 /* freely, subject to the following restrictions: */
21 /* 1. The origin of this software must not be misrepresented; you must not */
22 /* claim that you wrote the original software. If you use this software */
23 /* in a product, an acknowledgment in the product documentation would be */
24 /* appreciated but is not required. */
25 /* 2. Altered source versions must be plainly marked as such, and must not */
26 /* be misrepresented as being the original software. */
27 /* 3. This notice may not be removed or altered from any source */
30 /*****************************************************************************/
38 #define CH_ULCORNER 35
39 #define CH_URCORNER 36
40 #define CH_LLCORNER 37
41 #define CH_LRCORNER 38
43 /* no support for dynamically loadable drivers */
46 /* Colours - from TMS9918 */
47 #define C_TRANSPARENT 0
50 #define C_LIGHT_GREEN 3
52 #define C_LIGHT_BLUE 5
57 #define C_DARK_YELLOW 10
58 #define C_LIGHT_YELLOW 11
59 #define C_DARK_GREEN 12
65 void __fastcall__ psg_outb(unsigned char b);
66 void __fastcall__ psg_delay(unsigned char b);
67 void psg_silence(void);
68 void __fastcall__ bios_playsound(void *a, unsigned char b);
70 #endif /* #ifndef _CVISION_H */