mirror of
https://github.com/a2-4am/4cade.git
synced 2024-09-15 12:56:27 +00:00
Alien Munchies & N.O.R.A.D. demo launchers (#429)
* Add files via upload * Add files via upload * Add files via upload * Delete NORAD.1 * Delete ALIEN.MUNCH.1
This commit is contained in:
parent
82fe324365
commit
af5e4a50e6
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
res/DEMO/NORAD.1
BIN
res/DEMO/NORAD.1
Binary file not shown.
@ -3,8 +3,7 @@
|
||||
AGENT.U.S.A=Type(06),AuxType(0300),Access(C3)
|
||||
ALIEN.AMBUSH=Type(06),AuxType(4000),Access(C3)
|
||||
ALIEN.DOWNPOUR=Type(06),AuxType(0300),Access(C3)
|
||||
ALIEN.MUNCHIES=Type(06),AuxType(0300),Access(C3)
|
||||
ALIEN.MUNCH.1=Type(F1),AuxType(0000),Access(C3)
|
||||
ALIEN.MUNCHIES=Type(06),AuxType(0200),Access(C3)
|
||||
ALIEN.TYPHOON=Type(06),AuxType(0300),Access(C3)
|
||||
APPLE.INVADER=Type(06),AuxType(0200),Access(C3)
|
||||
AQUATRON=Type(06),AuxType(BD00),Access(C3)
|
||||
@ -76,8 +75,7 @@ MC=Type(06),AuxType(3FE7),Access(C3)
|
||||
MOON.PATROL=Type(06),AuxType(0200),Access(C3)
|
||||
NIGHT.STALKER=Type(06),AuxType(A000),Access(C3)
|
||||
NI=Type(06),AuxType(0300),Access(C3)
|
||||
N.O.R.A.D=Type(06),AuxType(0300),Access(C3)
|
||||
NORAD.1=Type(F1),AuxType(0000),Access(C3)
|
||||
N.O.R.A.D=Type(06),AuxType(0330),Access(C3)
|
||||
NIBBLER=Type(06),AuxType(0300),Access(C3)
|
||||
OM=Type(06),AuxType(08FD),Access(C3)
|
||||
PACMAN=Type(06),AuxType(0300),Access(C3)
|
||||
|
60
src/demo/alien.munchies.a
Normal file
60
src/demo/alien.munchies.a
Normal file
@ -0,0 +1,60 @@
|
||||
;license:MIT
|
||||
;(c) 2021 by Frank M.
|
||||
|
||||
!cpu 6502
|
||||
!to "res/DEMO/ALIEN.MUNCHIES",plain
|
||||
*=$200
|
||||
|
||||
!source "src/constants.a" ; no code in these
|
||||
!source "src/macros.a"
|
||||
|
||||
+READ_RAM2_WRITE_RAM2
|
||||
jsr EnableAccelerator
|
||||
+LOAD_FILE_AT title, $00
|
||||
|
||||
lda #$60
|
||||
sta $1638
|
||||
jsr $1610 ; decompress
|
||||
|
||||
ldx #10-1
|
||||
- lda patch1, x
|
||||
sta $0F67, x
|
||||
dex
|
||||
bpl - ; exit on button or keypress during demo
|
||||
|
||||
ldx #5-1
|
||||
- lda patch2, x
|
||||
sta $092D, x
|
||||
sta $139D, x
|
||||
dex
|
||||
bpl - ; exit on keypress at title screen & during demo
|
||||
|
||||
ldx #3-1
|
||||
- lda patch3, x
|
||||
sta $1392, x
|
||||
sta $0B50, x
|
||||
sta $0B4B, x
|
||||
sta $1153, x
|
||||
dex
|
||||
bpl - ; set exits
|
||||
|
||||
lda #$D0
|
||||
sta $1161 ; disable sound
|
||||
|
||||
+DISABLE_ACCEL
|
||||
|
||||
jmp $833
|
||||
|
||||
patch1 !byte $30,$05,$AD,$00,$C0,$10,$29,$4C,$00,$01
|
||||
|
||||
patch2 !byte $10,$0A,$4C,$00,$01
|
||||
|
||||
patch3 !byte $4C,$00,$01
|
||||
|
||||
title !byte x_e-x_b
|
||||
x_b !text "X/ALIEN.MUNCHIES/ALIEN.MUNCHIES"
|
||||
x_e
|
||||
|
||||
!if * > $3F0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
50
src/demo/n.o.r.a.d.a
Normal file
50
src/demo/n.o.r.a.d.a
Normal file
@ -0,0 +1,50 @@
|
||||
;license:MIT
|
||||
;(c) 2021 by Frank M.
|
||||
|
||||
!cpu 6502
|
||||
!to "res/DEMO/N.O.R.A.D",plain
|
||||
*=$330
|
||||
|
||||
!source "src/constants.a" ; no code in these
|
||||
!source "src/macros.a"
|
||||
|
||||
+READ_RAM2_WRITE_RAM2
|
||||
jsr EnableAccelerator
|
||||
+LOAD_FILE_AT title, $00
|
||||
+READ_ROM_NO_WRITE
|
||||
|
||||
lda #$60
|
||||
sta $497E
|
||||
jsr $4900 ; decompress
|
||||
|
||||
lda #$1D
|
||||
sta $0DB5+4
|
||||
lda #$4C
|
||||
sta $0DD7
|
||||
sta $0E64
|
||||
sta $0E4C ; instead of $443D, this shows lores 'flash' at demo cycle end
|
||||
lda #0
|
||||
sta $0DD7+1
|
||||
sta $0E64+1
|
||||
sta $0E4C+1
|
||||
lda #1
|
||||
sta $0DD7+2
|
||||
sta $0E64+2
|
||||
sta $0E4C+2 ; set exits
|
||||
|
||||
lda #$D0
|
||||
sta $0DE7+2
|
||||
sta $1486+2
|
||||
sta $40E7+2 ; disable sound/cassette output
|
||||
|
||||
+DISABLE_ACCEL
|
||||
|
||||
jmp $0EDD
|
||||
|
||||
title !byte x_e-x_b
|
||||
x_b !text "X/N.O.R.A.D/N.O.R.A.D"
|
||||
x_e
|
||||
|
||||
!if * > $3F0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
;license:MIT
|
||||
;(c) 2019 by qkumba
|
||||
;(c) 2019 by qkumba/Frank M.
|
||||
|
||||
!cpu 6502
|
||||
!to "build/PRELAUNCH.INDEXED/ALIEN.AMBUSH",plain
|
||||
@ -8,6 +8,7 @@
|
||||
!source "src/prelaunch/common.a"
|
||||
|
||||
+ENABLE_ACCEL
|
||||
+NEW_RESET_VECTOR $3E0 ; overwrites $101 at end of demo cycle
|
||||
lda #$60
|
||||
sta $81c
|
||||
jsr $800 ; decompress
|
||||
|
Loading…
Reference in New Issue
Block a user