atari5200: add screensize function

This commit is contained in:
Christian Groessler
2019-04-02 22:06:53 +02:00
committed by Oliver Schmidt
parent db01036e2e
commit 79b9a8d2df
2 changed files with 19 additions and 2 deletions

View File

@@ -0,0 +1,19 @@
;
; Christian Groessler, 02-Apr-2019
;
; Screen size variables
;
.export screensize
.importzp screen_width, screen_height
.include "atari.inc"
.proc screensize
ldx #screen_width
ldy #screen_height
rts
.endproc