prog8/examples/test.p8

34 lines
517 B
Plaintext
Raw Normal View History

2019-02-12 20:53:57 +00:00
%import c64utils
%import c64lib
%zeropage basicsafe
2019-01-26 21:46:01 +00:00
2019-02-25 00:08:10 +00:00
; @todo see problem in looplabelproblem.p8
~ main {
2019-02-21 00:31:33 +00:00
sub start() {
c64utils.set_rasterirq(220) ; enable animation
uword offs=0
while(true) {
uword z=1
for ubyte x in 0 to 200 {
@(z*($0400+offs)) = lsb(offs+x)
offs += 1
if offs > 40*25
offs=0
}
}
}
}
~ irq {
sub irq() {
c64.EXTCOL = X
}
}