mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-22 21:32:39 +00:00
Fix some attract mode issues (#524)
* Add files via upload * Add files via upload
This commit is contained in:
parent
960955c31c
commit
b381dce377
@ -22,6 +22,9 @@
|
||||
sta $6020
|
||||
jsr $6002 ; decompress
|
||||
|
||||
lda #$D0
|
||||
sta $1C37 ; kill occasional sound
|
||||
|
||||
ldx #$D8 ; move location from $3F2 to $3D8
|
||||
stx $1113 ; (program uses reset vector for storage)
|
||||
stx $1245
|
||||
@ -44,6 +47,19 @@
|
||||
stx $1DE8
|
||||
stx $1E5A ; reset vector fix
|
||||
|
||||
inx ; move location from $3FE to $3DB
|
||||
stx $4AF9 ; (program uses IRQ vector for storage)
|
||||
stx $4B0F
|
||||
stx $5B69
|
||||
stx $5B7F
|
||||
inx ; move location from $3FF to $3DC
|
||||
stx $4B02
|
||||
stx $4B07
|
||||
stx $4B14
|
||||
stx $5B72
|
||||
stx $5B77
|
||||
stx $5B84 ; IRQ vector fix
|
||||
|
||||
lda #$4C
|
||||
sta $46C0
|
||||
ldx #0
|
||||
|
@ -1,5 +1,5 @@
|
||||
;license:MIT
|
||||
;(c) 2022 by qkumba
|
||||
;(c) 2022 by qkumba/Frank M.
|
||||
|
||||
!cpu 6502
|
||||
!to "build/DEMO/CONAN#060200",plain
|
||||
@ -17,13 +17,18 @@
|
||||
lda #$60
|
||||
sta $BD40
|
||||
jsr $BCCF
|
||||
lda #1 ; reset vector fix
|
||||
sta $7C01 ; to $3F3
|
||||
|
||||
lda #0 ; vector fixes
|
||||
sta $7C09 ; to $3FE - IRQ
|
||||
lda #1
|
||||
sta $7C01 ; to $3F3 - reset
|
||||
sta $7C0B ; to $3FF - IRQ
|
||||
lda #$A4
|
||||
sta $7C02 ; to $3F4 (doesn't change $3F2)
|
||||
sta $7C02 ; to $3F4 - reset ($3F2 doesn't change)
|
||||
|
||||
lda #$4C
|
||||
sta $7C2C
|
||||
jsr $5FF8 ; decompress
|
||||
jsr $5FF8 ; decompress, run intro
|
||||
sta $80F6
|
||||
jsr $826
|
||||
lda #$60
|
||||
|
@ -9,6 +9,7 @@
|
||||
!source "src/macros.a"
|
||||
|
||||
+GAME_REQUIRES_JOYSTICK
|
||||
+USES_TEXT_PAGE_2
|
||||
+ENABLE_ACCEL_LC
|
||||
+LOAD_XSINGLE title
|
||||
|
||||
|
@ -11,6 +11,7 @@
|
||||
+ENABLE_ACCEL_LC
|
||||
+LOAD_XSINGLE title
|
||||
|
||||
+USES_TEXT_PAGE_2
|
||||
+NEW_RESET_VECTOR $280
|
||||
|
||||
lda #$60
|
||||
@ -20,7 +21,7 @@
|
||||
lda #$80
|
||||
sta $103F
|
||||
lda #2
|
||||
sta $104A ; reset vector patch
|
||||
sta $104A ; reset/IRQ vector patch
|
||||
|
||||
ldx #3-1
|
||||
- lda patch,x
|
||||
|
@ -25,7 +25,8 @@
|
||||
jsr $7800 ; unpack/setup
|
||||
|
||||
lda #0
|
||||
sta $3F2 ; reset vector
|
||||
sta $3F2 ; reset vector B8F2
|
||||
sta $3FE ; IRQ vector B8FE
|
||||
|
||||
ldx #3-1
|
||||
- lda patch2,x
|
||||
@ -43,10 +44,10 @@ callback bit $C000
|
||||
ldx #$30
|
||||
- bit $C055
|
||||
lda #$0B
|
||||
jsr $FCA8
|
||||
jsr fakewait ; fix timing of title screen on //gs
|
||||
bit $C054
|
||||
lda #$0B
|
||||
jsr $FCA8
|
||||
jsr fakewait
|
||||
bit $C000
|
||||
bmi exit
|
||||
dey
|
||||
@ -54,6 +55,15 @@ callback bit $C000
|
||||
dex
|
||||
bne -
|
||||
jmp $8839
|
||||
|
||||
fakewait sec
|
||||
wait1 pha
|
||||
wait2 sbc #$01
|
||||
bne wait2
|
||||
pla
|
||||
sbc #$01
|
||||
bne wait1
|
||||
rts
|
||||
exit
|
||||
patch2 !byte $4C,$00,$01
|
||||
|
||||
|
@ -15,13 +15,16 @@
|
||||
sta $bd40
|
||||
jsr $bc94
|
||||
|
||||
lda #1 ; reset vector fix
|
||||
sta $7C01 ; to $3F3
|
||||
lda #0 ; vector fixes
|
||||
sta $7C09 ; to $3FE - IRQ
|
||||
lda #1
|
||||
sta $7C01 ; to $3F3 - reset
|
||||
sta $7C0B ; to $3FF - IRQ
|
||||
lda #$A4
|
||||
sta $7C02 ; to $3F4 (doesn't change $3F2)
|
||||
sta $7C02 ; to $3F4 - reset ($3F2 doesn't change)
|
||||
|
||||
+DISABLE_ACCEL
|
||||
jsr $5ff8 ; run intro
|
||||
jsr $5ff8 ; decompress, run intro
|
||||
|
||||
+ENABLE_ACCEL
|
||||
lda #$6c
|
||||
|
@ -1,5 +1,5 @@
|
||||
;license:MIT
|
||||
;(c) 2019 by 4am/Frank M.
|
||||
;(c) 2019-2022 by 4am/Frank M.
|
||||
|
||||
!cpu 6502
|
||||
!to "build/PRELAUNCH.INDEXED/GAMMA.GOBLINS",plain
|
||||
@ -21,7 +21,7 @@
|
||||
lda #$00
|
||||
sta $7F62 ; patch - don't increase lives
|
||||
+
|
||||
+RESET_VECTOR $100
|
||||
+RESET_AND_IRQ_VECTOR $100
|
||||
+DISABLE_ACCEL
|
||||
lda #$00
|
||||
tay
|
||||
|
@ -17,7 +17,7 @@
|
||||
lda #$80
|
||||
sta $103F
|
||||
lda #2
|
||||
sta $104A ; reset vector patch
|
||||
sta $104A ; reset/IRQ vector patch
|
||||
|
||||
+READ_RAM2_NO_WRITE
|
||||
lda MachineStatus
|
||||
|
@ -23,7 +23,8 @@
|
||||
jsr $7800 ; unpack/setup
|
||||
|
||||
lda #0
|
||||
sta $3F2 ; reset vector
|
||||
sta $3F2 ; reset vector B8F2
|
||||
sta $3FE ; IRQ vector B8FE
|
||||
|
||||
+READ_RAM2_NO_WRITE
|
||||
lda MockingboardStuff
|
||||
|
Loading…
Reference in New Issue
Block a user