mirror of
https://github.com/irmen/prog8.git
synced 2024-12-26 14:29:35 +00:00
25 lines
556 B
Lua
25 lines
556 B
Lua
;%target cx16
|
|
%import textio
|
|
%zeropage basicsafe
|
|
|
|
main {
|
|
|
|
sub start() {
|
|
txt.print("hello")
|
|
|
|
; str filename = "titlescreen.bin"
|
|
; ubyte success = cx16.vload(filename, 8, 0, $0000)
|
|
; if success {
|
|
; txt.print("load ok")
|
|
; cx16.VERA_DC_HSCALE = 64
|
|
; cx16.VERA_DC_VSCALE = 64
|
|
; cx16.VERA_L1_CONFIG = %00011111 ; 256c bitmap mode
|
|
; cx16.VERA_L1_MAPBASE = 0
|
|
; cx16.VERA_L1_TILEBASE = 0
|
|
; } else {
|
|
; txt.print("load fail")
|
|
; }
|
|
}
|
|
}
|
|
|