cleanup test utch that they can run cleanly after each other
This commit is contained in:
parent
6ee280abec
commit
5a35ead4dd
3 changed files with 28 additions and 20 deletions
|
@ -74,7 +74,13 @@ end:
|
||||||
INC Y_end
|
INC Y_end
|
||||||
LDA Y_end
|
LDA Y_end
|
||||||
CMP #$bb
|
CMP #$bb
|
||||||
BEQ end_
|
BNE @loop
|
||||||
jmp @loop
|
|
||||||
end_:
|
;;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
|
.endscope
|
||||||
|
|
|
@ -8,14 +8,15 @@
|
||||||
STA Y_pos
|
STA Y_pos
|
||||||
|
|
||||||
test_x:
|
test_x:
|
||||||
NOP
|
;; delay
|
||||||
NOP
|
;; NOP
|
||||||
NOP
|
;; NOP
|
||||||
NOP
|
;; NOP
|
||||||
DEY
|
;; NOP
|
||||||
BNE test_x
|
;; DEY
|
||||||
DEX
|
;; BNE test_x
|
||||||
BNE test_x
|
;; DEX
|
||||||
|
;; BNE test_x
|
||||||
|
|
||||||
jsr pixel_draw
|
jsr pixel_draw
|
||||||
LDX #$20
|
LDX #$20
|
||||||
|
@ -30,14 +31,15 @@ end_test_x:
|
||||||
LDA #$50
|
LDA #$50
|
||||||
STA Y_pos
|
STA Y_pos
|
||||||
test_y:
|
test_y:
|
||||||
NOP
|
;;delay
|
||||||
NOP
|
; NOP
|
||||||
NOP
|
; NOP
|
||||||
NOP
|
; NOP
|
||||||
DEY
|
; NOP
|
||||||
BNE test_y
|
; DEY
|
||||||
DEX
|
; BNE test_y
|
||||||
BNE test_y
|
; DEX
|
||||||
|
; BNE test_y
|
||||||
|
|
||||||
jsr pixel_draw
|
jsr pixel_draw
|
||||||
LDX #$20
|
LDX #$20
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
.include "routines/pixel/pixel_test.s"
|
.include "routines/pixel/pixel_test.s"
|
||||||
.include "routines/memory/memcpy_test.s"
|
.include "routines/memory/memcpy_test.s"
|
||||||
.include "routines/memory/memset_test.s"
|
.include "routines/memory/memset_test.s"
|
||||||
.include "routines/triangle/triangle_test.s"
|
;.include "routines/triangle/triangle_test.s"
|
||||||
exit:
|
exit:
|
||||||
JMP exit
|
JMP exit
|
||||||
.include "../wip-duuqnd/public.inc"
|
.include "../wip-duuqnd/public.inc"
|
||||||
|
|
Loading…
Add table
Reference in a new issue