prog8/examples/test.p8

24 lines
343 B
Plaintext
Raw Normal View History

2024-10-27 21:50:48 +01:00
%import textio
%zeropage basicsafe
2024-10-18 22:22:34 +02:00
main {
2024-11-05 00:15:40 +01:00
sub start() {
basic_area.routine1()
}
}
basic_area $a000 {
sub routine1() {
txt.print("hello from basic rom area ")
txt.print_uwhex(&routine1, true)
2024-11-05 00:15:40 +01:00
txt.nl()
}
}
hiram_area $c000 {
%option force_output
sub thing() {
cx16.r0++
}
}