Use constants for screen width and height.

This commit is contained in:
Stephan Mühlstrasser
2015-02-12 20:54:47 +01:00
parent 5063e0ecca
commit 679f5aa675
7 changed files with 10 additions and 18 deletions

View File

@@ -10,12 +10,10 @@
.export screensize
.include "extzp.inc"
.include "osic1p.inc"
.proc screensize
ldx SCR_LINELEN
inx ; Variable is one less
ldy #25
ldx #(SCR_LINELEN + 1)
ldy #(SCR_HEIGHT + 1)
rts
.endproc