mirror of
https://github.com/irmen/prog8.git
synced 2024-12-25 23:29:55 +00:00
68e62e4bd2
correct case of several other cx16 kernal calls. corrected to upper case: cx16 kernal calls CLOSE_ALL, LKUPLA, LKUPSA, JSRFAR, PRIMM, MACPTR.
19 lines
373 B
Lua
19 lines
373 B
Lua
main {
|
|
sub start() {
|
|
cx16.r1H = %00000001 ; enable auto-indent
|
|
cx16.r2L = 4
|
|
cx16.r2H = 80
|
|
cx16.r3L = 8
|
|
cx16.r3H = 11<<4 | 7; background_color<<4 | text_color
|
|
cx16.r4 = 0
|
|
cx16.r1L = 0
|
|
cx16.rombank($d)
|
|
%asm {{
|
|
ldx #2
|
|
ldy #64
|
|
jmp $c006
|
|
}}
|
|
}
|
|
}
|
|
|