add Hopman

This commit is contained in:
4am 2024-04-22 22:18:47 -04:00
parent bc38e605d9
commit b5dffa65ab
70 changed files with 213 additions and 54 deletions

Binary file not shown.

Binary file not shown.

BIN
res/ACTION.HGR/HOPMAN Normal file

Binary file not shown.

BIN
res/ACTION.HGR/HOPMAN2 Normal file

Binary file not shown.

9
res/ATTRACT/HOPMAN Normal file
View File

@ -0,0 +1,9 @@
#
# Attract mode for HOPMAN
# This file is automatically generated
#
HOPMAN2=A
HOPMAN=A
[eof]

Binary file not shown.

Binary file not shown.

20
res/GAMEHELP/HOPMAN Normal file
View File

@ -0,0 +1,20 @@
Capture the flags and reach the goal
before time runs out
Avoid monsters & obstacles
joystick to move
button 0 to jump
Tip: you can change direction mid-jump
[eof]

View File

@ -224,6 +224,7 @@
11110,HEAVY.BARREL=Heavy Barrel
00011,HELLSTORM=Hell Storm
00001,HIGH.RISE=High Rise
10001,HOPMAN=Hopman
00010,HORIZON.V=Horizon V
00011,HUNGRYBOY=Hungryboy
00011,HYPER.HEAD.ON=Hyper Head On

View File

@ -8,6 +8,7 @@ HARD.HAT.MACK2=HARD.HAT.MACK
JOUST2=JOUST
IKARI.WARRIORS
J.BIRD
HOPMAN
INFILTRATOR2=INFILTRATOR
JUMPMAN
JUGGLER

View File

@ -6,6 +6,7 @@ LODE001=LODE.RUNNER
HARD.HAT.MACK
LOST.TOMB
HORIZON.V2=HORIZON.V
HOPMAN2=HOPMAN
LIFT2=LIFT
HANDY.DANDY
HELLSTORM2=HELLSTORM

View File

@ -7,6 +7,7 @@ JUGGLER
JELLYFISH
LADY.TUT
H.E.R.O
HOPMAN
JUNGLE.HUNT
INVASION.FORCE
HUNGRYBOY

View File

@ -5,6 +5,7 @@
BUTCHERBOB.86
NEURAS
LA
HOPMAN
NT
WALL.DEFENCE
CAVIT

Binary file not shown.

BIN
res/TITLE.HGR/HOPMAN Normal file

Binary file not shown.

Binary file not shown.

View File

@ -5,6 +5,7 @@
### Games added in v5.2
- AntiAir
- Hopman
- Yewdow
## Revision 5.1 / serial number 20240216

51
res/ports/hopman/Makefile Normal file
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=HOPMAN
LOADER=$(BUILDDIR)/LOADER.SYSTEM\#FF2000
EXE=$(BUILDDIR)/HOPMAN\#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/hopman.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.

BIN
res/ports/hopman/src/OBJ Normal file

Binary file not shown.

BIN
res/ports/hopman/src/OBJ.X Normal file

Binary file not shown.

View File

@ -0,0 +1,29 @@
!cpu 6502
*=$8000
!to "build/HOPMAN#068000",plain
!src "../common/src/constants.a"
!src "../common/src/macros.a"
jmp start
compressed_data
!bin "src/OBJ.X"
FORWARD_DECRUNCHING = 1
SHOW_PROGRESS_DURING_DECRUNCH = 0
!src "../common/src/exodecrunch.a"
start
+INIT_MACHINE
!if * != $98D6 {
!serious "Adjust prelaunch to patch JSR at ", *, " to JMP"
}
jsr decrunch ; compressed data contains target address
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 6,"HOPMAN"

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15498743
!be24 15514779
!le16 5112

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15443887
!be24 15459857
!le16 5707

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15376652
!be24 15392547
!le16 4043

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15390899
!be24 15406794
!le16 4508

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15409109
!le16 5854
!be24 15425028
!le16 5861

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15430022
!le16 6480
!be24 15445972
!le16 6487

View File

@ -3,4 +3,4 @@
;
; This file is automatically generated
;
!word 445
!word 446

View File

@ -3,4 +3,4 @@
;
; This file is automatically generated
;
!word 488
!word 489

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15503855
!be24 15519891
!le16 410

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15504609
!be24 15520645
!le16 449

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 12339391
!be24 12348895
!le16 1652

View File

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

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15498684
!be24 15514720
!le16 59

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15497140
!be24 15513176
!le16 1426

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15481290
!be24 15497299
!le16 557

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15454232
!le16 7385
!be24 15470202
!le16 7398

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15498566
!be24 15514602
!le16 118

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15481847
!be24 15497856
!le16 4951

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15486798
!le16 1775
!be24 15502807
!le16 1802

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15488573
!be24 15504609
!le16 1181

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15489754
!be24 15505790
!le16 3421

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15493175
!be24 15509211
!le16 3359

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15496534
!be24 15512570
!le16 479

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15497013
!be24 15513049
!le16 127

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15466991
!le16 4976
!be24 15482974
!le16 4989

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15471967
!be24 15487963
!le16 2413

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15436502
!le16 7385
!be24 15452459
!le16 7398

View File

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

View File

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

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15367385
!be24 15383280
!le16 9267

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15380695
!be24 15396590
!le16 10204

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15395407
!le16 13702
!be24 15411302
!le16 13726

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15414963
!le16 15059
!be24 15430889
!le16 15083

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15461617
!be24 15477600
!le16 5374

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15474380
!le16 6910
!be24 15490376
!le16 6923

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 15363136
!le16 4249
!be24 15379016
!le16 4264

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

@ -0,0 +1,19 @@
;license:MIT
;(c) 2024 by 4am
!cpu 6502
!to "build/PRELAUNCH.INDEXED/HOPMAN",plain
*=$106
!source "src/prelaunch/common.a"
+ENABLE_ACCEL
lda #$4C
sta $98D6
jsr $8000 ; decompress
+DISABLE_ACCEL
jmp $98D9
!if * > $1C0 {
!error "code is too large, ends at ", *
}