]> git.sur5r.net Git - cc65/commitdiff
Introduced Apple GEOS specific screen size constants.
authorol.sc <ol.sc@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 27 Feb 2012 22:00:26 +0000 (22:00 +0000)
committerol.sc <ol.sc@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 27 Feb 2012 22:00:26 +0000 (22:00 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@5567 b7a2c559-68d2-44c3-8de9-860c34a00d81

include/geos/ggraph.h
libsrc/geos-common/const.inc

index 6eea1dff9580fb9f5dfaa18b95f5f596e357703a..2e102a162af0b614498653be71b47ddff91707bd 100644 (file)
@@ -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
index ef78d75b8dec6cefdf3236139d3f403a1afc7ccc..a09162b432bf9a2aeddec579a1c1b0377d678edd 100644 (file)
@@ -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