Fixed redraw issue

This commit is contained in:
neauoire 2021-03-08 20:05:18 -08:00
parent 144624f89e
commit c21c2d95aa
2 changed files with 6 additions and 6 deletions

View File

@ -14,7 +14,7 @@ WITH REGARD TO THIS SOFTWARE.
#include "uxn.h" #include "uxn.h"
#define HOR 64 #define HOR 48
#define VER 32 #define VER 32
#define PAD 2 #define PAD 2
#define RES (HOR * VER * 16) #define RES (HOR * VER * 16)

View File

@ -335,10 +335,10 @@ RTS
,no-linebreak ~j LDR #0a NEQ ~j LDR #0d NEQ #0101 EQU2 JMP? POP2 ,no-linebreak ~j LDR #0a NEQ ~j LDR #0d NEQ #0101 EQU2 JMP? POP2
( fill clear ) ( fill clear )
@fill-clear @fill-clear
( incr ) ~dev/sprite.x #0008 ADD2 =dev/sprite.x
,font =dev/sprite.addr ,font =dev/sprite.addr
#01 =dev/sprite.color #01 =dev/sprite.color
,fill-clear ~dev/sprite.x ~dev/screen.width #0010 SUB2 LTH2 JMP? POP2 ( incr ) ~dev/sprite.x #0008 ADD2 =dev/sprite.x
,fill-clear ~dev/sprite.x ~dev/screen.width #0008 SUB2 LTH2 JMP? POP2
#0010 =dev/sprite.x #0010 =dev/sprite.x
( incr ) ~dev/sprite.y #0008 ADD2 =dev/sprite.y ( incr ) ~dev/sprite.y #0008 ADD2 =dev/sprite.y
@no-linebreak @no-linebreak
@ -499,4 +499,4 @@ RTS
|FF60 ;dev/file File |FF60 ;dev/file File
|FFF0 .RESET .FRAME .ERROR ( vectors ) |FFF0 .RESET .FRAME .ERROR ( vectors )
|FFF8 [ 0a4f 0a4f 0a4f ] ( palette ) |FFF8 [ 40ff c09f a09f ] ( palette )