prog8/todo.ill

48 lines
938 B
Plaintext
Raw Normal View History

2018-02-03 00:44:14 +00:00
%output basic
2018-02-01 22:14:12 +00:00
%import c64lib
2018-01-11 23:55:47 +00:00
~ main {
2018-01-07 18:14:21 +00:00
2018-02-02 21:42:09 +00:00
;var .float flt
2018-02-01 22:14:12 +00:00
; var bytevar = 22 + 23 ; @todo constant-fold before semantic check
; var .float initfloat1 = -1.234e-14 ; @todo constant-fold before semantic check / fix float parse?
; var .float initfloat2 = -555.666 ; @todo constant-fold before semantic check / fix float parse?
; var .text guess = '?' * 80 ; @todo constant-fold before semantic check
const .word border = $d020
2018-02-03 00:44:14 +00:00
var .word border2 = $d020
memory screenm = $d021
2018-01-28 20:58:16 +00:00
2018-01-03 20:43:19 +00:00
start:
2018-02-01 22:14:12 +00:00
; @todo float incrdecr/augassign
; flt += 0.1
; flt += 1.1
; flt += 10.1
; flt += 100.1
; flt += 1000.1
; flt *= 2.34
2018-02-03 00:44:14 +00:00
screenm ++
screenm ++
border2 ++
border2 ++
screenm --
border2 --
[$55 .float] ++
[screenm .float]--
2018-02-03 00:53:07 +00:00
[border] ++
[border] ++
[border] --
2018-02-03 00:44:14 +00:00
[$d020] ++
[$d020] ++
[$d020] --
2018-02-03 00:53:07 +00:00
[border2 .word] ++
[border2 .float] ++
[border2] --
[XY] ++
2018-01-14 14:18:50 +00:00
2018-02-02 21:42:09 +00:00
return 44.123
2018-01-07 18:14:21 +00:00
}