2024-10-27 21:50:48 +01:00
|
|
|
%import textio
|
|
|
|
%zeropage basicsafe
|
2024-10-18 22:22:34 +02:00
|
|
|
|
2024-11-04 04:28:27 +01:00
|
|
|
main {
|
2024-11-05 00:15:40 +01:00
|
|
|
sub start() {
|
2024-11-05 21:12:27 +01:00
|
|
|
basic_area.routine1()
|
|
|
|
}
|
|
|
|
}
|
2024-11-04 23:26:21 +01:00
|
|
|
|
2024-11-05 21:12:27 +01:00
|
|
|
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()
|
2024-11-04 23:26:21 +01:00
|
|
|
}
|
2024-11-05 21:12:27 +01:00
|
|
|
}
|
2024-11-04 23:26:21 +01:00
|
|
|
|
2024-11-05 21:12:27 +01:00
|
|
|
hiram_area $c000 {
|
|
|
|
%option force_output
|
|
|
|
sub thing() {
|
|
|
|
cx16.r0++
|
2024-11-04 23:26:21 +01:00
|
|
|
}
|
|
|
|
}
|