mirror of
https://github.com/a2-4am/4cade.git
synced 2024-12-24 22:31:40 +00:00
replace Aztec with smaller version, save ~53kb
This commit is contained in:
parent
33534ff61d
commit
c98af1b4df
@ -58,7 +58,7 @@
|
|||||||
10011,AS=Asteroid Blaster
|
10011,AS=Asteroid Blaster
|
||||||
10041,ASCEND=Ascend
|
10041,ASCEND=Ascend
|
||||||
10011,AXIS.ASSASSIN=Axis Assassin
|
10011,AXIS.ASSASSIN=Axis Assassin
|
||||||
00000,AZTEC=Aztec
|
00030,AZTEC=Aztec
|
||||||
10010,BQ=BC's Quest for Tires
|
10010,BQ=BC's Quest for Tires
|
||||||
11110,BAD.DUDES=Bad Dudes
|
11110,BAD.DUDES=Bad Dudes
|
||||||
10001,BALLBLAZER=Ballblazer
|
10001,BALLBLAZER=Ballblazer
|
||||||
|
BIN
res/dsk/aztec PRODOS (san inc crack).po
Normal file
BIN
res/dsk/aztec PRODOS (san inc crack).po
Normal file
Binary file not shown.
Binary file not shown.
@ -1,5 +1,5 @@
|
|||||||
;license:MIT
|
;license:MIT
|
||||||
;(c) 2019-2020 by qkumba
|
;(c) 2023 by qkumba
|
||||||
|
|
||||||
!cpu 6502
|
!cpu 6502
|
||||||
!to "build/PRELAUNCH.INDEXED/AZTEC",plain
|
!to "build/PRELAUNCH.INDEXED/AZTEC",plain
|
||||||
@ -9,13 +9,27 @@
|
|||||||
|
|
||||||
+ENABLE_ACCEL
|
+ENABLE_ACCEL
|
||||||
lda #$60
|
lda #$60
|
||||||
sta $A00
|
sta $1F3C
|
||||||
jsr $800 ; find and load "DOS"
|
jsr $1E60 ; decompress
|
||||||
lda #<callback
|
lda #$20
|
||||||
sta $B748
|
sta $6571
|
||||||
lda #>callback
|
lda #<keypress
|
||||||
sta $B749
|
sta $6572
|
||||||
jmp $B700
|
lda #>keypress
|
||||||
|
sta $6573
|
||||||
|
+GET_MACHINE_STATUS
|
||||||
|
and #CHEATS_ENABLED
|
||||||
|
beq +
|
||||||
|
lda #$AD
|
||||||
|
sta $61B5
|
||||||
|
sta $61BD
|
||||||
|
sta $61C3
|
||||||
|
sta $61D0
|
||||||
|
sta $52D7
|
||||||
|
sta $144B
|
||||||
|
+
|
||||||
|
+DISABLE_ACCEL
|
||||||
|
jmp $1B00
|
||||||
|
|
||||||
keypress
|
keypress
|
||||||
lda $C000
|
lda $C000
|
||||||
@ -25,37 +39,6 @@ keypress
|
|||||||
lda #$8D
|
lda #$8D
|
||||||
rts
|
rts
|
||||||
|
|
||||||
intercept
|
|
||||||
jsr $BD5F
|
|
||||||
jsr $BD09
|
|
||||||
lda $656B
|
|
||||||
cmp #$2C
|
|
||||||
clc
|
|
||||||
bne +
|
|
||||||
lda #$20
|
|
||||||
sta $656B
|
|
||||||
lda #<keypress
|
|
||||||
sta $656C
|
|
||||||
lda #>keypress
|
|
||||||
sta $656D
|
|
||||||
+ rts
|
|
||||||
|
|
||||||
callback
|
|
||||||
ldx #0
|
|
||||||
stx $9E52
|
|
||||||
inx
|
|
||||||
stx $9E53 ; reset vector patch
|
|
||||||
lda #$4C
|
|
||||||
sta $BD06
|
|
||||||
lda #<intercept
|
|
||||||
sta $BD07
|
|
||||||
lda #>intercept
|
|
||||||
sta $BD08
|
|
||||||
sta $656B
|
|
||||||
|
|
||||||
+DISABLE_ACCEL
|
|
||||||
jmp $9D84
|
|
||||||
|
|
||||||
!if * > $1C0 {
|
!if * > $1C0 {
|
||||||
!error "code is too large, ends at ", *
|
!error "code is too large, ends at ", *
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user