add Hi-Res Football

This commit is contained in:
4am 2024-04-01 22:53:53 -04:00
parent a230dc570e
commit 255f472da5
64 changed files with 209 additions and 55 deletions

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,8 @@
#
# Attract mode for HIRES.FOOTBALL
# This file is automatically generated
#
HIRES.FOOTBALL=A
[eof]

Binary file not shown.

Binary file not shown.

View File

@ -39,6 +39,7 @@
00001,FOX.AND.GEESE=Fox & Geese
10001,FUJI.SPEED.WAY=Fuji Crowded Speedway
10001,HARDBALL=Hardball
10001,HIRES.FOOTBALL=Hi-Res Football
10001,INTL.GRAN.PRIX=International Gran Prix
10000,INTL.HOCKEY=International Hockey
10000,KARATE.CHAMP=Karate Champ

View File

@ -10,6 +10,7 @@ MICROGOLF2=MICROGOLF
INTL.GRAN.PRIX
HARDBALL
MICROGOLF3=MICROGOLF
HIRES.FOOTBALL
INTL.HOCKEY
[eof]

View File

@ -8,6 +8,7 @@ FORMULA.1.RACER
MU.TORERE
INTL.GRAN.PRIX
MICROGOLF
HIRES.FOOTBALL
FOX.AND.GEESE
HARDBALL
FS2

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -5,6 +5,7 @@
### New games
- Fox & Geese
- Hi-Res Football
- Kono
- Micro Golf
- Mu Torere

View File

@ -32,7 +32,6 @@ Golf's Best
GFL Championship Football [4am crack]
Hi-Res Computer Golf [4am crack]
Hi-Res Computer Golf 2
Hi-Res Football
Hi-Res Soccer
Jet [priority]
Joe Thiesmann's Pro Football [4am crack]

View File

@ -0,0 +1,51 @@
# https://sourceforge.net/projects/acme-crossass/
ACME=acme
# https://github.com/mach-kernel/cadius
CADIUS=cadius
EXOMIZER=exomizer mem -lnone -P23 -f -q
BUILDDIR=build
DISKVOLUME=HIRES.FOOTBALL
LOADER=$(BUILDDIR)/LOADER.SYSTEM\#FF2000
EXE=$(BUILDDIR)/HIRES.FOOTBALL\#068000
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/hires.football.a
$(CADIUS) REPLACEFILE "$(BUILDDISK)" "/$(DISKVOLUME)/" "$(EXE)" -C
@touch "$@"
$(RES): $(BUILDDIR)
$(CADIUS) REPLACEFILE "$(BUILDDISK)" "/$(DISKVOLUME)/" "$@" -C
@touch "$@"
$(COMPRESSED):
$(EXOMIZER) src/OBJ@0x0800 -o "$@"
mount: $(BUILDDISK)
@open "$(BUILDDISK)"
clean:
rm -rf "$(BUILDDIR)"
$(BUILDDIR):
mkdir -p "$@"
$(CADIUS) CREATEVOLUME "$(BUILDDISK)" "$(DISKVOLUME)" 140KB -C
all: clean mount
.NOTPARALLEL:

View File

@ -0,0 +1,3 @@
OBJ contains $0800..$70FF then $0400..$07FF
entry point is $4000
?might need to JSR $1603 before jumping to $4000?

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,45 @@
!cpu 6502
*=$8000
!to "build/HIRES.FOOTBALL#068000",plain
!src "../common/src/constants.a"
!src "../common/src/macros.a"
jmp start
compressed_data
!bin "src/OBJ.X"
DECRUNCH_FORWARDS = 1
SHOW_PROGRESS_DURING_DECRUNCH = 1
kExoProgressWidth = 14 ; depends on total size, max 38
!src "../common/src/exodecrunch.a"
start
+INIT_MACHINE
!if * != $AD5C {
!serious "Adjust prelaunch to patch JSR at ", *
}
jsr decrunch ; compressed data contains target address
jsr ROM_TEXT ; game expects current VTAB to be at bottom
bit GFXMODE
bit PAGE1
bit HIRES
bit FULLGFX
ldx #$04
ldy #$00
@a lda $7100, y
@b sta $0400, y
iny
bne @a
inc @a+2
inc @b+2
dex
bne @a
jmp $4000
get_crunched_byte
lda compressed_data
inc get_crunched_byte+1
bne +
inc get_crunched_byte+2
+ rts

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 $2100
!byte 0
parm_boot_read
!byte 4
!byte 1
entry !word $8000
!word $FFFF
!word 0
filename
!text 14,"HIRES.FOOTBALL"

View File

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

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2044498
!be24 2064458
!le16 322

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2046216
!be24 2066176
!le16 576

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2048232
!le16 528
!be24 2068233
!le16 542

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2050862
!le16 834
!be24 2070918
!le16 848

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 57
!word 58

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2064239
!be24 2084414
!le16 810

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2062303
!be24 2082457
!le16 243

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2058325
!le16 1013
!be24 2078416
!le16 1034

View File

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

View File

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

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2062546
!be24 2082700
!le16 335

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2062881
!le16 89
!be24 2083035
!le16 110

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2063062
!be24 2083237
!le16 175

View File

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

View File

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

View File

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

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2060458
!le16 491
!be24 2080570
!le16 512

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2051696
!le16 1013
!be24 2071766
!le16 1034

View File

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

View File

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

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2043612
!be24 2063572
!le16 886

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2044820
!be24 2064780
!le16 1396

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2046792
!le16 1440
!be24 2066752
!le16 1481

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2048760
!le16 2102
!be24 2068775
!le16 2143

View File

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

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2061475
!le16 828
!be24 2081608
!le16 849

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2043186
!le16 426
!be24 2063123
!le16 449

View File

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