commit 770d65bd9f2dac74960219fc96736db1dc092f37
parent abee68f5059e7b6da51c009d555403b07b936ec8
Author: neauoire <aliceffekt@gmail.com>
Date: Wed, 10 Feb 2021 12:06:43 -0800
*
Diffstat:
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/examples/test.usm b/examples/test.usm
@@ -13,16 +13,16 @@ BRK
|c000 @FRAME
- ,i LDR ,01 ADD ,i STR ( incr i )
-
+ ,i LDR ,04 ADD ,i STR ( incr i )
,i LDR ,x1 STR ( set x )
-
+ ,changerow JSR ( update y )
,01 ,02 ,x0 LDR^ ,y0 LDR^ ,putpixel JSR
BRK
-@onrow
- ,y1 LDR ,01 ADD ,y1 STR
+@changerow
+ ,i LDR ,00 NEQ RTS?
+ ,y1 LDR ,04 ADD ,y1 STR
RTS
@putpixel