add Advance to Boardwalk

This commit is contained in:
4am 2024-04-03 20:33:32 -04:00
parent 9dc81d9c67
commit 76791ea92e
68 changed files with 193 additions and 54 deletions

Binary file not shown.

BIN
res/ACTION.DHGR/ADVANCE Normal file

Binary file not shown.

8
res/ATTRACT/ADVANCE Normal file
View File

@ -0,0 +1,8 @@
#
# Attract mode for ADVANCE
# This file is automatically generated
#
ADVANCE=B
[eof]

Binary file not shown.

Binary file not shown.

View File

@ -23,6 +23,7 @@
#
11100,SLICKS=8bit-Slicks
01100,ADVANCE=Advance to Boardwalk
00001,AUTOBAHN=Autobahn
01100,BATTLE.CHESS=Battle Chess
00000,BLACK.BELT=Black Belt

View File

@ -5,6 +5,7 @@
WORLD.GAMES2=WORLD.GAMES
BATTLE.CHESS2=BATTLE.CHESS
TEST.DRIVE3=TEST.DRIVE
ADVANCE
SUMMER.EDITION2=SUMMER.EDITION
SS.BASKETBALL
CALI.GAMES2=CALI.GAMES

View File

@ -5,6 +5,7 @@
WINTER.EDITION
TEST.DRIVE
SS.FOOTBALL
ADVANCE
SS.BASEBALL
BATTLE.CHESS
WIPEOUT

BIN
res/TITLE.DHGR/ADVANCE Normal file

Binary file not shown.

Binary file not shown.

View File

@ -4,6 +4,7 @@
### New games
- Advance to Boardwalk
- Checkers
- Fox & Geese
- Hi-Res Football

View File

@ -68,7 +68,6 @@ World Class Leader Board (Access Software)
World Series Baseball
//idea:game shows (TODO consolidate any that are the same just different publishers)
Advance to Boardwalk [DHGR]
Card Sharks [DHGR]
Classic Concentration [DHGR] (+ Second Edition, New Second Edition)
Double Dare

View File

