fix Black Magic on //c+ (#330)

Seems like starting a new game is wonky. after it shows the high score screen it messes up the graphics. not sure if that's my fix causing it or not, but both reset work, and every machine works currently.
This commit is contained in:
frankmilliron 2020-08-12 08:55:52 -07:00 committed by GitHub
parent 33d00fc978
commit 46d05fbac9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,13 +22,11 @@
sta $1B2D sta $1B2D
sta $D6E6 sta $D6E6
jsr $1B00 jsr $1B00
lda #<callback1 lda #<callback1
sta $D7E9 sta $D7E9
lda #>callback1 lda #>callback1
sta $D7EA sta $D7EA
jsr $D000 jsr $D000
lda #<callback2 lda #<callback2
sta $8D5 sta $8D5
lda #>callback2 lda #>callback2
@ -55,6 +53,7 @@ callback2
lda #$63 ; back to original vector lda #$63 ; back to original vector
sta $3F2 sta $3F2
sta $FFFC sta $FFFC
+READ_RAM2_WRITE_RAM2 ; fix on //c+
jmp $D6EE jmp $D6EE
reset reset