mirror of
https://github.com/irmen/prog8.git
synced 2024-10-07 15:57:03 +00:00
23 lines
436 B
Lua
23 lines
436 B
Lua
%import textio
|
|
%import diskio
|
|
%import floats
|
|
%import graphics
|
|
%zeropage basicsafe
|
|
%import test_stack
|
|
%option no_sysinit
|
|
|
|
main {
|
|
sub start () {
|
|
|
|
uword bitmap_load_address = progend()
|
|
uword max_bitmap_size = $9eff - bitmap_load_address ; TODO why is this not optimized away?
|
|
|
|
uword xx = progend()
|
|
txt.print_uwhex(xx, 1)
|
|
txt.print_uwhex(progend(), 1)
|
|
|
|
test_stack.test()
|
|
}
|
|
|
|
}
|