2024-11-12 18:27:33 +01:00
|
|
|
%import math
|
2024-11-12 00:11:19 +01:00
|
|
|
%import textio
|
2024-11-10 15:11:14 +01:00
|
|
|
%option no_sysinit
|
2024-11-10 23:44:10 +01:00
|
|
|
%zeropage basicsafe
|
2024-10-18 22:22:34 +02:00
|
|
|
|
2024-11-04 04:28:27 +01:00
|
|
|
main {
|
2024-11-12 00:11:19 +01:00
|
|
|
sub start() {
|
2024-11-12 18:27:33 +01:00
|
|
|
uword v0 = 4000
|
|
|
|
uword v1 = 60000
|
2024-11-11 20:48:25 +01:00
|
|
|
|
2024-11-12 18:27:33 +01:00
|
|
|
for cx16.r1 in 65400 to 65535 {
|
|
|
|
txt.print_uw(cx16.r1)
|
|
|
|
txt.spc()
|
|
|
|
txt.spc()
|
|
|
|
txt.print_uw(math.lerpw(v0, v1, cx16.r1))
|
|
|
|
txt.nl()
|
|
|
|
}
|
2024-11-08 19:43:59 +01:00
|
|
|
}
|
2024-11-05 23:56:58 +01:00
|
|
|
}
|