]> git.sur5r.net Git - cc65/blobdiff - libsrc/atari/_scrsize.s
Some small first changes for the 'atarixl' target.
[cc65] / libsrc / atari / _scrsize.s
index 5578c1be15c7366f522cfd70399eef0814e82646..c827ba3970380794114e5423e82ab020acb6363d 100644 (file)
@@ -4,12 +4,16 @@
 ; Screen size variables
 ;
 
-       .export         xsize, ysize
+        .export         screensize
+        .include        "atari.inc"
 
-.rodata
+.proc   screensize
 
-xsize:         .byte   40
-ysize: .byte   24
+        ldx     RMARGN
+        inx
+        ldy     #24
+        rts
 
+.endproc