mirror of
https://github.com/a2-4am/4cade.git
synced 2024-06-01 23:41:39 +00:00
some demo cleanup
This commit is contained in:
parent
8b04e0e8af
commit
c3abf3d031
BIN
res/DEMO/AC
BIN
res/DEMO/AC
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
res/DEMO/AO
BIN
res/DEMO/AO
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
res/DEMO/BB
BIN
res/DEMO/BB
Binary file not shown.
Binary file not shown.
BIN
res/DEMO/BELLHOP
BIN
res/DEMO/BELLHOP
Binary file not shown.
BIN
res/DEMO/BK
BIN
res/DEMO/BK
Binary file not shown.
BIN
res/DEMO/BOLO
BIN
res/DEMO/BOLO
Binary file not shown.
BIN
res/DEMO/BORG
BIN
res/DEMO/BORG
Binary file not shown.
BIN
res/DEMO/BU
BIN
res/DEMO/BU
Binary file not shown.
Binary file not shown.
BIN
res/DEMO/CB
BIN
res/DEMO/CB
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
res/DEMO/CL
BIN
res/DEMO/CL
Binary file not shown.
BIN
res/DEMO/CONAN
BIN
res/DEMO/CONAN
Binary file not shown.
Binary file not shown.
BIN
res/DEMO/CYCLOD
BIN
res/DEMO/CYCLOD
Binary file not shown.
BIN
res/DEMO/DIG.DUG
BIN
res/DEMO/DIG.DUG
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
res/DEMO/FALCONS
BIN
res/DEMO/FALCONS
Binary file not shown.
Binary file not shown.
BIN
res/DEMO/FIREBUG
BIN
res/DEMO/FIREBUG
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
res/DEMO/GUMBALL
BIN
res/DEMO/GUMBALL
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
res/DEMO/MC
BIN
res/DEMO/MC
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
res/DEMO/NI
BIN
res/DEMO/NI
Binary file not shown.
BIN
res/DEMO/NIBBLER
BIN
res/DEMO/NIBBLER
Binary file not shown.
Binary file not shown.
BIN
res/DEMO/OM
BIN
res/DEMO/OM
Binary file not shown.
BIN
res/DEMO/PACMAN
BIN
res/DEMO/PACMAN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
res/DEMO/PM
BIN
res/DEMO/PM
Binary file not shown.
BIN
res/DEMO/POOYAN
BIN
res/DEMO/POOYAN
Binary file not shown.
BIN
res/DEMO/REPTON
BIN
res/DEMO/REPTON
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
res/DEMO/SD
BIN
res/DEMO/SD
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
res/DEMO/TB
BIN
res/DEMO/TB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,5 +1,5 @@
|
||||||
;license:MIT
|
;license:MIT
|
||||||
;(c) 2021 by Frank M.
|
;(c) 2021-2022 by Frank M., qkumba
|
||||||
|
|
||||||
!cpu 6502
|
!cpu 6502
|
||||||
!to "res/DEMO/AGENT.U.S.A",plain
|
!to "res/DEMO/AGENT.U.S.A",plain
|
||||||
|
@ -23,26 +23,22 @@
|
||||||
rol $3F3 ; point to $300 instead
|
rol $3F3 ; point to $300 instead
|
||||||
jsr $FB6F
|
jsr $FB6F
|
||||||
|
|
||||||
lda #$EA
|
ldx #3-1
|
||||||
sta $15DD
|
- lda #$EA
|
||||||
sta $15DD+1
|
sta $15DD,x ; disable button press on main menu
|
||||||
sta $15DD+2 ; disable button press on main menu
|
lda patch,x
|
||||||
|
sta $0A06,x
|
||||||
lda #$4C
|
sta $1605,x ; set exits
|
||||||
sta $0A06
|
dex
|
||||||
sta $1605
|
bpl -
|
||||||
inx
|
|
||||||
stx $0A06+1
|
|
||||||
stx $1605+1
|
|
||||||
inx
|
|
||||||
stx $0A06+2
|
|
||||||
stx $1605+2 ; set exits
|
|
||||||
|
|
||||||
lda #$D0
|
lda #$D0
|
||||||
sta $AC64 ; disable sound
|
sta $AC64 ; disable sound
|
||||||
|
|
||||||
jmp $837
|
jmp $837
|
||||||
|
|
||||||
|
patch !byte $4C,$00,$01
|
||||||
|
|
||||||
title !byte x_e-x_b
|
title !byte x_e-x_b
|
||||||
x_b !text "AGENT.U.S.A"
|
x_b !text "AGENT.U.S.A"
|
||||||
x_e
|
x_e
|
||||||
|
|
|
@ -8,24 +8,23 @@
|
||||||
!source "src/constants.a" ; no code in these
|
!source "src/constants.a" ; no code in these
|
||||||
!source "src/macros.a"
|
!source "src/macros.a"
|
||||||
|
|
||||||
+ENABLE_ACCEL
|
+ENABLE_ACCEL_LC
|
||||||
+LOAD_XSINGLE title
|
+LOAD_XSINGLE title
|
||||||
+NEW_RESET_VECTOR $3E0 ; overwrites $101 at end of demo cycle
|
+NEW_RESET_VECTOR $3E0 ; overwrites $101 at end of demo cycle
|
||||||
lda #$60
|
lda #$60
|
||||||
sta $81c
|
sta $81c
|
||||||
jsr $800 ; decompress
|
jsr $800 ; decompress
|
||||||
lda #$4C
|
ldx #3-1
|
||||||
sta $60CA
|
- lda patch,x
|
||||||
sta $6040
|
sta $60CA,x
|
||||||
lda #$E0
|
sta $6040,x
|
||||||
sta $60CB
|
dex
|
||||||
sta $6041
|
bpl -
|
||||||
lda #3
|
|
||||||
sta $60CC
|
|
||||||
sta $6042
|
|
||||||
+DISABLE_ACCEL
|
+DISABLE_ACCEL
|
||||||
jmp $4000
|
jmp $4000
|
||||||
|
|
||||||
|
patch !byte $4C,$E0,$03
|
||||||
|
|
||||||
title !byte x_e-x_b
|
title !byte x_e-x_b
|
||||||
x_b !text "ALIEN.AMBUSH"
|
x_b !text "ALIEN.AMBUSH"
|
||||||
x_e
|
x_e
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
;license:MIT
|
;license:MIT
|
||||||
;(c) 2021 by qkumba
|
;(c) 2021-2022 by qkumba
|
||||||
|
|
||||||
!cpu 6502
|
!cpu 6502
|
||||||
!to "res/DEMO/ALIEN.DOWNPOUR",plain
|
!to "res/DEMO/ALIEN.DOWNPOUR",plain
|
||||||
|
@ -8,34 +8,27 @@
|
||||||
!source "src/constants.a" ; no code in these
|
!source "src/constants.a" ; no code in these
|
||||||
!source "src/macros.a"
|
!source "src/macros.a"
|
||||||
|
|
||||||
+ENABLE_ACCEL
|
+ENABLE_ACCEL_LC
|
||||||
+LOAD_XSINGLE title
|
+LOAD_XSINGLE title
|
||||||
lda #$60
|
lda #$60
|
||||||
sta $201f
|
sta $201f
|
||||||
jsr $2000 ; decompress
|
jsr $2000 ; decompress
|
||||||
lda #$4C
|
ldx #3-1
|
||||||
sta $868C
|
- lda patch,x
|
||||||
sta $7B88
|
sta $868C,x
|
||||||
sta $8FDF
|
sta $7B88,x
|
||||||
sta $902F
|
sta $8FDF,x
|
||||||
sta $9078
|
sta $902F,x
|
||||||
ldx #0
|
sta $9078,x
|
||||||
stx $868D
|
dex
|
||||||
stx $7B89
|
bpl -
|
||||||
stx $8FE0
|
|
||||||
stx $9030
|
|
||||||
stx $9079
|
|
||||||
inx
|
|
||||||
stx $868E
|
|
||||||
stx $7B8A
|
|
||||||
stx $8FE1
|
|
||||||
stx $9031
|
|
||||||
stx $907A
|
|
||||||
lda #$D0
|
lda #$D0
|
||||||
sta $6E6D
|
sta $6E6D
|
||||||
+DISABLE_ACCEL
|
+DISABLE_ACCEL
|
||||||
jmp $73a0
|
jmp $73a0
|
||||||
|
|
||||||
|
patch !byte $4C,$00,$01
|
||||||
|
|
||||||
title !byte x_e-x_b
|
title !byte x_e-x_b
|
||||||
x_b !text "ALIEN.DOWNPOUR"
|
x_b !text "ALIEN.DOWNPOUR"
|
||||||
x_e
|
x_e
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
;license:MIT
|
;license:MIT
|
||||||
;(c) 2021 by Frank M.
|
;(c) 2021-2022 by Frank M., qkumba
|
||||||
|
|
||||||
!cpu 6502
|
!cpu 6502
|
||||||
!to "res/DEMO/ALIEN.MUNCHIES",plain
|
!to "res/DEMO/ALIEN.MUNCHIES",plain
|
||||||
|
@ -8,7 +8,7 @@
|
||||||
!source "src/constants.a" ; no code in these
|
!source "src/constants.a" ; no code in these
|
||||||
!source "src/macros.a"
|
!source "src/macros.a"
|
||||||
|
|
||||||
+ENABLE_ACCEL
|
+ENABLE_ACCEL_LC
|
||||||
+LOAD_XSINGLE title
|
+LOAD_XSINGLE title
|
||||||
|
|
||||||
lda #$60
|
lda #$60
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
bpl - ; exit on keypress at title screen & during demo
|
bpl - ; exit on keypress at title screen & during demo
|
||||||
|
|
||||||
ldx #3-1
|
ldx #3-1
|
||||||
- lda patch1-3, x
|
- lda patch3, x
|
||||||
sta $92F, x
|
sta $92F, x
|
||||||
sta $139F, x
|
sta $139F, x
|
||||||
sta $1392, x
|
sta $1392, x
|
||||||
|
@ -46,7 +46,8 @@
|
||||||
|
|
||||||
jmp $833
|
jmp $833
|
||||||
|
|
||||||
patch1 !byte $30,$05,$AD,$00,$C0,$10,$29,$4C,$00,$01
|
patch1 !byte $30,$05,$AD,$00,$C0,$10,$29
|
||||||
|
patch3 !byte $4C,$00,$01
|
||||||
|
|
||||||
patch2 !byte $10,$0A
|
patch2 !byte $10,$0A
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
;license:MIT
|
;license:MIT
|
||||||
;(c) 2021 by Frank M./qkumba
|
;(c) 2021-2022 by Frank M./qkumba
|
||||||
|
|
||||||
!cpu 6502
|
!cpu 6502
|
||||||
!to "res/DEMO/ALIEN.TYPHOON",plain
|
!to "res/DEMO/ALIEN.TYPHOON",plain
|
||||||
|
@ -8,7 +8,7 @@
|
||||||
!source "src/constants.a" ; no code in these
|
!source "src/constants.a" ; no code in these
|
||||||
!source "src/macros.a"
|
!source "src/macros.a"
|
||||||
|
|
||||||
+ENABLE_ACCEL
|
+ENABLE_ACCEL_LC
|
||||||
+LOAD_XSINGLE title
|
+LOAD_XSINGLE title
|
||||||
|
|
||||||
lda #$61
|
lda #$61
|
||||||
|
@ -36,6 +36,8 @@
|
||||||
sta $8FD6,x
|
sta $8FD6,x
|
||||||
sta $8FEF,x
|
sta $8FEF,x
|
||||||
sta $92B1,x ; set exits
|
sta $92B1,x ; set exits
|
||||||
|
dex
|
||||||
|
bpl -
|
||||||
|
|
||||||
+DISABLE_ACCEL
|
+DISABLE_ACCEL
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
;license:MIT
|
;license:MIT
|
||||||
;(c) 2021 by Frank M.
|
;(c) 2021-2022 by Frank M., qkumba
|
||||||
|
|
||||||
!cpu 6502
|
!cpu 6502
|
||||||
!to "res/DEMO/APPLE.INVADER",plain
|
!to "res/DEMO/APPLE.INVADER",plain
|
||||||
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
lda $7fe
|
lda $7fe
|
||||||
pha
|
pha
|
||||||
+ENABLE_ACCEL
|
+ENABLE_ACCEL_LC
|
||||||
pla
|
pla
|
||||||
sta $7fe ; overwritten by GS acceleration
|
sta $7fe ; overwritten by GS acceleration
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
;license:MIT
|
;license:MIT
|
||||||
;(c) 2021 by Frank M.
|
;(c) 2021-2022 by Frank M., qkumba
|
||||||
|
|
||||||
!cpu 6502
|
!cpu 6502
|
||||||
!to "res/DEMO/AO",plain
|
!to "res/DEMO/AO",plain
|
||||||
|
@ -8,7 +8,7 @@
|
||||||
!source "src/constants.a" ; no code in these
|
!source "src/constants.a" ; no code in these
|
||||||
!source "src/macros.a"
|
!source "src/macros.a"
|
||||||
|
|
||||||
+ENABLE_ACCEL
|
+ENABLE_ACCEL_LC
|
||||||
+LOAD_XSINGLE title
|
+LOAD_XSINGLE title
|
||||||
|
|
||||||
lda #$60
|
lda #$60
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
;license:MIT
|
;license:MIT
|
||||||
;(c) 2021 by Frank M.
|
;(c) 2021-2022 by Frank M., qkumba
|
||||||
|
|
||||||
!cpu 6502
|
!cpu 6502
|
||||||
!to "res/DEMO/AQUATRON",plain
|
!to "res/DEMO/AQUATRON",plain
|
||||||
|
@ -8,7 +8,7 @@
|
||||||
!source "src/constants.a" ; no code in these
|
!source "src/constants.a" ; no code in these
|
||||||
!source "src/macros.a"
|
!source "src/macros.a"
|
||||||
|
|
||||||
+ENABLE_ACCEL
|
+ENABLE_ACCEL_LC
|
||||||
+LOAD_XSINGLE title
|
+LOAD_XSINGLE title
|
||||||
|
|
||||||
lda #>(callback - 1)
|
lda #>(callback - 1)
|
||||||
|
@ -18,15 +18,12 @@
|
||||||
jmp $59C2 ; decompress
|
jmp $59C2 ; decompress
|
||||||
|
|
||||||
callback
|
callback
|
||||||
lda #$4C
|
ldx #3-1
|
||||||
sta $7AE1
|
- lda patch,x
|
||||||
sta $7D1D
|
sta $7AE1,x
|
||||||
lda #0
|
sta $7D1D,x ; set exits
|
||||||
sta $7AE1+1
|
dex
|
||||||
sta $7D1D+1
|
bpl -
|
||||||
lda #1
|
|
||||||
sta $7AE1+2
|
|
||||||
sta $7D1D+2 ; set exits
|
|
||||||
|
|
||||||
lda #$D0
|
lda #$D0
|
||||||
sta $7E11
|
sta $7E11
|
||||||
|
@ -38,6 +35,8 @@ callback
|
||||||
|
|
||||||
jmp $400
|
jmp $400
|
||||||
|
|
||||||
|
patch !byte $4C,$00,$01
|
||||||
|
|
||||||
title !byte x_e-x_b
|
title !byte x_e-x_b
|
||||||
x_b !text "AQUATRON"
|
x_b !text "AQUATRON"
|
||||||
x_e
|
x_e
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
!source "src/constants.a" ; no code in these
|
!source "src/constants.a" ; no code in these
|
||||||
!source "src/macros.a"
|
!source "src/macros.a"
|
||||||
|
|
||||||
+ENABLE_ACCEL
|
+ENABLE_ACCEL_LC
|
||||||
+LOAD_XSINGLE title
|
+LOAD_XSINGLE title
|
||||||
|
|
||||||
lda #$84
|
lda #$84
|
||||||
|
@ -22,22 +22,22 @@
|
||||||
sta $3f06
|
sta $3f06
|
||||||
jsr $3eb1 ; decompress
|
jsr $3eb1 ; decompress
|
||||||
|
|
||||||
lda #$4C
|
ldx #3-1
|
||||||
sta $5B2E
|
- lda patch,x
|
||||||
sta $701C
|
sta $5B2E,x ; reset vector patch
|
||||||
sta $5D5B
|
sta $701C,x
|
||||||
ldx #0
|
sta $5D5B,x
|
||||||
stx $5DF4
|
dex
|
||||||
stx $5CD8
|
bpl -
|
||||||
stx $5E09
|
|
||||||
stx $701D
|
ldx #2-1
|
||||||
inx
|
- lda patch+1,x
|
||||||
stx $5B30 ; reset vector patch
|
sta $5DF4,x
|
||||||
stx $5DF5
|
sta $5CD8,x
|
||||||
stx $5CD9
|
sta $5E09,x
|
||||||
stx $5E0A
|
dex
|
||||||
stx $701E
|
bpl -
|
||||||
stx $5D5D
|
|
||||||
lda #$24
|
lda #$24
|
||||||
sta $5D24
|
sta $5D24
|
||||||
lda #$D0
|
lda #$D0
|
||||||
|
@ -57,9 +57,10 @@ counter !byte 5
|
||||||
callback
|
callback
|
||||||
sta $C010
|
sta $C010
|
||||||
dec counter
|
dec counter
|
||||||
bpl +
|
bmi patch
|
||||||
jmp $100
|
rts
|
||||||
+ rts
|
|
||||||
|
patch !byte $4C,$00,$01
|
||||||
|
|
||||||
title !byte x_e-x_b
|
title !byte x_e-x_b
|
||||||
x_b !text "AXIS.ASSASSIN"
|
x_b !text "AXIS.ASSASSIN"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
;license:MIT
|
;license:MIT
|
||||||
;(c) 2021 by Frank M.
|
;(c) 2021-2022 by Frank M., qkumba
|
||||||
|
|
||||||
!cpu 6502
|
!cpu 6502
|
||||||
!to "res/DEMO/BATTLEZONE",plain
|
!to "res/DEMO/BATTLEZONE",plain
|
||||||
|
@ -15,51 +15,31 @@
|
||||||
sta $201e
|
sta $201e
|
||||||
jsr $2000 ; decompress
|
jsr $2000 ; decompress
|
||||||
|
|
||||||
lda #0
|
ldx #0
|
||||||
sta $0811
|
stx $0811
|
||||||
lda #1
|
inx
|
||||||
sta $0816 ; reset vector patch
|
stx $0816 ; reset vector patch
|
||||||
|
|
||||||
lda #$EA
|
ldx #3-1
|
||||||
sta $1632
|
- lda #$EA
|
||||||
sta $1632+1
|
sta $1632,x ; disable clearing keyboard strobe
|
||||||
sta $1632+2 ; disable clearing keyboard strobe
|
lda patch,x
|
||||||
|
sta $0872,x
|
||||||
|
sta $161A,x
|
||||||
|
sta $7661,x
|
||||||
|
sta $766C,x
|
||||||
|
sta $7693,x
|
||||||
|
sta $0B6A,x
|
||||||
|
sta $73A7,x
|
||||||
|
sta $168F+4,x
|
||||||
|
dex
|
||||||
|
bpl -
|
||||||
|
|
||||||
lda #$4C
|
ldx #4-1
|
||||||
sta $0872
|
lda patch2,x
|
||||||
sta $161A
|
sta $168F,x ; set exits
|
||||||
sta $7661
|
dex
|
||||||
sta $766C
|
bpl -
|
||||||
sta $7693
|
|
||||||
sta $0B6A
|
|
||||||
sta $73A7
|
|
||||||
sta $168F+4
|
|
||||||
lda #0
|
|
||||||
sta $0872+1
|
|
||||||
sta $161A+1
|
|
||||||
sta $7661+1
|
|
||||||
sta $766C+1
|
|
||||||
sta $7693+1
|
|
||||||
sta $0B6A+1
|
|
||||||
sta $73A7+1
|
|
||||||
sta $168F+5
|
|
||||||
lda #1
|
|
||||||
sta $0872+2
|
|
||||||
sta $161A+2
|
|
||||||
sta $7661+2
|
|
||||||
sta $766C+2
|
|
||||||
sta $7693+2
|
|
||||||
sta $0B6A+2
|
|
||||||
sta $73A7+2
|
|
||||||
sta $168F+6
|
|
||||||
lda #$C9
|
|
||||||
sta $168F
|
|
||||||
lda #$FF
|
|
||||||
sta $168F+1
|
|
||||||
lda #$F0
|
|
||||||
sta $168F+2
|
|
||||||
lda #$16
|
|
||||||
sta $168F+3 ; set exits
|
|
||||||
|
|
||||||
lda #$D0
|
lda #$D0
|
||||||
sta $7733
|
sta $7733
|
||||||
|
@ -75,6 +55,9 @@
|
||||||
|
|
||||||
jmp $810
|
jmp $810
|
||||||
|
|
||||||
|
patch !byte $4C,$00,$01
|
||||||
|
patch2 !byte $C9,$FF,$F0,$16
|
||||||
|
|
||||||
title !byte x_e-x_b
|
title !byte x_e-x_b
|
||||||
x_b !text "BATTLEZONE"
|
x_b !text "BATTLEZONE"
|
||||||
x_e
|
x_e
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
;license:MIT
|
;license:MIT
|
||||||
;(c) 2021 by Frank M.
|
;(c) 2021-2022 by Frank M., qkumba
|
||||||
|
|
||||||
!cpu 6502
|
!cpu 6502
|
||||||
!to "res/DEMO/BEER.RUN",plain
|
!to "res/DEMO/BEER.RUN",plain
|
||||||
|
@ -10,20 +10,7 @@
|
||||||
|
|
||||||
+READ_RAM2_WRITE_RAM2
|
+READ_RAM2_WRITE_RAM2
|
||||||
jsr EnableAccelerator
|
jsr EnableAccelerator
|
||||||
|
+LOAD_FILE_KEEP_DIR beer_run, beer_run_dir_e-beer_run_dir_b
|
||||||
;+LOAD_FILE_KEEP_DIR
|
|
||||||
ldx #0 ; read to main memory
|
|
||||||
stx ldrhi
|
|
||||||
stx ldrlo
|
|
||||||
+LDADDR title
|
|
||||||
jsr iLoadFileDirect
|
|
||||||
|
|
||||||
ldx #11-1 ; we also need to copy the length byte
|
|
||||||
- lda newpath,x
|
|
||||||
sta $BFD0,x
|
|
||||||
dex
|
|
||||||
bpl -
|
|
||||||
|
|
||||||
lda #$60
|
lda #$60
|
||||||
sta $2065
|
sta $2065
|
||||||
jsr $2000 ; decompress1
|
jsr $2000 ; decompress1
|
||||||
|
@ -32,24 +19,15 @@
|
||||||
sta $BB2C
|
sta $BB2C
|
||||||
jsr $BB00 ; decompress2
|
jsr $BB00 ; decompress2
|
||||||
|
|
||||||
lda #$4C
|
ldx #3-1
|
||||||
sta $419C
|
- lda patch,x
|
||||||
sta $6C62
|
sta $419C,x
|
||||||
sta $4085
|
sta $6C62,x
|
||||||
sta $4088
|
sta $4085,x ; set exits
|
||||||
lda #0
|
lda patch2,x
|
||||||
sta $419C+1
|
sta $4088,x ; decrement custom counter after demo cycle and eventually exit
|
||||||
sta $6C62+1
|
dex
|
||||||
sta $4085+1
|
bpl -
|
||||||
lda #1
|
|
||||||
sta $419C+2
|
|
||||||
sta $6C62+2
|
|
||||||
sta $4085+2 ; set exits
|
|
||||||
|
|
||||||
lda #<(count+1)
|
|
||||||
sta $4088+1
|
|
||||||
lda #>(count+1)
|
|
||||||
sta $4088+2 ; decrement custom counter after demo cycle and eventually exit
|
|
||||||
|
|
||||||
lda #$D0
|
lda #$D0
|
||||||
sta $67D1 ; disable sound
|
sta $67D1 ; disable sound
|
||||||
|
@ -60,17 +38,20 @@
|
||||||
|
|
||||||
count !byte $03
|
count !byte $03
|
||||||
dec count
|
dec count
|
||||||
bpl +
|
bmi patch
|
||||||
jmp $100
|
jmp $40C8
|
||||||
+ jmp $40C8
|
|
||||||
|
|
||||||
newpath
|
patch !byte $4C,$00,$01
|
||||||
!byte 10
|
patch2 !byte $4C,<(count+1),>(count+1)
|
||||||
|
|
||||||
|
beer_run
|
||||||
|
!byte beer_run_e-beer_run_b
|
||||||
|
beer_run_b
|
||||||
|
beer_run_dir_b
|
||||||
!text "X/BEER.RUN"
|
!text "X/BEER.RUN"
|
||||||
|
beer_run_dir_e
|
||||||
title !byte x_e-x_b
|
!text "/BEER.RUN"
|
||||||
x_b !text "X/BEER.RUN/BEER.RUN"
|
beer_run_e
|
||||||
x_e
|
|
||||||
|
|
||||||
!if * > $3F0 {
|
!if * > $3F0 {
|
||||||
!error "code is too large, ends at ", *
|
!error "code is too large, ends at ", *
|
||||||
|
|
|
@ -8,33 +8,28 @@
|
||||||
!source "src/constants.a" ; no code in these
|
!source "src/constants.a" ; no code in these
|
||||||
!source "src/macros.a"
|
!source "src/macros.a"
|
||||||
|
|
||||||
+ENABLE_ACCEL
|
+ENABLE_ACCEL_LC
|
||||||
+LOAD_XSINGLE title
|
+LOAD_XSINGLE title
|
||||||
lda #$60
|
lda #$60
|
||||||
sta $0813
|
sta $0813
|
||||||
jsr $0800 ; decompress
|
jsr $0800 ; decompress
|
||||||
lda #$4C
|
ldx #3-1
|
||||||
sta $602F
|
- lda patch,x
|
||||||
sta $6BD4
|
sta $602F,x
|
||||||
sta $66D2
|
sta $6BD4,x
|
||||||
ldx #0
|
sta $66D2,x
|
||||||
stx $6030
|
lda patch2,x
|
||||||
stx $6BD5
|
sta $66CA,x
|
||||||
inx
|
dex
|
||||||
stx $6031
|
bpl -
|
||||||
stx $6BD6
|
|
||||||
stx $66D4
|
|
||||||
lda #$EE
|
|
||||||
sta $66CA
|
|
||||||
lda #<counter
|
|
||||||
sta $66CB
|
|
||||||
lda #>counter
|
|
||||||
sta $66CC
|
|
||||||
+DISABLE_ACCEL
|
+DISABLE_ACCEL
|
||||||
jmp $6000
|
jmp $6000
|
||||||
|
|
||||||
counter !byte $FD
|
counter !byte $FD
|
||||||
|
|
||||||
|
patch !byte $4C,$00,$01
|
||||||
|
patch2 !byte $EE,<counter,>counter
|
||||||
|
|
||||||
title !byte x_e-x_b
|
title !byte x_e-x_b
|
||||||
x_b !text "BELLHOP"
|
x_b !text "BELLHOP"
|
||||||
x_e
|
x_e
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
;license:MIT
|
;license:MIT
|
||||||
;(c) 2021 by Frank M.
|
;(c) 2021-2022 by Frank M., qkumba
|
||||||
|
|
||||||
!cpu 6502
|
!cpu 6502
|
||||||
!to "res/DEMO/BOLO",plain
|
!to "res/DEMO/BOLO",plain
|
||||||
|
@ -8,25 +8,20 @@
|
||||||
!source "src/constants.a" ; no code in these
|
!source "src/constants.a" ; no code in these
|
||||||
!source "src/macros.a"
|
!source "src/macros.a"
|
||||||
|
|
||||||
+ENABLE_ACCEL
|
+ENABLE_ACCEL_LC
|
||||||
+LOAD_XSINGLE title
|
+LOAD_XSINGLE title
|
||||||
|
|
||||||
lda #$60
|
lda #$60
|
||||||
sta $8034
|
sta $8034
|
||||||
jsr $4ab0 ; decompress and show title
|
jsr $4ab0 ; decompress and show title
|
||||||
|
|
||||||
lda #$4C
|
ldx #3-1
|
||||||
sta $129A
|
- lda patch,x
|
||||||
sta $15F8
|
sta $129A,x
|
||||||
sta $5D8A ; (later moved to $7D8A)
|
sta $15F8,x
|
||||||
lda #0
|
sta $5D8A,x ; (later moved to $7D8A)
|
||||||
sta $129A+1
|
dex
|
||||||
sta $15F8+1
|
bpl - ; set exits
|
||||||
sta $5D8A+1
|
|
||||||
lda #1
|
|
||||||
sta $129A+2
|
|
||||||
sta $15F8+2
|
|
||||||
sta $5D8A+2 ; set exits
|
|
||||||
|
|
||||||
lda #$D0
|
lda #$D0
|
||||||
sta $4E7A ; (later moved to $6E7A)
|
sta $4E7A ; (later moved to $6E7A)
|
||||||
|
@ -37,6 +32,8 @@
|
||||||
|
|
||||||
jmp $1100
|
jmp $1100
|
||||||
|
|
||||||
|
patch !byte $4C,$00,$01
|
||||||
|
|
||||||
title !byte x_e-x_b
|
title !byte x_e-x_b
|
||||||
x_b !text "BOLO"
|
x_b !text "BOLO"
|
||||||
x_e
|
x_e
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
;license:MIT
|
;license:MIT
|
||||||
;(c) 2021 by Frank M.
|
;(c) 2021-2022 by Frank M., qkumba
|
||||||
|
|
||||||
!cpu 6502
|
!cpu 6502
|
||||||
!to "res/DEMO/BORG",plain
|
!to "res/DEMO/BORG",plain
|
||||||
|
@ -11,18 +11,7 @@
|
||||||
+READ_RAM2_WRITE_RAM2
|
+READ_RAM2_WRITE_RAM2
|
||||||
;jsr EnableAccelerator ; can't because of animation
|
;jsr EnableAccelerator ; can't because of animation
|
||||||
|
|
||||||
;+LOAD_FILE_KEEP_DIR
|
+LOAD_FILE_KEEP_DIR borg, borg_dir_e-borg_dir_b
|
||||||
ldx #0 ; read to main memory
|
|
||||||
stx ldrhi
|
|
||||||
stx ldrlo
|
|
||||||
+LDADDR title
|
|
||||||
jsr iLoadFileDirect
|
|
||||||
|
|
||||||
ldx #7-1 ; we also need to copy the length byte
|
|
||||||
- lda newpath,x
|
|
||||||
sta $BFD0,x
|
|
||||||
dex
|
|
||||||
bpl -
|
|
||||||
|
|
||||||
+READ_ROM_NO_WRITE
|
+READ_ROM_NO_WRITE
|
||||||
|
|
||||||
|
@ -30,16 +19,13 @@
|
||||||
sta $609E
|
sta $609E
|
||||||
jsr $6000 ; decompress and show animation
|
jsr $6000 ; decompress and show animation
|
||||||
|
|
||||||
lda #$4C
|
ldx #3-1
|
||||||
sta $8C27 ; exit after 1 cycle
|
- lda patch2,x
|
||||||
sta $ECA ; exit on keypress 1 (joysticks not polled)
|
sta $8C27,x ; exit after 1 cycle
|
||||||
|
sta $ECA,x ; exit on keypress 1 (joysticks not polled)
|
||||||
|
dex
|
||||||
|
bpl -
|
||||||
sta $99
|
sta $99
|
||||||
lda #0
|
|
||||||
sta $8C27+1
|
|
||||||
sta $ECA+1
|
|
||||||
lda #1
|
|
||||||
sta $8C27+2
|
|
||||||
sta $ECA+2
|
|
||||||
|
|
||||||
ldx #7-1
|
ldx #7-1
|
||||||
- lda patch, x
|
- lda patch, x
|
||||||
|
@ -51,14 +37,15 @@
|
||||||
jmp $EB0
|
jmp $EB0
|
||||||
|
|
||||||
patch !byte $30,$F8,$EA,$20,$00,$0F,$60
|
patch !byte $30,$F8,$EA,$20,$00,$0F,$60
|
||||||
|
patch2 !byte $4C,$00,$01
|
||||||
|
|
||||||
newpath
|
borg !byte borg_e-borg_b
|
||||||
!byte 6
|
borg_b
|
||||||
|
borg_dir_b
|
||||||
!text "X/BORG"
|
!text "X/BORG"
|
||||||
|
borg_dir_e
|
||||||
title !byte x_e-x_b
|
!text "/BORG"
|
||||||
x_b !text "X/BORG/BORG"
|
borg_e
|
||||||
x_e
|
|
||||||
|
|
||||||
!if * > $3F0 {
|
!if * > $3F0 {
|
||||||
!error "code is too large, ends at ", *
|
!error "code is too large, ends at ", *
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user