mirror of
https://github.com/irmen/prog8.git
synced 2024-11-27 03:50:27 +00:00
Merge branch 'master' into rpn-expressions
This commit is contained in:
commit
3a272e998d
@ -59,7 +59,7 @@ main {
|
||||
psg.silent()
|
||||
psg.voice(0, psg.LEFT, 63, psg.TRIANGLE, 0)
|
||||
psg.voice(1, psg.RIGHT, 63, psg.TRIANGLE, 0)
|
||||
cx16.set_irq(&psg.envelopes_irq, false)
|
||||
cx16.set_irq(&psg.envelopes_irq, true)
|
||||
|
||||
repeat {
|
||||
uword note
|
||||
|
@ -82,7 +82,7 @@ main {
|
||||
|
||||
; circle with "degrees" from 0 to 255
|
||||
for r in 0 to 255 {
|
||||
pixelxw = (math.sin8(r)/2 as uword) + 80
|
||||
pixelxw = (math.sin8(r)/2 as word) + 80 as uword
|
||||
pixelyb = (math.cos8(r)/2 as uword + height/2) as ubyte
|
||||
graphics.plot(pixelxw, pixelyb)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user