mirror of
https://github.com/cc65/cc65.git
synced 2024-12-27 15:29:46 +00:00
37178d5141
that are set on startup. This is needed to support the C128, which can switch the screen size at runtime. git-svn-id: svn://svn.cc65.org/cc65/trunk@2042 b7a2c559-68d2-44c3-8de9-860c34a00d81
23 lines
343 B
ArmAsm
23 lines
343 B
ArmAsm
;
|
|
; Ullrich von Bassewitz, 26.10.2000
|
|
;
|
|
; Screen size variables
|
|
;
|
|
|
|
.export screensize
|
|
|
|
.include "c128.inc"
|
|
|
|
.proc screensize
|
|
|
|
ldx #40 ; Assume 40 column mode
|
|
bit MODE
|
|
bpl C40 ; Jump if 40 column mode
|
|
ldx #80
|
|
C40: ldy #25
|
|
rts
|
|
|
|
.endproc
|
|
|
|
|