From 204aba15770ac6c3ddbd739d17a56135176e873d Mon Sep 17 00:00:00 2001 From: "ol.sc" Date: Mon, 27 Feb 2012 22:00:26 +0000 Subject: [PATCH] Introduced Apple GEOS specific screen size constants. git-svn-id: svn://svn.cc65.org/cc65/trunk@5567 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- include/geos/ggraph.h | 5 +++++ libsrc/geos-common/const.inc | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/include/geos/ggraph.h b/include/geos/ggraph.h index 6eea1dff9..2e102a162 100644 --- a/include/geos/ggraph.h +++ b/include/geos/ggraph.h @@ -94,8 +94,13 @@ void __fastcall__ GraphicsString(char *myGfxString); #define VIC_X_POS_OFF 24 #define VIC_Y_POS_OFF 50 #define SC_BYTE_WIDTH 40 +#ifdef __GEOS_CBM__ #define SC_PIX_HEIGHT 200 #define SC_PIX_WIDTH 320 +#else +#define SC_PIX_HEIGHT 192 +#define SC_PIX_WIDTH 560 +#endif #define SC_SIZE 8000 /* VDC screen constants */ #define SCREENBYTEWIDTH 80 diff --git a/libsrc/geos-common/const.inc b/libsrc/geos-common/const.inc index ef78d75b8..a09162b43 100644 --- a/libsrc/geos-common/const.inc +++ b/libsrc/geos-common/const.inc @@ -91,8 +91,13 @@ GRBANK3 = %00 VIC_X_POS_OFF = 24 VIC_Y_POS_OFF = 50 SC_BYTE_WIDTH = 40 +.ifdef __GEOS_CBM__ SC_PIX_HEIGHT = 200 SC_PIX_WIDTH = 320 +.else +SC_PIX_HEIGHT = 192 +SC_PIX_WIDTH = 560 +.endif SC_SIZE = 8000 ;128 screen size constants SCREENBYTEWIDTH = 80