mirror of
https://github.com/a2-4am/4sports.git
synced 2024-06-02 15:41:37 +00:00
add Nimwit
This commit is contained in:
parent
23a7e15d63
commit
0e3a8e8371
BIN
res/ACTION.HGR.UNCOMPRESSED/NIMWIT
Normal file
BIN
res/ACTION.HGR.UNCOMPRESSED/NIMWIT
Normal file
Binary file not shown.
BIN
res/ACTION.HGR/NIMWIT
Normal file
BIN
res/ACTION.HGR/NIMWIT
Normal file
Binary file not shown.
8
res/ATTRACT/NIMWIT
Normal file
8
res/ATTRACT/NIMWIT
Normal file
|
@ -0,0 +1,8 @@
|
|||
#
|
||||
# Attract mode for NIMWIT
|
||||
# This file is automatically generated
|
||||
#
|
||||
|
||||
NIMWIT=A
|
||||
|
||||
[eof]
|
BIN
res/CACHE00.IDX
BIN
res/CACHE00.IDX
Binary file not shown.
BIN
res/CACHE01.IDX
BIN
res/CACHE01.IDX
Binary file not shown.
BIN
res/CACHE10.IDX
BIN
res/CACHE10.IDX
Binary file not shown.
BIN
res/CACHE11.IDX
BIN
res/CACHE11.IDX
Binary file not shown.
22
res/GAMEHELP/NIMWIT
Normal file
22
res/GAMEHELP/NIMWIT
Normal file
|
@ -0,0 +1,22 @@
|
|||
|
||||
|
||||
Be the last player to make a move
|
||||
|
||||
|
||||
|
||||
joystick, keyboard, or mouse
|
||||
|
||||
move cursor with
|
||||
|
||||
I
|
||||
J K
|
||||
M
|
||||
|
||||
press Return or button 0 to select
|
||||
|
||||
press letter O to undo
|
||||
|
||||
|
||||
|
||||
Esc* * * * * * * * * * * * * * * * *quit
|
||||
[eof]
|
|
@ -53,6 +53,7 @@
|
|||
00001,MICROGOLF=Micro Golf
|
||||
00001,MICROCHESS=MicroChess
|
||||
00000,MPL=Million Perfect Letters
|
||||
00001,NIMWIT=Nimwit
|
||||
00001,NINE.MENS=Nine Men's Morris
|
||||
10001,ONE.ON.ONE=One on One
|
||||
01100,PAY.DAY=Pay Day
|
||||
|
|
|
@ -7,6 +7,7 @@ MU.TORERE
|
|||
REVERSI
|
||||
CHECKERS
|
||||
SEEGA
|
||||
NIMWIT
|
||||
MICROCHESS
|
||||
ROCK.N.SCROLL
|
||||
NINE.MENS
|
||||
|
|
|
@ -6,6 +6,7 @@ WORLD.KARATE
|
|||
TOMAHAWK
|
||||
REVERSI
|
||||
TRACK.AND.FIELD
|
||||
NIMWIT
|
||||
THE.DAM.BUSTERS
|
||||
WARI
|
||||
ONE.ON.ONE
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
FOX.AND.GEESE
|
||||
WARI
|
||||
NIMWIT
|
||||
PENSATE
|
||||
KONO
|
||||
MU.TORERE
|
||||
|
|
|
@ -15,6 +15,7 @@ ROCK.N.SCROLL
|
|||
AMER.CHALLENGE
|
||||
REVERSI
|
||||
POOL
|
||||
NIMWIT
|
||||
PITSTOP.II
|
||||
WARI
|
||||
|
||||
|
|
BIN
res/TITLE.HGR.UNPACKED/NIMWIT
Normal file
BIN
res/TITLE.HGR.UNPACKED/NIMWIT
Normal file
Binary file not shown.
1
res/TITLE.HGR/NIMWIT
Normal file
1
res/TITLE.HGR/NIMWIT
Normal file
File diff suppressed because one or more lines are too long
BIN
res/dsk/nimwit (4am pack).po
Normal file
BIN
res/dsk/nimwit (4am pack).po
Normal file
Binary file not shown.
|
@ -16,6 +16,7 @@
|
|||
- MicroChess
|
||||
- Million Perfect Letters
|
||||
- Mu Torere
|
||||
- Nimwit
|
||||
- Nine Men's Morris
|
||||
- Pay Day
|
||||
- Reversi
|
||||
|
|
|
@ -86,7 +86,6 @@ Wheel of Fortune First Edition (+ Second Edition, Third Edition, Golden Edition)
|
|||
Win, Lose, or Draw (+ Second Edition, Junior Edition) [DHGR][128K] (Junior Edition is HGR-but-128K)
|
||||
|
||||
//idea:Bez collection
|
||||
Nimwit
|
||||
Place Ball
|
||||
Slide Glide
|
||||
Magnet Madness
|
||||
|
|
55
res/ports/nimwit/Makefile
Normal file
55
res/ports/nimwit/Makefile
Normal file
|
@ -0,0 +1,55 @@
|
|||
# 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=NIMWIT
|
||||
LOADER=$(BUILDDIR)/LOADER.SYSTEM\#FF2000
|
||||
EXE=$(BUILDDIR)/NIMWIT\#068000
|
||||
COMPRESSED1=src/OBJ1.X
|
||||
COMPRESSED1=src/OBJ2.X
|
||||
SOURCES=$(wildcard src/*.a) $(COMPRESSED1) $(COMPRESSED2)
|
||||
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) $(COMPRESSED1) $(COMPRESSED2) | $(BUILDDIR)
|
||||
$(ACME) src/nimwit.a
|
||||
$(CADIUS) REPLACEFILE "$(BUILDDISK)" "/$(DISKVOLUME)/" "$(EXE)" -C
|
||||
@touch "$@"
|
||||
|
||||
$(RES): $(BUILDDIR)
|
||||
$(CADIUS) REPLACEFILE "$(BUILDDISK)" "/$(DISKVOLUME)/" "$@" -C
|
||||
@touch "$@"
|
||||
|
||||
$(COMPRESSED1):
|
||||
$(EXOMIZER) src/OBJ1@0x0900 -o "$@"
|
||||
|
||||
$(COMPRESSED1):
|
||||
$(EXOMIZER) src/OBJ2@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/nimwit/src/BANNER
Normal file
BIN
res/ports/nimwit/src/BANNER
Normal file
Binary file not shown.
BIN
res/ports/nimwit/src/BOARD
Normal file
BIN
res/ports/nimwit/src/BOARD
Normal file
Binary file not shown.
BIN
res/ports/nimwit/src/OBJ.0900.1FFF
Normal file
BIN
res/ports/nimwit/src/OBJ.0900.1FFF
Normal file
Binary file not shown.
BIN
res/ports/nimwit/src/OBJ.5000.8FFF
Normal file
BIN
res/ports/nimwit/src/OBJ.5000.8FFF
Normal file
Binary file not shown.
BIN
res/ports/nimwit/src/OBJ1
Normal file
BIN
res/ports/nimwit/src/OBJ1
Normal file
Binary file not shown.
BIN
res/ports/nimwit/src/OBJ1.X
Normal file
BIN
res/ports/nimwit/src/OBJ1.X
Normal file
Binary file not shown.
BIN
res/ports/nimwit/src/OBJ2
Normal file
BIN
res/ports/nimwit/src/OBJ2
Normal file
Binary file not shown.
BIN
res/ports/nimwit/src/OBJ2.X
Normal file
BIN
res/ports/nimwit/src/OBJ2.X
Normal file
Binary file not shown.
25
res/ports/nimwit/src/loader.a
Normal file
25
res/ports/nimwit/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,"NIMWIT"
|
52
res/ports/nimwit/src/nimwit.a
Normal file
52
res/ports/nimwit/src/nimwit.a
Normal file
|
@ -0,0 +1,52 @@
|
|||
!cpu 6502
|
||||
*=$8000
|
||||
!to "build/NIMWIT#068000",plain
|
||||
|
||||
!src "../common/src/constants.a"
|
||||
!src "../common/src/macros.a"
|
||||
|
||||
jmp start
|
||||
|
||||
compressed_data
|
||||
!bin "src/OBJ1.X"
|
||||
!bin "src/OBJ2.X"
|
||||
FORWARD_DECRUNCHING = 1
|
||||
SHOW_PROGRESS_DURING_DECRUNCH = 1
|
||||
kExoProgressWidth = 8 ; depends on total size, max 38
|
||||
!src "../common/src/exodecrunch.a"
|
||||
|
||||
start
|
||||
+INIT_MACHINE
|
||||
jsr decrunch ; compressed data contains target address
|
||||
bit GFXMODE
|
||||
bit PAGE1
|
||||
bit HIRES
|
||||
bit FULLGFX
|
||||
jsr decrunch_no_reset_progress
|
||||
jsr $900
|
||||
ldx #$20
|
||||
ldy #$00
|
||||
@a lda $9000, y
|
||||
@b sta $2000, y
|
||||
iny
|
||||
bne @a
|
||||
inc @a+2
|
||||
inc @b+2
|
||||
dex
|
||||
bne @a
|
||||
!if * != $B931 {
|
||||
!serious "Adjust prelaunch to patch JSR at ", *
|
||||
}
|
||||
jsr $906
|
||||
bit CLEARKBD
|
||||
jsr PRODOS_MLI
|
||||
!byte CMD_QUIT
|
||||
!word +
|
||||
+ !byte 4
|
||||
|
||||
get_crunched_byte
|
||||
lda compressed_data
|
||||
inc get_crunched_byte+1
|
||||
bne +
|
||||
inc get_crunched_byte+2
|
||||
+ rts
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2221182
|
||||
!be24 2246349
|
||||
!le16 571
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2208221
|
||||
!be24 2233336
|
||||
!le16 978
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2198889
|
||||
!le16 357
|
||||
!be24 2223807
|
||||
!le16 385
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2200851
|
||||
!le16 664
|
||||
!be24 2225821
|
||||
!le16 692
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2203147
|
||||
!le16 591
|
||||
!be24 2228169
|
||||
!le16 619
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2206127
|
||||
!le16 946
|
||||
!be24 2231201
|
||||
!le16 974
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
;
|
||||
; This file is automatically generated
|
||||
;
|
||||
!word 30
|
||||
!word 31
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
;
|
||||
; This file is automatically generated
|
||||
;
|
||||
!word 45
|
||||
!word 46
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
;
|
||||
; This file is automatically generated
|
||||
;
|
||||
!word 47
|
||||
!word 48
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
;
|
||||
; This file is automatically generated
|
||||
;
|
||||
!word 66
|
||||
!word 67
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2221753
|
||||
!be24 2246920
|
||||
!le16 306
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2222403
|
||||
!be24 2247570
|
||||
!le16 336
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2222739
|
||||
!be24 2247906
|
||||
!le16 303
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 1796750
|
||||
!be24 1806963
|
||||
!le16 69
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2211839
|
||||
!be24 2236954
|
||||
!le16 1640
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2222135
|
||||
!be24 2247302
|
||||
!le16 67
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2221170
|
||||
!be24 2246337
|
||||
!le16 12
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2220280
|
||||
!be24 2245447
|
||||
!le16 838
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2218192
|
||||
!be24 2243346
|
||||
!le16 271
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2209199
|
||||
!be24 2234314
|
||||
!le16 2640
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2213837
|
||||
!le16 1148
|
||||
!be24 2238952
|
||||
!le16 1161
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2222059
|
||||
!be24 2247226
|
||||
!le16 76
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2221118
|
||||
!be24 2246285
|
||||
!le16 52
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2222202
|
||||
!be24 2247369
|
||||
!le16 201
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2218463
|
||||
!be24 2243617
|
||||
!le16 383
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2218846
|
||||
!be24 2244000
|
||||
!le16 138
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2218984
|
||||
!be24 2244138
|
||||
!le16 92
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2219076
|
||||
!le16 202
|
||||
!be24 2244230
|
||||
!le16 215
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2219278
|
||||
!be24 2244445
|
||||
!le16 713
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2219991
|
||||
!be24 2245158
|
||||
!le16 285
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2220276
|
||||
!be24 2245443
|
||||
!le16 4
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2223042
|
||||
!be24 2248209
|
||||
!le16 2370
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2216105
|
||||
!le16 626
|
||||
!be24 2241233
|
||||
!le16 639
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2216731
|
||||
!be24 2241872
|
||||
!le16 526
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2207073
|
||||
!le16 1148
|
||||
!be24 2232175
|
||||
!le16 1161
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 636459
|
||||
!be24 644651
|
||||
!le16 8184
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 652835
|
||||
!be24 661027
|
||||
!le16 8184
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 644643
|
||||
!be24 652835
|
||||
!le16 8192
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2197889
|
||||
!le16 1000
|
||||
!be24 2222783
|
||||
!le16 1024
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2199246
|
||||
!le16 1605
|
||||
!be24 2224192
|
||||
!le16 1629
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2201515
|
||||
!le16 1632
|
||||
!be24 2226513
|
||||
!le16 1656
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2203738
|
||||
!le16 2389
|
||||
!be24 2228788
|
||||
!le16 2413
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2213479
|
||||
!be24 2238594
|
||||
!le16 358
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2214985
|
||||
!be24 2240113
|
||||
!le16 1120
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2217257
|
||||
!le16 935
|
||||
!be24 2242398
|
||||
!le16 948
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2197372
|
||||
!le16 517
|
||||
!be24 2222251
|
||||
!le16 532
|
||||
|
|
19
src/prelaunch/nimwit.a
Normal file
19
src/prelaunch/nimwit.a
Normal file
|
@ -0,0 +1,19 @@
|
|||
;license:MIT
|
||||
|
||||
!cpu 6502
|
||||
!to "build/PRELAUNCH.INDEXED/NIMWIT",plain
|
||||
*=$106
|
||||
|
||||
!source "src/prelaunch/common.a"
|
||||
|
||||
+ENABLE_ACCEL
|
||||
lda #$4C
|
||||
sta $B931
|
||||
jsr $8000
|
||||
+DISABLE_ACCEL
|
||||
+RESET_VECTOR $100
|
||||
jmp $B934
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
Loading…
Reference in New Issue
Block a user