]> git.sur5r.net Git - cc65/commitdiff
Use RMARGN instead of a hard coded value for compatibility with XEP80.
authorcpg <cpg@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 1 Jul 2008 20:58:03 +0000 (20:58 +0000)
committercpg <cpg@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 1 Jul 2008 20:58:03 +0000 (20:58 +0000)
Patch by Stefan Haubenthal.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3847 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/atari/_scrsize.s

index 420505fa53734384a5ecf8ecdbab128642b95923..2d69d669e4c19b4142fb046dfdafa6520a5c94a2 100644 (file)
@@ -5,10 +5,12 @@
 ;
 
        .export         screensize
+       .include        "atari.inc"
 
 .proc   screensize
 
-        ldx     #40
+        ldx     RMARGN
+        inx
         ldy     #24
         rts