cleanup test utch that they can run cleanly after each other

This commit is contained in:
hugova 2025-07-13 22:06:31 +02:00
parent 6ee280abec
commit 5a35ead4dd
3 changed files with 28 additions and 20 deletions

View file

@ -74,7 +74,13 @@ end:
INC Y_end
LDA Y_end
CMP #$bb
BEQ end_
jmp @loop
end_:
BNE @loop
;;Lets clear bitmap
;;Paint the bitmap black. More bitmap: https://www.c64-wiki.com/wiki/53272, https://www.c64-wiki.com/wiki/Screen_RAM#Moving_of_screen_RAM
Mov_16 A_start, A_start + 1, #<VIC_bank, #>VIC_bank
Mov_16 length, length + 1, #<$1f40, #>$1f40
LDA #$00
jsr memset
.endscope

View file

@ -8,14 +8,15 @@
STA Y_pos
test_x:
NOP
NOP
NOP
NOP
DEY
BNE test_x
DEX
BNE test_x
;; delay
;; NOP
;; NOP
;; NOP
;; NOP
;; DEY
;; BNE test_x
;; DEX
;; BNE test_x
jsr pixel_draw
LDX #$20
@ -30,14 +31,15 @@ end_test_x:
LDA #$50
STA Y_pos
test_y:
NOP
NOP
NOP
NOP
DEY
BNE test_y
DEX
BNE test_y
;;delay
; NOP
; NOP
; NOP
; NOP
; DEY
; BNE test_y
; DEX
; BNE test_y
jsr pixel_draw
LDX #$20

View file

@ -18,7 +18,7 @@
.include "routines/pixel/pixel_test.s"
.include "routines/memory/memcpy_test.s"
.include "routines/memory/memset_test.s"
.include "routines/triangle/triangle_test.s"
;.include "routines/triangle/triangle_test.s"
exit:
JMP exit
.include "../wip-duuqnd/public.inc"