add Million Perfect Tiles

This commit is contained in:
4am 2024-04-12 21:42:48 -04:00
parent f2ecfa470d
commit a468c6435c
69 changed files with 222 additions and 59 deletions

File diff suppressed because one or more lines are too long

BIN
res/ACTION.HGR/MPT Normal file

Binary file not shown.

8
res/ATTRACT/MPT Normal file
View File

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

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

23
res/GAMEHELP/MPT Normal file
View File

@ -0,0 +1,23 @@
Fill the board with colored tiles
mouse or keyboard
B to place blue
I
J K or < > then W to place white
M 
Space to cycle
H* * * * * * * * * * * * * *display hint
Ctrl-R * * * * * * * * * * restart level
Ctrl-S * * * * * * * * * * *toggle sound
Esc* * * * * * * * * * * * * *quit level
[eof]

View File

@ -54,6 +54,7 @@
00001,MICROGOLF=Micro Golf
00001,MICROCHESS=MicroChess
00000,MPL=Million Perfect Letters
00000,MPT=Million Perfect Tiles
00001,MIX.MATCHER=Mix Matcher
00001,MU.TORERE=Mu Torere
00001,NIMWIT=Nimwit

View File

@ -12,6 +12,7 @@ MPL
JUMP.PIT
INTL.GRAN.PRIX
MAGNET.MADNESS
MPT
MIX.MATCHER
GO
HARDBALL

View File

@ -8,6 +8,7 @@ FIGHT.NIGHT
WORLD.KARATE
STUNT.CAR.RACER
SKI.CRAZED
MPT
BOP.N.WRESTLE
SPDWAY.CLASSIC

View File

@ -19,6 +19,7 @@ FS2
MAGNET.MADNESS
DIVE.BOMBER
KONO
MPT
HIRES.SOCCER
MICROCHESS

File diff suppressed because one or more lines are too long

1
res/TITLE.HGR/MPT Normal file

File diff suppressed because one or more lines are too long

Binary file not shown.

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=MPT
LOADER=$(BUILDDIR)/LOADER.SYSTEM\#FF2000
EXE=$(BUILDDIR)/MPT\#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/mpt.a
$(CADIUS) REPLACEFILE "$(BUILDDISK)" "/$(DISKVOLUME)/" "$(EXE)" -C
@touch "$@"
$(RES): $(BUILDDIR)
$(CADIUS) REPLACEFILE "$(BUILDDISK)" "/$(DISKVOLUME)/" "$@" -C
@touch "$@"
$(COMPRESSED):
$(EXOMIZER) src/OBJ@0x2000 -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 @@
111 ||| ||+---CHEAT (0/1) |+---SOUND (0/1) +---PREFS VERSION (DO NOT CHANGE)

Binary file not shown.

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 $8000
!word $FFFF
!word 0
filename
!text 3,"MPT"

View File

@ -0,0 +1,29 @@
!cpu 6502
*=$8000
!to "build/MPT#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 * != $A6A5 {
!serious "Adjust prelaunch to patch JSR at ", *
}
jsr decrunch ; compressed data contains target address
jmp $2000
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 2314147
!be24 2322791
!le16 571

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2290861
!le16 427
!be24 2299279
!le16 444

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2293019
!le16 734
!be24 2301490
!le16 751

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2295511
!le16 661
!be24 2304035
!le16 678

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2298687
!le16 1016
!be24 2307264
!le16 1033

View File

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

View File

@ -3,4 +3,4 @@
;
; This file is automatically generated
;
!word 49
!word 50

View File

@ -3,4 +3,4 @@
;
; This file is automatically generated
;
!word 51
!word 52

View File

@ -3,4 +3,4 @@
;
; This file is automatically generated
;
!word 70
!word 71

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2313245
!be24 2321889
!le16 838

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2311090
!be24 2319724
!le16 271

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2306534
!le16 1215
!be24 2315138
!le16 1225

View File

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

View File

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

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2311361
!be24 2319995
!le16 383

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2311744
!be24 2320378
!le16 138

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2311882
!be24 2320516
!le16 107

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2311989
!le16 254
!be24 2320623
!le16 264

View File

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

View File

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

View File

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

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2308869
!le16 693
!be24 2317483
!le16 703

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2299703
!le16 1215
!be24 2308297
!le16 1225

View File

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

View File

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

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2289735
!le16 1126
!be24 2298117
!le16 1162

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2291288
!le16 1731
!be24 2299723
!le16 1767

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2293753
!le16 1758
!be24 2302241
!le16 1794

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2296172
!le16 2515
!be24 2304713
!le16 2551

View File

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

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2310088
!le16 1002
!be24 2318712
!le16 1012

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 2289143
!be24 2297525
!le16 592

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

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