2023-11-14 21:47:31 +00:00
|
|
|
%import textio
|
2023-11-28 21:50:30 +00:00
|
|
|
%import floats
|
|
|
|
%zeropage basicsafe
|
2023-11-24 20:26:34 +00:00
|
|
|
|
2023-10-15 20:44:34 +00:00
|
|
|
main {
|
2023-11-12 19:40:17 +00:00
|
|
|
sub start() {
|
2023-11-28 21:50:30 +00:00
|
|
|
poke($4000,123)
|
|
|
|
txt.print_ub(peek($4000))
|
2023-11-27 22:26:31 +00:00
|
|
|
txt.nl()
|
2023-11-28 21:50:30 +00:00
|
|
|
pokew($4002, 55555)
|
|
|
|
txt.print_uw(peekw($4002))
|
2023-11-28 20:01:58 +00:00
|
|
|
txt.nl()
|
2023-11-28 21:50:30 +00:00
|
|
|
float value=123.45678
|
|
|
|
pokef($4004, value)
|
|
|
|
floats.print_f(peekf($4004))
|
2023-11-27 22:26:31 +00:00
|
|
|
txt.nl()
|
2023-11-14 17:23:37 +00:00
|
|
|
}
|
2023-10-03 20:54:28 +00:00
|
|
|
}
|