]> git.sur5r.net Git - cc65/commitdiff
Use ROM variables MAX_X/MAX_Y
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 24 Oct 2003 18:39:48 +0000 (18:39 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 24 Oct 2003 18:39:48 +0000 (18:39 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2575 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/apple2/_scrsize.s
libsrc/apple2/apple2.inc

index df849510c998009c7b0f5baa24a03e7c452ae3a1..3f496454b851f4fa83ee88ff1d7a94f54d5c475e 100644 (file)
@@ -10,8 +10,8 @@
 
 .proc   screensize
 
-        ldx     #XSIZE
-        ldy     #YSIZE
+        ldx     MAX_X
+        ldy     MAX_Y
         rts
 
 .endproc
index 6b89bfba353ea6d15815e2dad8684ad031d11a12..c79bb285946c360cd1a53e73b55966ebeb4edd2f 100644 (file)
@@ -20,12 +20,6 @@ MEMSIZE      =       $73             ; Highest free RAM location
 BRKVec  =       $03F0           ; Break vector
 RESTOR =       $03D0           ; Goto Dos
 
-; ---------------------------------------------------------------------------
-; Screen size
-
-XSIZE           = 40
-YSIZE           = 24
-
 ;-----------------------------------------------------------------------------
 ; Hardware