Added scrsize() function.
This commit is contained in:
22
libsrc/c1p/_scrsize.s
Normal file
22
libsrc/c1p/_scrsize.s
Normal 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
|
||||||
|
|
||||||
Reference in New Issue
Block a user