mirror of
https://github.com/irmen/prog8.git
synced 2024-11-25 04:31:20 +00:00
24 lines
349 B
Lua
24 lines
349 B
Lua
%import textio
|
|
%zeropage basicsafe
|
|
|
|
main {
|
|
sub start() {
|
|
basic_area.routine1()
|
|
}
|
|
}
|
|
|
|
basic_area $a000 {
|
|
sub routine1() {
|
|
txt.print("hello from basic rom area ")
|
|
txt.print_uwhex(&routine1, true)
|
|
txt.nl()
|
|
}
|
|
}
|
|
|
|
;hiram_area $c000 {
|
|
; %option force_output
|
|
; sub thing() {
|
|
; cx16.r0++
|
|
; }
|
|
;}
|