mirror of
https://github.com/a2-4am/4cade.git
synced 2025-01-11 07:30:02 +00:00
add Space Spikes to the collection
This commit is contained in:
parent
760d750dd4
commit
12566629ea
BIN
res/CACHE10.IDX
BIN
res/CACHE10.IDX
Binary file not shown.
BIN
res/CACHE11.IDX
BIN
res/CACHE11.IDX
Binary file not shown.
@ -393,6 +393,7 @@
|
||||
00001,SPACE.RACE=Space Race
|
||||
00001,SPACE.RAIDERS=Space Raiders
|
||||
10041,SPACE.RESCUE=Space Rescue
|
||||
10010,SPACE.SPIKES=Space Spikes
|
||||
10001,SPACE.WARRIOR=Space Warrior
|
||||
00070,SPARE.CHANGE=Spare Change
|
||||
00010,SPECTRE=Spectre
|
||||
|
BIN
res/TITLE.HGR.UNPACKED/SPACE.SPIKES
Normal file
BIN
res/TITLE.HGR.UNPACKED/SPACE.SPIKES
Normal file
Binary file not shown.
BIN
res/TITLE.HGR/SPACE.SPIKES
Normal file
BIN
res/TITLE.HGR/SPACE.SPIKES
Normal file
Binary file not shown.
BIN
res/dsk/space spikes PRODOS (san inc pack).po
Normal file
BIN
res/dsk/space spikes PRODOS (san inc pack).po
Normal file
Binary file not shown.
@ -31,12 +31,12 @@
|
||||
lda #$4C
|
||||
sta $0A06
|
||||
sta $1605
|
||||
lda #0
|
||||
sta $0A06+1
|
||||
sta $1605+1
|
||||
lda #1
|
||||
sta $0A06+2
|
||||
sta $1605+2 ; set exits
|
||||
inx
|
||||
stx $0A06+1
|
||||
stx $1605+1
|
||||
inx
|
||||
stx $0A06+2
|
||||
stx $1605+2 ; set exits
|
||||
|
||||
lda #$D0
|
||||
sta $AC64 ; disable sound
|
||||
|
@ -21,7 +21,7 @@
|
||||
dex
|
||||
bpl - ; exit on button or keypress during demo
|
||||
|
||||
ldx #5-1
|
||||
ldx #2-1
|
||||
- lda patch2, x
|
||||
sta $092D, x
|
||||
sta $139D, x
|
||||
@ -29,7 +29,9 @@
|
||||
bpl - ; exit on keypress at title screen & during demo
|
||||
|
||||
ldx #3-1
|
||||
- lda patch3, x
|
||||
- lda patch1-3, x
|
||||
sta $92F, x
|
||||
sta $139F, x
|
||||
sta $1392, x
|
||||
sta $0B50, x
|
||||
sta $0B4B, x
|
||||
@ -46,9 +48,7 @@
|
||||
|
||||
patch1 !byte $30,$05,$AD,$00,$C0,$10,$29,$4C,$00,$01
|
||||
|
||||
patch2 !byte $10,$0A,$4C,$00,$01
|
||||
|
||||
patch3 !byte $4C,$00,$01
|
||||
patch2 !byte $10,$0A
|
||||
|
||||
title !byte x_e-x_b
|
||||
x_b !text "ALIEN.MUNCHIES"
|
||||
|
@ -21,35 +21,28 @@
|
||||
sta $472F
|
||||
jsr $4710 ; decompress
|
||||
|
||||
lda #0
|
||||
sta $2067
|
||||
lda #1
|
||||
sta $206C ; reset vector patch
|
||||
ldx #0
|
||||
stx $2067
|
||||
inx
|
||||
stx $206C ; reset vector patch
|
||||
|
||||
lda #$60
|
||||
sta $2075
|
||||
jsr $2001 ; unpack
|
||||
|
||||
lda #$4C
|
||||
sta $9D58
|
||||
sta $8FD6
|
||||
sta $8FEF
|
||||
sta $92B1
|
||||
lda #0
|
||||
sta $9D58+1
|
||||
sta $8FD6+1
|
||||
sta $8FEF+1
|
||||
sta $92B1+1
|
||||
lda #1
|
||||
sta $9D58+2
|
||||
sta $8FD6+2
|
||||
sta $8FEF+2
|
||||
sta $92B1+2 ; set exits
|
||||
ldx #3-1
|
||||
- lda patch,x
|
||||
sta $9D58,x
|
||||
sta $8FD6,x
|
||||
sta $8FEF,x
|
||||
sta $92B1,x ; set exits
|
||||
|
||||
+DISABLE_ACCEL
|
||||
|
||||
jmp $8F98
|
||||
|
||||
patch !byte $4C,$00,$01
|
||||
|
||||
title !byte x_e-x_b
|
||||
x_b !text "ALIEN.TYPHOON"
|
||||
x_e
|
||||
|
@ -22,36 +22,36 @@
|
||||
sta $6020
|
||||
jsr $6002 ; decompress
|
||||
|
||||
lda #$D8 ; move location from $3F2 to $3D8
|
||||
sta $1113 ; (program uses reset vector for storage)
|
||||
sta $1245
|
||||
sta $4A2C
|
||||
sta $4A34
|
||||
sta $4A41
|
||||
sta $5A9C
|
||||
sta $5AA4
|
||||
sta $5AB1
|
||||
sta $5A9C
|
||||
lda #$D9 ; move location from $3F3 to $3D9
|
||||
sta $1FA0
|
||||
sta $4A31
|
||||
sta $4F4D
|
||||
sta $5AA1
|
||||
lda #$DA ; move location from $3F4 to $3DA
|
||||
sta $11AF
|
||||
sta $1824
|
||||
sta $19DF
|
||||
sta $1DE8
|
||||
sta $1E5A ; reset vector fix
|
||||
ldx #$D8 ; move location from $3F2 to $3D8
|
||||
stx $1113 ; (program uses reset vector for storage)
|
||||
stx $1245
|
||||
stx $4A2C
|
||||
stx $4A34
|
||||
stx $4A41
|
||||
stx $5A9C
|
||||
stx $5AA4
|
||||
stx $5AB1
|
||||
stx $5A9C
|
||||
inx ; move location from $3F3 to $3D9
|
||||
stx $1FA0
|
||||
stx $4A31
|
||||
stx $4F4D
|
||||
stx $5AA1
|
||||
inx ; move location from $3F4 to $3DA
|
||||
stx $11AF
|
||||
stx $1824
|
||||
stx $19DF
|
||||
stx $1DE8
|
||||
stx $1E5A ; reset vector fix
|
||||
|
||||
lda #$4C
|
||||
sta $46C0
|
||||
lda #0
|
||||
sta $46C0+1
|
||||
sta $4A96 ; (moved to $1E37+1)
|
||||
lda #1
|
||||
sta $46C0+2 ; exit on keypress
|
||||
sta $4A9B ; exit at end of demo loop (moved to $1E37+2)
|
||||
ldx #0
|
||||
stx $46C0+1
|
||||
stx $4A96 ; (moved to $1E37+1)
|
||||
inx
|
||||
stx $46C0+2 ; exit on keypress
|
||||
stx $4A9B ; exit at end of demo loop (moved to $1E37+2)
|
||||
|
||||
lda $7fe
|
||||
pha
|
||||
|
@ -18,10 +18,10 @@
|
||||
lda #$4C
|
||||
sta $4FD7 ; exit on keypress
|
||||
sta $4F96 ; exit at end of demo
|
||||
lda #0
|
||||
sta $4FD7+1
|
||||
lda #1
|
||||
sta $4FD7+2
|
||||
ldx #0
|
||||
stx $4FD7+1
|
||||
inx
|
||||
stx $4FD7+2
|
||||
|
||||
; doesn't try to detect joystick or joystick buttons
|
||||
|
||||
@ -43,8 +43,7 @@ callback lda $C000
|
||||
lda #$FF
|
||||
jsr $FCA8 ; WAIT 0.16395694 seconds
|
||||
dec count
|
||||
beq +
|
||||
jmp callback
|
||||
bne callback
|
||||
+ jmp $100
|
||||
|
||||
count !byte $3D ; number of 0.16395694 second WAIT cycles
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15139832
|
||||
!be24 15147675
|
||||
!le16 5108
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15086748
|
||||
!be24 15094553
|
||||
!le16 5605
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15021666
|
||||
!be24 15029346
|
||||
!le16 3993
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15035734
|
||||
!be24 15043414
|
||||
!le16 4412
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15053320
|
||||
!le16 5615
|
||||
!be24 15061036
|
||||
!le16 5632
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15073432
|
||||
!le16 6231
|
||||
!be24 15081201
|
||||
!le16 6248
|
||||
|
@ -3,4 +3,4 @@
|
||||
;
|
||||
; This file is automatically generated
|
||||
;
|
||||
!word 425
|
||||
!word 426
|
||||
|
@ -3,4 +3,4 @@
|
||||
;
|
||||
; This file is automatically generated
|
||||
;
|
||||
!word 467
|
||||
!word 468
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15144940
|
||||
!be24 15152783
|
||||
!le16 410
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15145694
|
||||
!be24 15153537
|
||||
!le16 448
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15146142
|
||||
!be24 15153985
|
||||
!le16 303
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15094993
|
||||
!be24 15102798
|
||||
!le16 1640
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15145426
|
||||
!be24 15153269
|
||||
!le16 67
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15139773
|
||||
!be24 15147616
|
||||
!le16 59
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15138239
|
||||
!be24 15146082
|
||||
!le16 1437
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15123046
|
||||
!be24 15130889
|
||||
!le16 537
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15092353
|
||||
!be24 15100158
|
||||
!le16 2640
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15096991
|
||||
!le16 7085
|
||||
!be24 15104796
|
||||
!le16 7104
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15145350
|
||||
!be24 15153193
|
||||
!le16 76
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15139676
|
||||
!be24 15147519
|
||||
!le16 97
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15145493
|
||||
!be24 15153336
|
||||
!le16 201
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15123583
|
||||
!be24 15131426
|
||||
!le16 4702
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15128285
|
||||
!be24 15136128
|
||||
!le16 1702
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15129987
|
||||
!be24 15137830
|
||||
!le16 1129
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15131116
|
||||
!be24 15138959
|
||||
!le16 3388
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15134504
|
||||
!be24 15142347
|
||||
!le16 3142
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15137646
|
||||
!be24 15145489
|
||||
!le16 479
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15138125
|
||||
!be24 15145968
|
||||
!le16 114
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15146445
|
||||
!be24 15154288
|
||||
!le16 2370
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15109345
|
||||
!be24 15117169
|
||||
!le16 4728
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15114073
|
||||
!be24 15121897
|
||||
!le16 2343
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15079663
|
||||
!le16 7085
|
||||
!be24 15087449
|
||||
!le16 7104
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 4008960
|
||||
!be24 4016640
|
||||
!le16 8192
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 4025344
|
||||
!be24 4033024
|
||||
!le16 8192
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 4017152
|
||||
!be24 4024832
|
||||
!le16 8192
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15012465
|
||||
!be24 15020145
|
||||
!le16 9201
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15025659
|
||||
!be24 15033339
|
||||
!le16 10075
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15040146
|
||||
!le16 13174
|
||||
!be24 15047826
|
||||
!le16 13210
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15058935
|
||||
!le16 14497
|
||||
!be24 15066668
|
||||
!le16 14533
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15096633
|
||||
!be24 15104438
|
||||
!le16 358
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15104076
|
||||
!be24 15111900
|
||||
!le16 5269
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15116416
|
||||
!le16 6630
|
||||
!be24 15124240
|
||||
!le16 6649
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15008501
|
||||
!be24 15016181
|
||||
!le16 3964
|
||||
|
57
src/prelaunch/space.spikes.a
Normal file
57
src/prelaunch/space.spikes.a
Normal file
@ -0,0 +1,57 @@
|
||||
;license:MIT
|
||||
;(c) 2022 by qkumba
|
||||
|
||||
!cpu 6502
|
||||
!to "build/PRELAUNCH.INDEXED/SPACE.SPIKES",plain
|
||||
*=$106
|
||||
|
||||
!source "src/prelaunch/common.a"
|
||||
|
||||
+ENABLE_ACCEL
|
||||
lda #$60
|
||||
sta $88D
|
||||
sta $905
|
||||
sta $96E
|
||||
jsr $800 ; decompress
|
||||
- lda x_b, y
|
||||
sta $250, y
|
||||
iny
|
||||
bne -
|
||||
lda #<callback1
|
||||
sta $9501
|
||||
lda #<callback2
|
||||
sta $95B1
|
||||
lda #>callback1
|
||||
sta $9502
|
||||
sta $95B2
|
||||
jmp $9500
|
||||
|
||||
x_b !pseudopc $250 {
|
||||
callback1
|
||||
+READ_RAM2_NO_WRITE
|
||||
jsr EnableAccelerator
|
||||
jsr $9503
|
||||
+DISABLE_ACCEL
|
||||
jsr $BC69
|
||||
sta $C010
|
||||
|
||||
callback2
|
||||
+READ_RAM2_NO_WRITE
|
||||
jsr EnableAccelerator
|
||||
jsr $BC78
|
||||
|
||||
+READ_RAM2_NO_WRITE
|
||||
lda MachineStatus
|
||||
and #CHEATS_ENABLED
|
||||
beq +
|
||||
lda #$ad
|
||||
sta $6B5C ; patch - don't decrease lives
|
||||
+
|
||||
jsr DisableAccelerator
|
||||
+READ_ROM_NO_WRITE
|
||||
jmp $A00
|
||||
}
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user