conio and most other stuff working now
This commit is contained in:
31
libsrc/gamate/conio.s
Normal file
31
libsrc/gamate/conio.s
Normal file
@@ -0,0 +1,31 @@
|
||||
.include "gamate.inc"
|
||||
.include "extzp.inc"
|
||||
|
||||
.import colors
|
||||
.importzp ptr1, tmp1
|
||||
|
||||
.constructor initconio
|
||||
|
||||
.macpack longbranch
|
||||
|
||||
.segment "INIT"
|
||||
initconio:
|
||||
; FIXME
|
||||
lda #0
|
||||
sta LCD_XPOS
|
||||
sta LCD_YPOS
|
||||
|
||||
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"
|
||||
Reference in New Issue
Block a user