mirror of
https://github.com/irmen/prog8.git
synced 2024-10-17 10:24:55 +00:00
24 lines
398 B
Lua
24 lines
398 B
Lua
%import test_stack
|
|
%import gfx2
|
|
%zeropage basicsafe
|
|
%option no_sysinit
|
|
|
|
main {
|
|
|
|
|
|
sub start () {
|
|
|
|
;gfx2.screen_mode(0)
|
|
gfx2.screen_mode(255)
|
|
|
|
uword address
|
|
for address in gfx2.charset_addr to gfx2.charset_addr+4*8-1 {
|
|
txt.print_ubbin(cx16.vpeek(gfx2.charset_bank, address),0)
|
|
txt.chrout('\n')
|
|
}
|
|
|
|
test_stack.test()
|
|
}
|
|
|
|
}
|