mirror of
https://github.com/a2-4am/4sports.git
synced 2024-06-09 01:29:29 +00:00
add Reversi
This commit is contained in:
parent
7d9a6ec67f
commit
b4a93bb57e
BIN
res/ACTION.HGR.UNCOMPRESSED/REVERSI
Normal file
BIN
res/ACTION.HGR.UNCOMPRESSED/REVERSI
Normal file
Binary file not shown.
BIN
res/ACTION.HGR/REVERSI
Normal file
BIN
res/ACTION.HGR/REVERSI
Normal file
Binary file not shown.
8
res/ATTRACT/REVERSI
Normal file
8
res/ATTRACT/REVERSI
Normal file
|
@ -0,0 +1,8 @@
|
|||
#
|
||||
# Attract mode for REVERSI
|
||||
# This file is automatically generated
|
||||
#
|
||||
|
||||
REVERSI=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.
17
res/GAMEHELP/REVERSI
Normal file
17
res/GAMEHELP/REVERSI
Normal file
|
@ -0,0 +1,17 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Place your pieces
|
||||
|
||||
Flip your opponent's pieces
|
||||
|
||||
|
||||
|
||||
< select >
|
||||
|
||||
press Return to place
|
||||
[eof]
|
|
@ -50,6 +50,7 @@
|
|||
00001,PENSATE=Pensate
|
||||
00001,PITSTOP.II=Pitstop II
|
||||
10001,POOL=Pool
|
||||
00001,REVERSI=Reversi
|
||||
00001,ROCK.N.SCROLL=Rock & Scroll
|
||||
00001,SEEGA=Seega
|
||||
00001,SHUFFLEBOARD=Shuffleboard
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
KONO
|
||||
MU.TORERE
|
||||
REVERSI
|
||||
SEEGA
|
||||
ROCK.N.SCROLL
|
||||
NINE.MENS
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
WORLD.KARATE
|
||||
TOMAHAWK
|
||||
REVERSI
|
||||
TRACK.AND.FIELD
|
||||
THE.DAM.BUSTERS
|
||||
WARI
|
||||
|
|
|
@ -7,6 +7,7 @@ WARI
|
|||
PENSATE
|
||||
KONO
|
||||
MU.TORERE
|
||||
REVERSI
|
||||
SEEGA
|
||||
NINE.MENS
|
||||
ROCK.N.SCROLL
|
||||
|
|
|
@ -13,6 +13,7 @@ THE.DAM.BUSTERS
|
|||
ONE.ON.ONE
|
||||
ROCK.N.SCROLL
|
||||
AMER.CHALLENGE
|
||||
REVERSI
|
||||
POOL
|
||||
PITSTOP.II
|
||||
WARI
|
||||
|
|
BIN
res/TITLE.HGR.UNPACKED/REVERSI
Normal file
BIN
res/TITLE.HGR.UNPACKED/REVERSI
Normal file
Binary file not shown.
BIN
res/TITLE.HGR/REVERSI
Normal file
BIN
res/TITLE.HGR/REVERSI
Normal file
Binary file not shown.
BIN
res/dsk/reversi (4am pack).po
Normal file
BIN
res/dsk/reversi (4am pack).po
Normal file
Binary file not shown.
|
@ -9,6 +9,7 @@
|
|||
- Micro Golf
|
||||
- Mu Torere
|
||||
- Nine Men's Morris
|
||||
- Reversi
|
||||
- Rock & Scroll
|
||||
- Seega
|
||||
- Wari
|
||||
|
|
51
res/ports/reversi/Makefile
Normal file
51
res/ports/reversi/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=REVERSI
|
||||
LOADER=$(BUILDDIR)/LOADER.SYSTEM\#FF2000
|
||||
EXE=$(BUILDDIR)/REVERSI\#067E99
|
||||
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/reversi.a
|
||||
$(CADIUS) REPLACEFILE "$(BUILDDISK)" "/$(DISKVOLUME)/" "$(EXE)" -C
|
||||
@touch "$@"
|
||||
|
||||
$(RES): $(BUILDDIR)
|
||||
$(CADIUS) REPLACEFILE "$(BUILDDISK)" "/$(DISKVOLUME)/" "$@" -C
|
||||
@touch "$@"
|
||||
|
||||
$(COMPRESSED):
|
||||
$(EXOMIZER) src/OBJ@0x0800 -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/reversi/src/OBJ
Normal file
BIN
res/ports/reversi/src/OBJ
Normal file
Binary file not shown.
BIN
res/ports/reversi/src/OBJ.X
Normal file
BIN
res/ports/reversi/src/OBJ.X
Normal file
Binary file not shown.
BIN
res/ports/reversi/src/TITLE.7E9C
Normal file
BIN
res/ports/reversi/src/TITLE.7E9C
Normal file
Binary file not shown.
25
res/ports/reversi/src/loader.a
Normal file
25
res/ports/reversi/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 $7E99
|
||||
!word $FFFF
|
||||
!word 0
|
||||
|
||||
filename
|
||||
!text 7,"REVERSI"
|
33
res/ports/reversi/src/reversi.a
Normal file
33
res/ports/reversi/src/reversi.a
Normal file
|
@ -0,0 +1,33 @@
|
|||
!cpu 6502
|
||||
*=$7E99
|
||||
!to "build/REVERSI#067E99",plain
|
||||
|
||||
!src "../common/src/constants.a"
|
||||
!src "../common/src/macros.a"
|
||||
|
||||
jmp start
|
||||
|
||||
title
|
||||
!bin "src/TITLE.7E9C"
|
||||
compressed_data
|
||||
!bin "src/OBJ.X"
|
||||
DECRUNCH_FORWARDS = 1
|
||||
SHOW_PROGRESS_DURING_DECRUNCH = 1
|
||||
kExoProgressWidth = 10 ; depends on total size, max 38
|
||||
!src "../common/src/exodecrunch.a"
|
||||
|
||||
start
|
||||
+INIT_MACHINE
|
||||
jsr title
|
||||
!if * != $9FB3 {
|
||||
!serious "Adjust prelaunch to patch JSR at ", *
|
||||
}
|
||||
jsr decrunch ; compressed data contains target address
|
||||
jmp $404B
|
||||
|
||||
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 2021565
|
||||
!be24 2038791
|
||||
!le16 571
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2009303
|
||||
!be24 2026473
|
||||
!le16 978
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2001334
|
||||
!le16 308
|
||||
!be24 2018356
|
||||
!le16 322
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2002986
|
||||
!le16 548
|
||||
!be24 2020048
|
||||
!le16 562
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2004948
|
||||
!le16 514
|
||||
!be24 2022050
|
||||
!le16 528
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2007512
|
||||
!le16 806
|
||||
!be24 2024654
|
||||
!le16 820
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
;
|
||||
; This file is automatically generated
|
||||
;
|
||||
!word 25
|
||||
!word 26
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
;
|
||||
; This file is automatically generated
|
||||
;
|
||||
!word 36
|
||||
!word 37
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
;
|
||||
; This file is automatically generated
|
||||
;
|
||||
!word 40
|
||||
!word 41
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
;
|
||||
; This file is automatically generated
|
||||
;
|
||||
!word 55
|
||||
!word 56
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2022136
|
||||
!be24 2039362
|
||||
!le16 306
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2022786
|
||||
!be24 2040012
|
||||
!le16 336
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2023122
|
||||
!be24 2040348
|
||||
!le16 303
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 1658616
|
||||
!be24 1667104
|
||||
!le16 69
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2012921
|
||||
!be24 2030091
|
||||
!le16 1640
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2022518
|
||||
!be24 2039744
|
||||
!le16 67
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2021553
|
||||
!be24 2038779
|
||||
!le16 12
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2020735
|
||||
!be24 2037961
|
||||
!le16 766
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2018827
|
||||
!be24 2036039
|
||||
!le16 229
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2010281
|
||||
!be24 2027451
|
||||
!le16 2640
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2014919
|
||||
!le16 985
|
||||
!be24 2032089
|
||||
!le16 999
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2022442
|
||||
!be24 2039668
|
||||
!le16 76
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2021501
|
||||
!be24 2038727
|
||||
!le16 52
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2022585
|
||||
!be24 2039811
|
||||
!le16 201
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2019056
|
||||
!be24 2036268
|
||||
!le16 335
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2019391
|
||||
!be24 2036603
|
||||
!le16 89
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2019480
|
||||
!be24 2036692
|
||||
!le16 92
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2019572
|
||||
!be24 2036784
|
||||
!le16 175
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2019747
|
||||
!le16 699
|
||||
!be24 2036959
|
||||
!le16 713
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2020446
|
||||
!be24 2037672
|
||||
!le16 285
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2020731
|
||||
!be24 2037957
|
||||
!le16 4
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2023425
|
||||
!be24 2040651
|
||||
!le16 2370
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2017024
|
||||
!be24 2034208
|
||||
!le16 491
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2017515
|
||||
!le16 498
|
||||
!be24 2034699
|
||||
!le16 512
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2008318
|
||||
!le16 985
|
||||
!be24 2025474
|
||||
!le16 999
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 524843
|
||||
!be24 532523
|
||||
!le16 8184
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 541219
|
||||
!be24 548899
|
||||
!le16 8184
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 533027
|
||||
!be24 540707
|
||||
!le16 8192
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2000474
|
||||
!le16 860
|
||||
!be24 2017470
|
||||
!le16 886
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2001642
|
||||
!le16 1344
|
||||
!be24 2018678
|
||||
!le16 1370
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2003534
|
||||
!le16 1414
|
||||
!be24 2020610
|
||||
!le16 1440
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2005462
|
||||
!le16 2050
|
||||
!be24 2022578
|
||||
!le16 2076
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2014561
|
||||
!be24 2031731
|
||||
!le16 358
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2015904
|
||||
!be24 2033088
|
||||
!le16 1120
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2018013
|
||||
!le16 814
|
||||
!be24 2035211
|
||||
!le16 828
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2000064
|
||||
!le16 410
|
||||
!be24 2017044
|
||||
!le16 426
|
||||
|
|
19
src/prelaunch/reversi.a
Normal file
19
src/prelaunch/reversi.a
Normal file
|
@ -0,0 +1,19 @@
|
|||
;license:MIT
|
||||
|
||||
!cpu 6502
|
||||
!to "build/PRELAUNCH.INDEXED/REVERSI",plain
|
||||
*=$106
|
||||
|
||||
!source "src/prelaunch/common.a"
|
||||
|
||||
+ENABLE_ACCEL
|
||||
lda #$4C
|
||||
sta $9FB3
|
||||
jsr $7E99
|
||||
+DISABLE_ACCEL
|
||||
+RESET_VECTOR $100
|
||||
jmp $9FB6
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
Loading…
Reference in New Issue
Block a user