mirror of
https://github.com/a2-4am/4cade.git
synced 2025-01-28 00:30:45 +00:00
limit prelaunch code-size
This commit is contained in:
parent
1456496269
commit
da745c72f2
@ -19,3 +19,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $7c1e
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -19,3 +19,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $4000
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -19,3 +19,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $73a0
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -20,3 +20,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $833
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -24,3 +24,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $1000
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -24,3 +24,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $2001
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -20,3 +20,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $4000
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -23,3 +23,7 @@
|
||||
lda $c08b
|
||||
jsr $ee1f
|
||||
jmp $981
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -20,3 +20,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $800
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -19,3 +19,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $5c00
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -36,3 +36,7 @@ cheat
|
||||
jsr DisableAccelerator
|
||||
lda #$c2
|
||||
jmp $d300
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -21,3 +21,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $810
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -25,3 +25,7 @@ cheat
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
rts
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -23,3 +23,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $BB00
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -37,3 +37,7 @@ cheat2
|
||||
sta $76ba ; patch - don't increase lives
|
||||
+
|
||||
jmp ($b2ce)
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -20,3 +20,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $1100
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -28,3 +28,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $7200
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -24,3 +24,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $0A00
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -56,3 +56,7 @@ lcpatch
|
||||
jmp $3800
|
||||
}
|
||||
cheat_e
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -20,3 +20,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $6000
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -21,3 +21,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $400
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -29,3 +29,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $a300
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -21,3 +21,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $8000
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -20,3 +20,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $a000
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -19,3 +19,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $3000
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -20,3 +20,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $5FED
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -19,3 +19,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $A000
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -22,3 +22,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $6000
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -20,3 +20,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $1000
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -34,3 +34,7 @@ cheat
|
||||
jsr DisableAccelerator
|
||||
lda #$c2
|
||||
jmp $d300
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -34,3 +34,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $6ba5
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -20,3 +20,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $0800
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -21,3 +21,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $4000
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -23,3 +23,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $4000
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -20,3 +20,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $4000
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -19,3 +19,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $8EA6
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -10,3 +10,7 @@
|
||||
lda #$8b
|
||||
sta $bf23 ; disable ROM mapping
|
||||
jmp $2000
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -21,3 +21,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $4000
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -21,3 +21,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $5f00
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -20,3 +20,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $8000
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -20,3 +20,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $4000
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -19,3 +19,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $8000
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -68,3 +68,7 @@ jmp1
|
||||
rts
|
||||
}
|
||||
cheat_e
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -25,3 +25,7 @@
|
||||
sta $962A ; patch - don't decrease lives
|
||||
+
|
||||
jmp ($0020)
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -19,3 +19,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $6000
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -19,3 +19,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $b000
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -24,3 +24,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $4000
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -24,3 +24,7 @@
|
||||
lda #$00
|
||||
tay
|
||||
jmp $2035
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -23,3 +23,7 @@ patch
|
||||
sta $5846 ; patch - don't decrease lives
|
||||
+
|
||||
jmp $57D7
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -20,3 +20,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $0B00
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -23,3 +23,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $A720
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -24,3 +24,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $4000
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -27,3 +27,7 @@ patcher rts
|
||||
lda #$FF
|
||||
pha
|
||||
rts
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -27,3 +27,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $6000
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -25,3 +25,7 @@ patch nop
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $94E0
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -25,3 +25,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $3e00
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -22,3 +22,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $8000
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -18,3 +18,7 @@
|
||||
sta $BD34 ; patch - don't decrease lives
|
||||
+
|
||||
jmp $61E3
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -30,3 +30,7 @@ cheat=*+1
|
||||
+
|
||||
jmp $8460
|
||||
end_patch
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -25,3 +25,7 @@ cheat
|
||||
sta $1476
|
||||
+
|
||||
jmp $1000
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -21,3 +21,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp ($0020)
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -22,3 +22,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $9050
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -19,3 +19,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $4000
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -19,3 +19,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $6004
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -23,3 +23,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $919
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -51,3 +51,7 @@ cheat48
|
||||
lda #>cheat1
|
||||
sta $1041
|
||||
jmp $1000
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -19,3 +19,7 @@
|
||||
sta $78C5 ; patch - don't increase lives
|
||||
+
|
||||
jmp $7600
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -28,3 +28,7 @@ cheat
|
||||
sta $87e0
|
||||
sta $97d2
|
||||
rts
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -13,3 +13,7 @@
|
||||
jsr $44E5 ; decompress
|
||||
+DISABLE_ACCEL
|
||||
jmp $0800
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -10,3 +10,7 @@
|
||||
lda #$8b
|
||||
sta $bf23 ; disable ROM mapping
|
||||
jmp $800
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -20,3 +20,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $4003
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -13,3 +13,7 @@
|
||||
jsr $0800 ; decompress
|
||||
+DISABLE_ACCEL
|
||||
jmp $6000
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -22,3 +22,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $6000
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -24,3 +24,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $B7A1
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -30,3 +30,7 @@ cheat=*+1
|
||||
sta $868F ; patch - don't decrease lives
|
||||
+
|
||||
jmp $0800
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -9,3 +9,7 @@
|
||||
|
||||
inc $80 ; requires a non-zero value for the RNG
|
||||
jmp $4621
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -20,3 +20,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $9e00
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -21,3 +21,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $6000
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -18,3 +18,7 @@
|
||||
ldx #$FD ; Jump to game entry point via stack pop.
|
||||
txs
|
||||
rts
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -29,3 +29,7 @@ cheat
|
||||
sta $1998
|
||||
+
|
||||
jmp $d00
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -32,3 +32,7 @@ patch
|
||||
+DISABLE_ACCEL
|
||||
jmp $6B00
|
||||
end_patch
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -21,3 +21,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $9000
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -31,3 +31,7 @@ patch
|
||||
+
|
||||
jmp $0400
|
||||
end_patch
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -28,3 +28,7 @@ patch
|
||||
sta $0912 ; patch - don't decrease lives
|
||||
+
|
||||
jmp $0200 ; continue with load
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -18,3 +18,7 @@
|
||||
+
|
||||
+DISABLE_ACCEL
|
||||
jmp $800
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -34,3 +34,7 @@ patch2
|
||||
sta $894F ; patch - don't increase lives
|
||||
+
|
||||
jmp $0600
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
@ -24,3 +24,7 @@ cheat
|
||||
sty $1a61
|
||||
+
|
||||
jmp $200
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user