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-10-29 00:09:25 +00:00
|
|
|
|
2024-10-29 21:57:54 +00:00
|
|
|
sub start() {
|
2024-11-01 19:18:31 +00:00
|
|
|
cx16.r0L=0
|
2024-11-01 18:04:11 +00:00
|
|
|
if cx16.r0L==0 {
|
2024-11-01 19:18:31 +00:00
|
|
|
uword[] addresses = [scores2, start]
|
|
|
|
uword[] @split scores1 = [10, 25, 50, 100] ; can never clear more than 4 lines at once
|
|
|
|
uword[] @split scores2 = [10, 25, 50, 100] ; can never clear more than 4 lines at once
|
|
|
|
|
|
|
|
cx16.r0 = &scores1
|
|
|
|
cx16.r1 = &scores2
|
|
|
|
cx16.r2 = &addresses
|
2024-10-31 21:19:04 +00:00
|
|
|
}
|
|
|
|
}
|
2024-10-29 00:09:25 +00:00
|
|
|
|
2024-09-14 21:17:26 +00:00
|
|
|
}
|