diff --git a/compiler/src/prog8/compiler/target/cpu6502/codegen/ExpressionsAsmGen.kt b/compiler/src/prog8/compiler/target/cpu6502/codegen/ExpressionsAsmGen.kt index 451909123..78b45e071 100644 --- a/compiler/src/prog8/compiler/target/cpu6502/codegen/ExpressionsAsmGen.kt +++ b/compiler/src/prog8/compiler/target/cpu6502/codegen/ExpressionsAsmGen.kt @@ -686,7 +686,7 @@ internal class ExpressionsAsmGen(private val program: Program, private val asmge code("#>${rightConstVal.number}", "#<${rightConstVal.number}") } else { - // TODO is this correct? word > 0 + // TODO is this correct? word > 0 can be shorter as well? val name = asmgen.asmVariableName(left) asmgen.out(""" lda #0 diff --git a/examples/cx16/kefrenbars.p8 b/examples/cx16/kefrenbars.p8 index 6cfae7e8e..9c7d8c9b2 100644 --- a/examples/cx16/kefrenbars.p8 +++ b/examples/cx16/kefrenbars.p8 @@ -5,6 +5,9 @@ ; Vertical rasterbars a.k.a. "Kefren bars" ; also see: rasterbars.p8 +; TODO exhibits tearing since recent compiler changes???? + + main { sub start() { diff --git a/examples/rasterbars.p8 b/examples/rasterbars.p8 index efdbc8f95..5f80d4192 100644 --- a/examples/rasterbars.p8 +++ b/examples/rasterbars.p8 @@ -17,7 +17,7 @@ main { irq { - const ubyte barheight = 4 ; should be big enough to re-trigger the Raster irq properly. + const ubyte barheight = 3 ; should be big enough to re-trigger the Raster irq properly. ubyte[] colors = [6,2,4,5,15,7,1,13,3,12,8,11,9] ubyte color = 0 ubyte yanim = 0 diff --git a/examples/wizzine.p8 b/examples/wizzine.p8 index dd6daab34..e9b3454f8 100644 --- a/examples/wizzine.p8 +++ b/examples/wizzine.p8 @@ -2,6 +2,9 @@ %import syslib %zeropage basicsafe +; TODO seems slightly slower since recent compiler changes???? + + spritedata $0a00 { ; this memory block contains the sprite data ; it must start on an address aligned to 64 bytes.