mirror of
https://github.com/cc65/cc65.git
synced 2024-12-25 17:29:50 +00:00
32 lines
634 B
ArmAsm
32 lines
634 B
ArmAsm
.include "gamate.inc"
|
|
.include "extzp.inc"
|
|
|
|
.import colors
|
|
.importzp ptr1, tmp1
|
|
|
|
.constructor initconio
|
|
|
|
.macpack longbranch
|
|
|
|
.segment "ONCE"
|
|
initconio:
|
|
lda #0
|
|
sta LCD_XPOS
|
|
sta LCD_YPOS
|
|
sta RVS
|
|
|
|
lda #LCD_MODE_INC_Y
|
|
sta LCD_MODE
|
|
|
|
lda #COLOR_BLACK
|
|
sta CHARCOLOR
|
|
lda #COLOR_WHITE
|
|
sta BGCOLOR
|
|
rts
|
|
|
|
.segment "RODATA"
|
|
|
|
.export fontdata
|
|
fontdata:
|
|
.include "vga.inc"
|