1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 17:29:50 +00:00

support for 40/80 column modes

git-svn-id: svn://svn.cc65.org/cc65/trunk@1091 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
izydorst 2001-10-27 17:07:19 +00:00
parent b9b144cf52
commit 1949afddf5

View File

@ -37,11 +37,19 @@ _mouse_init:
sta mouseLeft+1
lda #199
sta mouseBottom
lda #<319
sta mouseRight
lda #>319
sta mouseRight+1
lda graphMode
bpl _mse_screen320
lda #<639 ; 80 columns on C128
ldx #>639
bne _mse_storex
_mse_screen320:
lda #<319 ; 40 columns on C64/C128
ldx #>319
_mse_storex:
sta mouseRight
stx mouseRight+1
_mse_initend:
lda #0
; --------------------------------------------------------------------------
;