atari5200: implement bgcolor() and textcolor()

Includes some other small fixes/cleanups.
This commit is contained in:
Christian Groessler
2019-04-02 21:11:11 +02:00
committed by Oliver Schmidt
parent edd596b2a4
commit ec5e38617a
18 changed files with 261 additions and 26 deletions

View File

@@ -491,7 +491,7 @@ extern void atrx15p2_tgi[];
#define PxCTL_IRQ_STATUS 0x80
/* The following #defines will cause the matching functions calls in conio.h
/* The following #define will cause the matching function calls in conio.h
** to be overlaid by macros with the same names, saving the function call
** overhead.
*/

View File

@@ -53,6 +53,14 @@ extern void atr5200std_joy[]; /* referred to by joy_static_stddrv[] */
#define JOY_RIGHT_MASK 0x08
#define JOY_BTN_1_MASK 0x10
/* Character codes */
#define CH_ULCORNER 0x0B /* '+' sign */
#define CH_URCORNER 0x0B
#define CH_LLCORNER 0x0B
#define CH_LRCORNER 0x0B
#define CH_HLINE 0x0D /* dash */
#define CH_VLINE 0x01 /* exclamation mark */
/* get_tv return values */
#define AT_NTSC 0
#define AT_PAL 1
@@ -69,5 +77,11 @@ extern void atr5200std_joy[]; /* referred to by joy_static_stddrv[] */
#include <_antic.h>
#define ANTIC (*(struct __antic*)0xD400)
/* The following #define will cause the matching function calls in conio.h
** to be overlaid by macros with the same names, saving the function call
** overhead.
*/
#define _bordercolor(color) 0
/* End of atari5200.h */
#endif