Browse code

Fixed redraw issue

neauoire authored on 09/03/2021 04:05:18
Showing 2 changed files
... ...
@@ -14,7 +14,7 @@ WITH REGARD TO THIS SOFTWARE.
14 14
 
15 15
 #include "uxn.h"
16 16
 
17
-#define HOR 64
17
+#define HOR 48
18 18
 #define VER 32
19 19
 #define PAD 2
20 20
 #define RES (HOR * VER * 16)
... ...
@@ -335,10 +335,10 @@ RTS
335 335
 		,no-linebreak ~j LDR #0a NEQ ~j LDR #0d NEQ #0101 EQU2 JMP? POP2
336 336
 			( fill clear )
337 337
 			@fill-clear
338
-				( incr ) ~dev/sprite.x #0008 ADD2 =dev/sprite.x
339 338
 				,font =dev/sprite.addr
340 339
 				#01 =dev/sprite.color
341
-				,fill-clear ~dev/sprite.x ~dev/screen.width #0010 SUB2 LTH2 JMP? POP2
340
+				( incr ) ~dev/sprite.x #0008 ADD2 =dev/sprite.x
341
+				,fill-clear ~dev/sprite.x ~dev/screen.width #0008 SUB2 LTH2 JMP? POP2
342 342
 			#0010 =dev/sprite.x
343 343
 			( incr ) ~dev/sprite.y #0008 ADD2 =dev/sprite.y
344 344
 		@no-linebreak
... ...
@@ -483,8 +483,8 @@ RTS
483 483
 @arrowdown_icn [ 0010 1010 fe7c 3810 ]
484 484
 @load_icn      [ feaa d6aa d4aa f400 ]
485 485
 @save_icn      [ fe82 8282 848a f400 ]
486
-@filepath1      [ test.txt 00 ]
487
-@filepath     [ projects/software/left.usm 00 ]
486
+@filepath1     [ test.txt 00 ]
487
+@filepath      [ projects/software/left.usm 00 ]
488 488
 
489 489
 |4000 ;document Document
490 490
 
... ...
@@ -499,4 +499,4 @@ RTS
499 499
 |FF60 ;dev/file    File
500 500
 
501 501
 |FFF0 .RESET .FRAME .ERROR ( vectors )
502
-|FFF8 [ 0a4f 0a4f 0a4f ] ( palette )
502
+|FFF8 [ 40ff c09f a09f ] ( palette )