2024-10-27 20:50:48 +00:00
|
|
|
%import textio
|
2024-10-13 17:37:25 +00:00
|
|
|
%option no_sysinit
|
2024-10-27 20:50:48 +00:00
|
|
|
%zeropage basicsafe
|
2024-10-18 20:22:34 +00:00
|
|
|
|
2024-10-07 17:17:37 +00:00
|
|
|
main {
|
2024-11-03 20:00:39 +00:00
|
|
|
romsub @bank 10 $C09F = audio_init()
|
|
|
|
romsub @bank 5 $A000 = hiram_routine()
|
2024-10-29 00:09:25 +00:00
|
|
|
|
2024-10-29 21:57:54 +00:00
|
|
|
sub start() {
|
2024-11-03 20:00:39 +00:00
|
|
|
; put an rts in hiram bank 5 to not crash
|
|
|
|
cx16.rambank(5)
|
|
|
|
@($a000) = $60
|
|
|
|
cx16.rambank(0)
|
|
|
|
|
2024-11-03 19:39:44 +00:00
|
|
|
audio_init()
|
|
|
|
hiram_routine()
|
2024-11-03 12:26:28 +00:00
|
|
|
}
|
|
|
|
}
|