atari.h, atari5200.h: style fixes
This commit is contained in:
parent
3537210674
commit
262631039d
2 changed files with 7 additions and 7 deletions
|
@ -227,7 +227,7 @@ extern unsigned char __fastcall__ _getcolor (unsigned char color_reg);
|
||||||
/* Other screen functions */
|
/* Other screen functions */
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
extern void waitvsync (void); /* Wait for start of next frame */
|
extern void waitvsync (void); /* wait for start of next frame */
|
||||||
extern int __fastcall__ _graphics (unsigned char mode); /* mode value same as in BASIC */
|
extern int __fastcall__ _graphics (unsigned char mode); /* mode value same as in BASIC */
|
||||||
extern void __fastcall__ _scroll (signed char numlines);
|
extern void __fastcall__ _scroll (signed char numlines);
|
||||||
/* numlines > 0 scrolls up */
|
/* numlines > 0 scrolls up */
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Check for errors */
|
/* check for errors */
|
||||||
#if !defined(__ATARI5200__)
|
#if !defined(__ATARI5200__)
|
||||||
# error This module may only be used when compiling for the Atari 5200!
|
# error This module may only be used when compiling for the Atari 5200!
|
||||||
#endif
|
#endif
|
||||||
|
@ -46,14 +46,14 @@
|
||||||
/* the addresses of the static drivers */
|
/* the addresses of the static drivers */
|
||||||
extern void atr5200std_joy[]; /* referred to by joy_static_stddrv[] */
|
extern void atr5200std_joy[]; /* referred to by joy_static_stddrv[] */
|
||||||
|
|
||||||
/* Masks for joy_read */
|
/* masks for joy_read */
|
||||||
#define JOY_UP_MASK 0x01
|
#define JOY_UP_MASK 0x01
|
||||||
#define JOY_DOWN_MASK 0x02
|
#define JOY_DOWN_MASK 0x02
|
||||||
#define JOY_LEFT_MASK 0x04
|
#define JOY_LEFT_MASK 0x04
|
||||||
#define JOY_RIGHT_MASK 0x08
|
#define JOY_RIGHT_MASK 0x08
|
||||||
#define JOY_BTN_1_MASK 0x10
|
#define JOY_BTN_1_MASK 0x10
|
||||||
|
|
||||||
/* Character codes */
|
/* character codes */
|
||||||
#define CH_ULCORNER 0x0B /* '+' sign */
|
#define CH_ULCORNER 0x0B /* '+' sign */
|
||||||
#define CH_URCORNER 0x0B
|
#define CH_URCORNER 0x0B
|
||||||
#define CH_LLCORNER 0x0B
|
#define CH_LLCORNER 0x0B
|
||||||
|
@ -65,7 +65,7 @@ extern void atr5200std_joy[]; /* referred to by joy_static_stddrv[] */
|
||||||
#define AT_NTSC 0
|
#define AT_NTSC 0
|
||||||
#define AT_PAL 1
|
#define AT_PAL 1
|
||||||
|
|
||||||
/* Define hardware */
|
/* define hardware */
|
||||||
#include <_gtia.h>
|
#include <_gtia.h>
|
||||||
#define GTIA_READ (*(struct __gtia_read*)0xC000)
|
#define GTIA_READ (*(struct __gtia_read*)0xC000)
|
||||||
#define GTIA_WRITE (*(struct __gtia_write*)0xC000)
|
#define GTIA_WRITE (*(struct __gtia_write*)0xC000)
|
||||||
|
@ -89,8 +89,8 @@ extern void atr5200std_joy[]; /* referred to by joy_static_stddrv[] */
|
||||||
*/
|
*/
|
||||||
#define _bordercolor(color) 0
|
#define _bordercolor(color) 0
|
||||||
|
|
||||||
|
/* wait for start of next frame */
|
||||||
extern void waitvsync (void);
|
extern void waitvsync (void);
|
||||||
/* Wait for start of next frame */
|
|
||||||
|
|
||||||
/* End of atari5200.h */
|
/* end of atari5200.h */
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue