commit 8ebf49971598167fde92fd39672c18d46689d99c
parent 03f3d05c82c1b0c2f5d8120784a27708f23f7bc9
Author: Andrew Alderwick <andrew@alderwick.co.uk>
Date: Sat, 27 Mar 2021 22:55:59 +0000
Added corners to rectangle.
Diffstat:
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/projects/software/neralie.usm b/projects/software/neralie.usm
@@ -29,16 +29,18 @@
|0200 @RESET
#3c =fps.current
- #000a
+ #000b
DUP2 =lines.x1
DUP2 =lines.y1
DUP2 ~Screen.width SWP2 SUB2 =lines.x2
~Screen.height SWP2 SUB2 =lines.y2
- ~lines.x1 ~lines.x2 ~lines.y1 ,h JSR2
- ~lines.x1 ~lines.x2 ~lines.y2 ,h JSR2
- ~lines.y1 ~lines.y2 ~lines.x1 ,v JSR2
- ~lines.y1 ~lines.y2 ~lines.x2 ,v JSR2
+ ~lines.x1 ~lines.x2
+ OVR2 OVR2 ~lines.y1 ,h JSR2
+ ~lines.y2 ,h JSR2
+ ~lines.y1 #0001 SUB2 ~lines.y2 #0001 ADD2
+ OVR2 OVR2 ~lines.x1 ,v JSR2
+ ~lines.x2 ,v JSR2
@ERROR BRK