add Micro Golf

This commit is contained in:
4am 2024-03-31 22:20:23 -04:00
parent e6a7c140ed
commit 7d9a6ec67f
75 changed files with 225 additions and 61 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
res/ACTION.HGR/MICROGOLF Normal file

Binary file not shown.

BIN
res/ACTION.HGR/MICROGOLF2 Normal file

Binary file not shown.

BIN
res/ACTION.HGR/MICROGOLF3 Normal file

Binary file not shown.

10
res/ATTRACT/MICROGOLF Normal file
View File

@ -0,0 +1,10 @@
#
# Attract mode for MICROGOLF
# This file is automatically generated
#
MICROGOLF2=A
MICROGOLF3=A
MICROGOLF=A
[eof]

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

18
res/GAMEHELP/MICROGOLF Normal file
View File

@ -0,0 +1,18 @@
Get the ball in the hole
Avoid traps
arrows to aim
numbers to putt
soft 1 ... 9 hard
[eof]

View File

@ -44,6 +44,7 @@
10000,KARATE.CHAMP=Karate Champ
00001,KONO=Kono
00001,MU.TORERE=Mu Torere
00001,MICROGOLF=Micro Golf
00001,NINE.MENS=Nine Men's Morris
10001,ONE.ON.ONE=One on One
00001,PENSATE=Pensate

View File

@ -10,6 +10,7 @@ FORMULA.1.RACER
DIVE.BOMBER3=DIVE.BOMBER
FS2
DIVE.BOMBER4=DIVE.BOMBER
FOX.AND.GEESE
DIVE.BOMBER6=DIVE.BOMBER
[eof]

View File

@ -3,9 +3,13 @@
#
KARATE.CHAMP
MICROGOLF
INTL.HOCKEY2=INTL.HOCKEY
KONO
MICROGOLF2=MICROGOLF
INTL.GRAN.PRIX
HARDBALL
MICROGOLF3=MICROGOLF
INTL.HOCKEY
[eof]

View File

@ -6,12 +6,16 @@ WORLD.KARATE
TOMAHAWK
TRACK.AND.FIELD
THE.DAM.BUSTERS
WARI
ONE.ON.ONE
AMER.CHALLENGE
MU.TORERE
TAG.TEAM
WORLD.KARATE2=WORLD.KARATE
NINE.MENS
ONE.ON.ONE2=ONE.ON.ONE
POOL
ROCK.N.SCROLL
PITSTOP.II
[eof]

View File

@ -5,6 +5,7 @@
STUNT.CAR.RACER
SUM.GAMES.II01=SUMMER.GAMES.II
SKI.CRAZED2=SKI.CRAZED
SEEGA
SUPER.HUEY
SOLO.FLIGHT
SUPER.ICEHOCKEY

View File

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

Binary file not shown.

BIN
res/TITLE.HGR/MICROGOLF Normal file

Binary file not shown.

Binary file not shown.

View File

@ -6,6 +6,7 @@
- Fox & Geese
- Kono
- Micro Golf
- Mu Torere
- Nine Men's Morris
- Rock & Scroll

View File

@ -40,7 +40,6 @@ John Elway's Quarterback
John Madden Football
Ken Uston's Professional Blackjack (latest version is 1.23?) [4am crack]
Maxi Golf
Micro Golf (from file, not ProDOS 2.0.3 remake)
Micro League Baseball (1984 version, not 1980)
MicroChess 2.0 (Personal Software) [4am crack]
Olympic Decathlon

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=MICROGOLF
LOADER=$(BUILDDIR)/LOADER.SYSTEM\#FF2000
EXE=$(BUILDDIR)/MICROGOLF\#060800
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/microgolf.a
$(CADIUS) REPLACEFILE "$(BUILDDISK)" "/$(DISKVOLUME)/" "$(EXE)" -C
@touch "$@"
$(RES): $(BUILDDIR)
$(CADIUS) REPLACEFILE "$(BUILDDISK)" "/$(DISKVOLUME)/" "$@" -C
@touch "$@"
$(COMPRESSED):
$(EXOMIZER) src/OBJ@0x5000 -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/microgolf/src/OBJ Normal file

Binary file not shown.

Binary file not shown.

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 $0800
!word $FFFF
!word 0
filename
!text 9,"MICROGOLF"

View File

@ -0,0 +1,29 @@
!cpu 6502
*=$0800
!to "build/MICROGOLF#060800",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 = 0
!src "../common/src/exodecrunch.a"
start
+INIT_MACHINE
!if * != $18B6 {
!serious "Adjust prelaunch to patch JSR at ", *
}
jsr decrunch ; compressed data contains target address
jmp $5000
get_crunched_byte
lda compressed_data
inc get_crunched_byte+1
bne +
inc get_crunched_byte+2
+ rts

View File

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

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 1986193
!le16 294
!be24 2001334
!le16 308

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 1987800
!le16 534
!be24 2002986
!le16 548

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 1989717
!le16 500
!be24 2004948
!le16 514

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 1992236
!le16 792
!be24 2007512
!le16 806

View File

@ -3,4 +3,4 @@
;
; This file is automatically generated
;
!word 24
!word 25

View File

@ -3,4 +3,4 @@
;
; This file is automatically generated
;
!word 35
!word 36

View File

@ -3,4 +3,4 @@
;
; This file is automatically generated
;
!word 39
!word 40

View File

@ -3,4 +3,4 @@
;
; This file is automatically generated
;
!word 54
!word 55

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2005331
!be24 2020735
!le16 766

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2003473
!be24 2018827
!le16 229

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 1999613
!le16 969
!be24 2014919
!le16 985

View File

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

View File

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

View File

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

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2004037
!be24 2019391
!le16 89

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2004218
!le16 125
!be24 2019572
!le16 175

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2004343
!be24 2019747
!le16 699

View File

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

View File

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

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2001702
!le16 475
!be24 2017024
!le16 491

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2002177
!be24 2017515
!le16 498

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 1993028
!le16 969
!be24 2008318
!le16 985

View File

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

View File

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

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 1985364
!le16 829
!be24 2000474
!le16 860

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 1986487
!le16 1313
!be24 2001642
!le16 1344

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 1988334
!le16 1383
!be24 2003534
!le16 1414

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 1990217
!le16 2019
!be24 2005462
!le16 2050

View File

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

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2002675
!le16 798
!be24 2018013
!le16 814

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 1984972
!le16 392
!be24 2000064
!le16 410

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

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