mirror of
https://github.com/irmen/prog8.git
synced 2024-12-24 01:29:28 +00:00
16 lines
306 B
Lua
16 lines
306 B
Lua
%import textio
|
|
%zeropage basicsafe
|
|
|
|
main {
|
|
sub start() {
|
|
ubyte bank = cx16.search_x16edit()
|
|
txt.print_ub(bank)
|
|
if bank<255 {
|
|
cx16.rombank(bank)
|
|
cx16.x16edit_default()
|
|
cx16.rombank(0)
|
|
}
|
|
txt.print("back from editor!\n")
|
|
}
|
|
}
|