From 0c011804934d883831eeb5abf4ceadb49e112cca Mon Sep 17 00:00:00 2001 From: Peter Ferrie Date: Thu, 13 Oct 2022 10:44:36 -0700 Subject: [PATCH] Lady Tut, Spy Strikes Back reset vectors, fix Lancaster non-MB writes --- ...kes back 10k file PRODOS (san inc pack).po | Bin 143360 -> 143360 bytes src/prelaunch/lady.tut.a | 10 +++++++++- src/prelaunch/lancaster.a | 4 ++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/res/dsk/the spy strikes back 10k file PRODOS (san inc pack).po b/res/dsk/the spy strikes back 10k file PRODOS (san inc pack).po index 2790b00c67f7081be546cc16032410b98f08a021..815c95476c5bed5211b9b4bc2ad98ece5dd48ead 100644 GIT binary patch delta 21 dcmZp8z|ru4W5eelnE=0sv`_2(ADC delta 22 ecmZp8z|ru4W5egVW`X+c0`-g^HcS>^k_7;KJqfJ< diff --git a/src/prelaunch/lady.tut.a b/src/prelaunch/lady.tut.a index 3b8f2238b..8b2edf014 100644 --- a/src/prelaunch/lady.tut.a +++ b/src/prelaunch/lady.tut.a @@ -12,6 +12,11 @@ sta $200,x dex bpl - + ldx #5 +- lda $100,x + sta $2C0,x + dex + bpl - lda #$00 sta $084F lda #$02 @@ -26,8 +31,11 @@ patch lda #$A5 sta $76AC ; patch - don't decrease lives + + lda #$C0 + sta $8461 + lda #2 + sta $8468 ; reset vector lda #$2C - sta $8470 ; reset vector to reboot sta $84B7 lda #$00 sta $84BE diff --git a/src/prelaunch/lancaster.a b/src/prelaunch/lancaster.a index d8e39be83..1fae9bfa4 100644 --- a/src/prelaunch/lancaster.a +++ b/src/prelaunch/lancaster.a @@ -27,6 +27,10 @@ mbslot lda #$60 sta $16A1 ; no MB, don't write to random slot sta $671A ; no MB, don't write to random slot + lda #$4C + sta $67D6 ; no MB, don't write to random slot + lda #$48 + sta $12A5 ; no MB, don't write to random slot bne skipmb + cpx #$C4 beq skipmb