From 8ebf49971598167fde92fd39672c18d46689d99c Mon Sep 17 00:00:00 2001 From: Andrew Alderwick Date: Sat, 27 Mar 2021 22:55:59 +0000 Subject: [PATCH] Added corners to rectangle. --- projects/software/neralie.usm | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/projects/software/neralie.usm b/projects/software/neralie.usm index acb664f..a91793b 100644 --- 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