Added scrsize() function.

This commit is contained in:
Stephan Mühlstrasser
2014-11-30 16:01:43 +01:00
parent 945ad167df
commit b47a1d99ec

22
libsrc/c1p/_scrsize.s Normal file
View File

@@ -0,0 +1,22 @@
;
; based on PET implementation
;
; originally by:
; Ullrich von Bassewitz, 26.10.2000
;
; Screen size variables
;
.export screensize
.include "extzp.inc"
.proc screensize
ldx SCR_LINELEN
inx ; Variable is one less
ldy #25
rts
.endproc