prog8/examples/test.p8

21 lines
390 B
Plaintext
Raw Normal View History

%import c64utils
2019-01-08 23:25:02 +00:00
%import c64flt
2019-01-02 22:32:41 +00:00
~ main {
2019-01-01 20:47:19 +00:00
2019-01-05 17:02:17 +00:00
sub start() {
2019-01-08 23:25:02 +00:00
; @todo create word function ;c64.SPXY[i] = (rnd() as uword) * 256 + (50+25*i)
; @todo more efficient +1/-1 additions in expressions
2019-01-08 23:25:02 +00:00
float f1 = c64flt.TWOPI
2019-01-08 23:25:02 +00:00
c64flt.print_fln(3.1415)
c64flt.print_fln(f1)
f1 = 3.1415
f1 = 3.1415
f1 = 3.1415
f1 = 3.1415
}
2019-01-02 22:32:41 +00:00
}