mirror of
https://github.com/cc65/cc65.git
synced 2024-10-17 02:26:16 +00:00
Added scrsize() function.
This commit is contained in:
parent
945ad167df
commit
b47a1d99ec
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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user