mirror of
https://github.com/cc65/cc65.git
synced 2025-01-28 00:30:12 +00:00
Introduced Apple GEOS specific screen size constants.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5567 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
32f4a8d414
commit
204aba1577
@ -94,8 +94,13 @@ void __fastcall__ GraphicsString(char *myGfxString);
|
|||||||
#define VIC_X_POS_OFF 24
|
#define VIC_X_POS_OFF 24
|
||||||
#define VIC_Y_POS_OFF 50
|
#define VIC_Y_POS_OFF 50
|
||||||
#define SC_BYTE_WIDTH 40
|
#define SC_BYTE_WIDTH 40
|
||||||
|
#ifdef __GEOS_CBM__
|
||||||
#define SC_PIX_HEIGHT 200
|
#define SC_PIX_HEIGHT 200
|
||||||
#define SC_PIX_WIDTH 320
|
#define SC_PIX_WIDTH 320
|
||||||
|
#else
|
||||||
|
#define SC_PIX_HEIGHT 192
|
||||||
|
#define SC_PIX_WIDTH 560
|
||||||
|
#endif
|
||||||
#define SC_SIZE 8000
|
#define SC_SIZE 8000
|
||||||
/* VDC screen constants */
|
/* VDC screen constants */
|
||||||
#define SCREENBYTEWIDTH 80
|
#define SCREENBYTEWIDTH 80
|
||||||
|
@ -91,8 +91,13 @@ GRBANK3 = %00
|
|||||||
VIC_X_POS_OFF = 24
|
VIC_X_POS_OFF = 24
|
||||||
VIC_Y_POS_OFF = 50
|
VIC_Y_POS_OFF = 50
|
||||||
SC_BYTE_WIDTH = 40
|
SC_BYTE_WIDTH = 40
|
||||||
|
.ifdef __GEOS_CBM__
|
||||||
SC_PIX_HEIGHT = 200
|
SC_PIX_HEIGHT = 200
|
||||||
SC_PIX_WIDTH = 320
|
SC_PIX_WIDTH = 320
|
||||||
|
.else
|
||||||
|
SC_PIX_HEIGHT = 192
|
||||||
|
SC_PIX_WIDTH = 560
|
||||||
|
.endif
|
||||||
SC_SIZE = 8000
|
SC_SIZE = 8000
|
||||||
;128 screen size constants
|
;128 screen size constants
|
||||||
SCREENBYTEWIDTH = 80
|
SCREENBYTEWIDTH = 80
|
||||||
|
Loading…
x
Reference in New Issue
Block a user