mirror of
https://github.com/a2-4am/4cade.git
synced 2024-12-12 18:30:00 +00:00
add Hopman
This commit is contained in:
parent
bc38e605d9
commit
b5dffa65ab
BIN
res/ACTION.HGR.UNCOMPRESSED/HOPMAN
Normal file
BIN
res/ACTION.HGR.UNCOMPRESSED/HOPMAN
Normal file
Binary file not shown.
BIN
res/ACTION.HGR.UNCOMPRESSED/HOPMAN2
Normal file
BIN
res/ACTION.HGR.UNCOMPRESSED/HOPMAN2
Normal file
Binary file not shown.
BIN
res/ACTION.HGR/HOPMAN
Normal file
BIN
res/ACTION.HGR/HOPMAN
Normal file
Binary file not shown.
BIN
res/ACTION.HGR/HOPMAN2
Normal file
BIN
res/ACTION.HGR/HOPMAN2
Normal file
Binary file not shown.
9
res/ATTRACT/HOPMAN
Normal file
9
res/ATTRACT/HOPMAN
Normal file
@ -0,0 +1,9 @@
|
||||
#
|
||||
# Attract mode for HOPMAN
|
||||
# This file is automatically generated
|
||||
#
|
||||
|
||||
HOPMAN2=A
|
||||
HOPMAN=A
|
||||
|
||||
[eof]
|
BIN
res/CACHE10.IDX
BIN
res/CACHE10.IDX
Binary file not shown.
BIN
res/CACHE11.IDX
BIN
res/CACHE11.IDX
Binary file not shown.
20
res/GAMEHELP/HOPMAN
Normal file
20
res/GAMEHELP/HOPMAN
Normal 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]
|
@ -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
|
||||
|
@ -8,6 +8,7 @@ HARD.HAT.MACK2=HARD.HAT.MACK
|
||||
JOUST2=JOUST
|
||||
IKARI.WARRIORS
|
||||
J.BIRD
|
||||
HOPMAN
|
||||
INFILTRATOR2=INFILTRATOR
|
||||
JUMPMAN
|
||||
JUGGLER
|
||||
|
@ -6,6 +6,7 @@ LODE001=LODE.RUNNER
|
||||
HARD.HAT.MACK
|
||||
LOST.TOMB
|
||||
HORIZON.V2=HORIZON.V
|
||||
HOPMAN2=HOPMAN
|
||||
LIFT2=LIFT
|
||||
HANDY.DANDY
|
||||
HELLSTORM2=HELLSTORM
|
||||
|
@ -7,6 +7,7 @@ JUGGLER
|
||||
JELLYFISH
|
||||
LADY.TUT
|
||||
H.E.R.O
|
||||
HOPMAN
|
||||
JUNGLE.HUNT
|
||||
INVASION.FORCE
|
||||
HUNGRYBOY
|
||||
|
@ -5,6 +5,7 @@
|
||||
BUTCHERBOB.86
|
||||
NEURAS
|
||||
LA
|
||||
HOPMAN
|
||||
NT
|
||||
WALL.DEFENCE
|
||||
CAVIT
|
||||
|
BIN
res/TITLE.HGR.UNPACKED/HOPMAN
Normal file
BIN
res/TITLE.HGR.UNPACKED/HOPMAN
Normal file
Binary file not shown.
BIN
res/TITLE.HGR/HOPMAN
Normal file
BIN
res/TITLE.HGR/HOPMAN
Normal file
Binary file not shown.
BIN
res/dsk/hopman (4am pack).po
Normal file
BIN
res/dsk/hopman (4am pack).po
Normal file
Binary file not shown.
@ -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
51
res/ports/hopman/Makefile
Normal 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:
|
BIN
res/ports/hopman/build/HOPMAN#068000
Normal file
BIN
res/ports/hopman/build/HOPMAN#068000
Normal file
Binary file not shown.
BIN
res/ports/hopman/build/HOPMAN.po
Normal file
BIN
res/ports/hopman/build/HOPMAN.po
Normal file
Binary file not shown.
BIN
res/ports/hopman/build/LOADER.SYSTEM#FF2000
Normal file
BIN
res/ports/hopman/build/LOADER.SYSTEM#FF2000
Normal file
Binary file not shown.
BIN
res/ports/hopman/src/OBJ
Normal file
BIN
res/ports/hopman/src/OBJ
Normal file
Binary file not shown.
BIN
res/ports/hopman/src/OBJ.X
Normal file
BIN
res/ports/hopman/src/OBJ.X
Normal file
Binary file not shown.
29
res/ports/hopman/src/hopman.a
Normal file
29
res/ports/hopman/src/hopman.a
Normal 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
|
25
res/ports/hopman/src/loader.a
Normal file
25
res/ports/hopman/src/loader.a
Normal 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"
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15498743
|
||||
!be24 15514779
|
||||
!le16 5112
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15443887
|
||||
!be24 15459857
|
||||
!le16 5707
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15376652
|
||||
!be24 15392547
|
||||
!le16 4043
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15390899
|
||||
!be24 15406794
|
||||
!le16 4508
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15409109
|
||||
!le16 5854
|
||||
!be24 15425028
|
||||
!le16 5861
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15430022
|
||||
!le16 6480
|
||||
!be24 15445972
|
||||
!le16 6487
|
||||
|
@ -3,4 +3,4 @@
|
||||
;
|
||||
; This file is automatically generated
|
||||
;
|
||||
!word 445
|
||||
!word 446
|
||||
|
@ -3,4 +3,4 @@
|
||||
;
|
||||
; This file is automatically generated
|
||||
;
|
||||
!word 488
|
||||
!word 489
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15503855
|
||||
!be24 15519891
|
||||
!le16 410
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15504609
|
||||
!be24 15520645
|
||||
!le16 449
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15505058
|
||||
!be24 15521094
|
||||
!le16 303
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 12339391
|
||||
!be24 12348895
|
||||
!le16 1652
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15452234
|
||||
!be24 15468204
|
||||
!le16 1640
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15504341
|
||||
!be24 15520377
|
||||
!le16 67
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15498684
|
||||
!be24 15514720
|
||||
!le16 59
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15497140
|
||||
!be24 15513176
|
||||
!le16 1426
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15481290
|
||||
!be24 15497299
|
||||
!le16 557
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15449594
|
||||
!be24 15465564
|
||||
!le16 2640
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15454232
|
||||
!le16 7385
|
||||
!be24 15470202
|
||||
!le16 7398
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15504265
|
||||
!be24 15520301
|
||||
!le16 76
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15498566
|
||||
!be24 15514602
|
||||
!le16 118
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15504408
|
||||
!be24 15520444
|
||||
!le16 201
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15481847
|
||||
!be24 15497856
|
||||
!le16 4951
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15486798
|
||||
!le16 1775
|
||||
!be24 15502807
|
||||
!le16 1802
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15488573
|
||||
!be24 15504609
|
||||
!le16 1181
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15489754
|
||||
!be24 15505790
|
||||
!le16 3421
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15493175
|
||||
!be24 15509211
|
||||
!le16 3359
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15496534
|
||||
!be24 15512570
|
||||
!le16 479
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15497013
|
||||
!be24 15513049
|
||||
!le16 127
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15505361
|
||||
!be24 15521397
|
||||
!le16 2370
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15466991
|
||||
!le16 4976
|
||||
!be24 15482974
|
||||
!le16 4989
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15471967
|
||||
!be24 15487963
|
||||
!le16 2413
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15436502
|
||||
!le16 7385
|
||||
!be24 15452459
|
||||
!le16 7398
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 4180992
|
||||
!be24 4189184
|
||||
!le16 8192
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 4197376
|
||||
!be24 4205568
|
||||
!le16 8192
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 4189184
|
||||
!be24 4197376
|
||||
!le16 8192
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15367385
|
||||
!be24 15383280
|
||||
!le16 9267
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15380695
|
||||
!be24 15396590
|
||||
!le16 10204
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15395407
|
||||
!le16 13702
|
||||
!be24 15411302
|
||||
!le16 13726
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15414963
|
||||
!le16 15059
|
||||
!be24 15430889
|
||||
!le16 15083
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15453874
|
||||
!be24 15469844
|
||||
!le16 358
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15461617
|
||||
!be24 15477600
|
||||
!le16 5374
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 15474380
|
||||
!le16 6910
|
||||
!be24 15490376
|
||||
!le16 6923
|
||||
|
@ -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
19
src/prelaunch/hopman.a
Normal 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 ", *
|
||||
}
|
Loading…
Reference in New Issue
Block a user