Merge branch 'master' into rpn-expressions

This commit is contained in:
Irmen de Jong 2023-03-18 14:42:38 +01:00
commit 3a272e998d
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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)
}