Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/coolgirl-multicart/coolgirl-multirom-builder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2020-10-24 11:10:14 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2020-10-24 11:10:14 +0300
commit750195c4a24f286d0a1a9629a511598e53b6c2e2 (patch)
treedc73a75bd08781830356606f54b368d841f00e93 /tests.asm
parent4d5a3466dab6c5627a3ece1b4009b85da219bb9a (diff)
'Calculating CRC' message
Diffstat (limited to 'tests.asm')
-rw-r--r--tests.asm26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests.asm b/tests.asm
index 398cae3..3ba0bce 100644
--- a/tests.asm
+++ b/tests.asm
@@ -210,6 +210,32 @@ do_tests_again:
jmp do_tests_again
crc_tests:
+ ; disable PPU
+ lda #%00000000
+ sta $2000
+ sta $2001
+ jsr waitblank_simple
+ jsr clear_screen
+ lda #$21
+ sta $2006
+ lda #$C0
+ sta $2006
+ lda #LOW(string_calculating_crc)
+ sta COPY_SOURCE_ADDR
+ lda #HIGH(string_calculating_crc)
+ sta COPY_SOURCE_ADDR+1
+ jsr print_text
+ jsr load_text_palette
+ jsr waitblank_simple
+ bit $2002
+ lda #0
+ sta $2005
+ sta $2005
+ lda #%00001000
+ sta $2000
+ lda #%00001010
+ sta $2001
+ jsr waitblank_simple
jsr crc_calc_128m
jsr start_sound
rts