wipes: fix star ripple

This commit is contained in:
Vince Weaver 2024-12-19 16:53:03 -05:00
parent a15de222ef
commit b173ba6b37
2 changed files with 17 additions and 32 deletions

View File

@ -518,8 +518,8 @@ ric2_mm:
beq ric2_p beq ric2_p
lda $bf, X lda $bf, X
jsr ric2_aslmod jsr ric2_aslmod
sty $be, x sty $be, X
sta $bf, x sta $bf, X
sty $fc sty $fc
clc clc
adc #>Coordinates2Bit adc #>Coordinates2Bit

View File

@ -1,4 +1,5 @@
; test some of the 4cade wipes ; wipe star ripple
.include "../zp.inc" .include "../zp.inc"
.include "../hardware.inc" .include "../hardware.inc"
@ -6,14 +7,7 @@
Coordinates2Bit=$8100 Coordinates2Bit=$8100
EndCoordinates2Bit = Coordinates2Bit + (origEndCoordinates2Bit-origCoordinates2Bit) EndCoordinates2Bit = Coordinates2Bit + (origEndCoordinates2Bit-origCoordinates2Bit)
wipe_test: wipe_star_ripple:
; jmp after
test_graphic:
; .incbin "../graphics/a2_dating.hgr.zx02"
;.include "../zx02_optim.s"
after:
; from code.hgr.precomputed.2bit ; from code.hgr.precomputed.2bit
@ -53,38 +47,29 @@ col_smc2:
dex dex
bpl outer_copy_coords_loop bpl outer_copy_coords_loop
; lda #<test_graphic
; sta zx_src_l+1
; lda #>test_graphic
; sta zx_src_h+1
; lda #$20
; jsr zx02_full_decomp
; ldy #0 ;=======================================
;fake_hgr2: ; set up screen
; lda #$0
; sta $4000,Y
; dey
; bne fake_hgr2
;
; inc fake_hgr2+2
; lda fake_hgr2+2
; cmp #$60
; bne fake_hgr2
jsr HGR2 jsr HGR2
jsr HGR jsr HGR
bit FULLGR bit FULLGR
jsr InitOnce
do_it_again: do_it_again:
oog: ; smc
oog:
lda #$FF lda #$FF
; clears E6 for some reason?
ldx #$20
stx $E6
jsr BKGND0 jsr BKGND0
jsr wait_until_keypress jsr wait_until_keypress
@ -94,7 +79,7 @@ oog:
;================================= ;=================================
test_loop: test_loop:
jsr InitOnce
jsr wait_until_keypress jsr wait_until_keypress