mirror of
https://github.com/a2-4am/4cade.git
synced 2024-12-21 02:30:27 +00:00
Nibbler & Flip Out demo launchers (#405)
* Add files via upload * Add files via upload
This commit is contained in:
parent
e2a907e75b
commit
b0d96bad23
Binary file not shown.
BIN
res/DEMO/NIBBLER
BIN
res/DEMO/NIBBLER
Binary file not shown.
@ -54,7 +54,7 @@ FALCONS=Type(06),AuxType(B000),Access(C3)
|
||||
FIREBIRD=Type(06),AuxType(0300),Access(C3)
|
||||
FIREBIRD.1=Type(F1),AuxType(0000),Access(C3)
|
||||
FIREBUG=Type(06),AuxType(0200),Access(C3)
|
||||
FLIP.OUT=Type(06),AuxType(0BF4),Access(C3)
|
||||
FLIP.OUT=Type(06),AuxType(0300),Access(C3)
|
||||
GAMMA.GOBLINS=Type(06),AuxType(0300),Access(C3)
|
||||
GAMMA.GOBLINS.1=Type(F1),AuxType(0000),Access(C3)
|
||||
THE.GOONIES=Type(06),AuxType(1000),Access(C3)
|
||||
@ -110,7 +110,7 @@ NI=Type(06),AuxType(0300),Access(C3)
|
||||
NIGHTMARE.1=Type(F1),AuxType(0000),Access(C3)
|
||||
N.O.R.A.D=Type(06),AuxType(0300),Access(C3)
|
||||
NORAD.1=Type(F1),AuxType(0000),Access(C3)
|
||||
NIBBLER=Type(06),AuxType(0900),Access(C3)
|
||||
NIBBLER=Type(06),AuxType(0300),Access(C3)
|
||||
OM=Type(06),AuxType(08FD),Access(C3)
|
||||
PACMAN=Type(06),AuxType(0300),Access(C3)
|
||||
PEST.PATROL=Type(06),AuxType(0800),Access(C3)
|
||||
|
72
src/demo/flip.out.a
Normal file
72
src/demo/flip.out.a
Normal file
@ -0,0 +1,72 @@
|
||||
;license:MIT
|
||||
;(c) 2021 by Frank M.
|
||||
|
||||
!cpu 6502
|
||||
!to "res/DEMO/FLIP.OUT",plain
|
||||
*=$300
|
||||
|
||||
!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 $3EEE
|
||||
jsr $3EC7 ; decompress
|
||||
|
||||
lda #$60
|
||||
sta $BF0E
|
||||
jsr $BEF7 ; decompress and show title
|
||||
|
||||
ldx #13-1
|
||||
- lda patch1, x
|
||||
sta $8B39, x
|
||||
dex
|
||||
bpl - ; exit on keypress on main menu
|
||||
|
||||
ldx #7-1
|
||||
- lda patch2, x
|
||||
sta $88BF, x
|
||||
dex
|
||||
bpl -
|
||||
|
||||
lda #$10
|
||||
sta $6474
|
||||
sta $685E
|
||||
lda #$1C
|
||||
sta $6474+1
|
||||
sta $685E+1
|
||||
lda #$4C
|
||||
sta $6474+2
|
||||
sta $685E+2
|
||||
sta $78CD
|
||||
lda #0
|
||||
sta $6474+3
|
||||
sta $685E+3
|
||||
sta $78CD+1
|
||||
lda #1
|
||||
sta $6474+4
|
||||
sta $685E+4
|
||||
sta $78CD+2 ; set exits
|
||||
|
||||
lda #$D0
|
||||
sta $7716
|
||||
sta $7730 ; disable sound
|
||||
|
||||
+DISABLE_ACCEL
|
||||
|
||||
jmp $8F63
|
||||
|
||||
title !byte x_e-x_b
|
||||
x_b !text "X/FLIP.OUT/FLIP.OUT"
|
||||
x_e
|
||||
|
||||
patch1 !byte $B0,$08,$AD,$00,$C0,$10,$1F,$4C,$00,$01,$20,$69,$8B
|
||||
|
||||
patch2 !byte $10,$03,$4C,$00,$01,$EA,$EA
|
||||
|
||||
!if * > $3F0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
56
src/demo/nibbler.a
Normal file
56
src/demo/nibbler.a
Normal file
@ -0,0 +1,56 @@
|
||||
;license:MIT
|
||||
;(c) 2021 by Frank M.
|
||||
|
||||
!cpu 6502
|
||||
!to "res/DEMO/NIBBLER",plain
|
||||
*=$300
|
||||
|
||||
!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 $8A19
|
||||
jsr $6550 ; decompress and show title
|
||||
|
||||
lda #$A9
|
||||
sta $165C
|
||||
lda #$EA
|
||||
sta $165C+2 ; disable button detection
|
||||
|
||||
lda #$0A
|
||||
sta $1984
|
||||
lda #$4C
|
||||
sta $1984+1
|
||||
sta $166D
|
||||
sta $0981
|
||||
sta $11BC
|
||||
lda #0
|
||||
sta $1984+2
|
||||
sta $166D+1
|
||||
sta $0981+1
|
||||
sta $11BC+1
|
||||
lda #1
|
||||
sta $165C+1
|
||||
sta $1984+3
|
||||
sta $166D+2
|
||||
sta $0981+2
|
||||
sta $11BC+2 ; set exits
|
||||
|
||||
lda #$FF
|
||||
sta $0914 ; disable sound
|
||||
|
||||
+DISABLE_ACCEL
|
||||
|
||||
jmp $900
|
||||
|
||||
title !byte x_e-x_b
|
||||
x_b !text "X/NIBBLER/NIBBLER"
|
||||
x_e
|
||||
|
||||
!if * > $3F0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
Loading…
Reference in New Issue
Block a user