@ -0,0 +1,52 @@
# https://sourceforge.net/projects/acme-crossass/
ACME=acme
# https://github.com/mach-kernel/cadius
CADIUS=cadius
# note: flags set to decrunch backwards
EXOMIZER=exomizer mem -lnone -P23 -q
BUILDDIR=build
DISKVOLUME=ADVANCE
LOADER=$(BUILDDIR)/LOADER.SYSTEM\#FF2000
EXE=$(BUILDDIR)/ADVANCE\#062100
COMPRESSED=src/OBJ.X
SOURCES=$(wildcard src/*.a) $(COMPRESSED)
RES=$(wildcard res/*) $(wildcard ../common/res/*)
BUILDDISK=$(BUILDDIR)/$(DISKVOLUME).po
.PHONY: clean mount all
$(BUILDDISK): $(EXE) $(LOADER) $(RES)
$(LOADER): $(SOURCES) | $(BUILDDIR)
$(ACME) src/loader.a
$(CADIUS) REPLACEFILE "$(BUILDDISK)" "/$(DISKVOLUME)/" "$(LOADER)" -C
@touch "$@"
$(EXE): $(SOURCES) $(COMPRESSED) | $(BUILDDIR)
$(ACME) src/advance.a
$(CADIUS) REPLACEFILE "$(BUILDDISK)" "/$(DISKVOLUME)/" "$(EXE)" -C
@touch "$@"
$(RES): $(BUILDDIR)
$(CADIUS) REPLACEFILE "$(BUILDDISK)" "/$(DISKVOLUME)/" "$@" -C
@touch "$@"
$(COMPRESSED):
$(EXOMIZER) src/OBJ@0x4000 -o "$@"
mount: $(BUILDDISK)
@open "$(BUILDDISK)"
clean:
rm -rf "$(BUILDDIR)"
$(BUILDDIR):
mkdir -p "$@"
$(CADIUS) CREATEVOLUME "$(BUILDDISK)" "$(DISKVOLUME)" 140KB -C
all: clean mount
.NOTPARALLEL:

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.

View File

@ -0,0 +1,32 @@
!cpu 6502
*=$2100
!to "build/ADVANCE#062100",plain
!src "../common/src/constants.a"
!src "../common/src/macros.a"
+INIT_MACHINE
jsr decrunch
!if * != $211F {
!serious "Adjust prelaunch to patch JSR at ", *
}
jmp $4000
get_crunched_byte
lda _byte_lo
bne +
dec _byte_hi
+ dec _byte_lo
_byte_lo = * + 1
_byte_hi = * + 2
lda end_of_compressed_data
rts
FORWARD_DECRUNCHING = 0
SHOW_PROGRESS_DURING_DECRUNCH = 1
kExoProgressWidth = 12 ; depends on total size, max 38
!src "../common/src/exodecrunch.a"
!bin "src/OBJ.X"
end_of_compressed_data

View File

@ -0,0 +1,25 @@
!cpu 6502
*=$2000
!to "build/LOADER.SYSTEM#FF2000",plain
!src "../common/src/constants.a"
!src "../common/src/macros.a"
+READ_ENTIRE_FILE parm_boot_open, parm_boot_read
jmp (entry)
parm_boot_open
!byte 3
!word filename
!word $0800
!byte 0
parm_boot_read
!byte 4
!byte 1
entry !word $2100
!word $FFFF
!word 0
filename
!text 7,"ADVANCE"

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2165856
!be24 2186914
!le16 571

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2153108
!be24 2174110
!le16 978

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2144293
!be24 2165175
!le16 329

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2146104
!le16 608
!be24 2167025
!le16 615

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2148290
!be24 2169218
!le16 563

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2151119
!le16 890
!be24 2172086
!le16 911

View File

@ -3,4 +3,4 @@
;
; This file is automatically generated
;
!word 41
!word 42

View File

@ -3,4 +3,4 @@
;
; This file is automatically generated
;
!word 62
!word 63

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2166427
!be24 2187485
!le16 306

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2167077
!be24 2188135
!le16 336

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2167413
!be24 2188471
!le16 303

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 1749500
!be24 1770382
!le16 69

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2156726
!be24 2177728
!le16 1640

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2166809
!be24 2187867
!le16 67

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2165844
!be24 2186902
!le16 12

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2164968
!le16 824
!be24 2186012
!le16 838

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2162946
!le16 257
!be24 2183976
!le16 271

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2154086
!be24 2175088
!le16 2640

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2158724
!le16 1099
!be24 2179726
!le16 1113

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2166733
!be24 2187791
!le16 76

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2165792
!be24 2186850
!le16 52

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2166876
!be24 2187934
!le16 201

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2163203
!be24 2184247
!le16 350

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2163553
!be24 2184597
!le16 129

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2163682
!be24 2184726
!le16 92

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2163774
!be24 2184818
!le16 192

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2163966
!be24 2185010
!le16 713

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2164679
!be24 2185723
!le16 285

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2164964
!be24 2186008
!le16 4

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2167716
!be24 2188774
!le16 2370

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2160943
!le16 577
!be24 2181959
!le16 591

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2161520
!be24 2182550
!le16 526

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2152009
!le16 1099
!be24 2172997
!le16 1113

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 597035
!be24 613419
!le16 8184

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 613411
!be24 629795
!le16 8184

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 605219
!be24 621603
!le16 8192

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2143347
!be24 2164229
!le16 946

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2144622
!le16 1482
!be24 2165504
!le16 1521

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2146712
!be24 2167640
!le16 1578

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2148853
!le16 2266
!be24 2169781
!le16 2305

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2158366
!be24 2179368
!le16 358

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2159823
!be24 2180839
!le16 1120

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2162046
!be24 2183076
!le16 900

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2142841
!be24 2163723
!le16 506

19
src/prelaunch/advance.a Normal file
View File

@ -0,0 +1,19 @@
;license:MIT
!cpu 6502
!to "build/PRELAUNCH.INDEXED/ADVANCE",plain
*=$106
!source "src/prelaunch/common.a"
+ENABLE_ACCEL
lda #$4C
sta $211F
jsr $2100
+DISABLE_ACCEL
+RESET_VECTOR $100
jmp $2122
!if * > $1C0 {
!error "code is too large, ends at ", *
}