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