mirror of
https://github.com/a2-4am/4sports.git
synced 2024-11-04 22:05:59 +00:00
add Go
This commit is contained in:
parent
76791ea92e
commit
b48796b4db
BIN
res/ACTION.HGR.UNCOMPRESSED/GO
Normal file
BIN
res/ACTION.HGR.UNCOMPRESSED/GO
Normal file
Binary file not shown.
BIN
res/ACTION.HGR/GO
Normal file
BIN
res/ACTION.HGR/GO
Normal file
Binary file not shown.
8
res/ATTRACT/GO
Normal file
8
res/ATTRACT/GO
Normal file
@ -0,0 +1,8 @@
|
||||
#
|
||||
# Attract mode for GO
|
||||
# This file is automatically generated
|
||||
#
|
||||
|
||||
GO=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.
@ -40,6 +40,7 @@
|
||||
10001,FORMULA.1.RACER=Formula 1 Racer
|
||||
00001,FOX.AND.GEESE=Fox & Geese
|
||||
10001,FUJI.SPEED.WAY=Fuji Crowded Speedway
|
||||
00001,GO=Go
|
||||
10001,HARDBALL=Hardball
|
||||
10001,HIRES.FOOTBALL=Hi-Res Football
|
||||
10001,HIRES.SOCCER=Hi-Res Soccer
|
||||
|
@ -11,6 +11,7 @@ MICROCHESS
|
||||
ROCK.N.SCROLL
|
||||
NINE.MENS
|
||||
PENSATE
|
||||
GO
|
||||
WARI
|
||||
FOX.AND.GEESE
|
||||
|
||||
|
@ -9,6 +9,7 @@ KONO
|
||||
MICROGOLF2=MICROGOLF
|
||||
HIRES.SOCCER
|
||||
INTL.GRAN.PRIX
|
||||
GO
|
||||
HARDBALL
|
||||
MICROGOLF3=MICROGOLF
|
||||
HIRES.FOOTBALL
|
||||
|
@ -8,6 +8,7 @@ PENSATE
|
||||
KONO
|
||||
MU.TORERE
|
||||
REVERSI
|
||||
GO
|
||||
CHECKERS
|
||||
SEEGA
|
||||
NINE.MENS
|
||||
|
@ -11,6 +11,7 @@ MICROGOLF
|
||||
HIRES.FOOTBALL
|
||||
FOX.AND.GEESE
|
||||
HARDBALL
|
||||
GO
|
||||
FS2
|
||||
DIVE.BOMBER
|
||||
KONO
|
||||
|
BIN
res/TITLE.HGR.UNPACKED/GO
Normal file
BIN
res/TITLE.HGR.UNPACKED/GO
Normal file
Binary file not shown.
BIN
res/TITLE.HGR/GO
Normal file
BIN
res/TITLE.HGR/GO
Normal file
Binary file not shown.
BIN
res/dsk/go (4am pack).po
Normal file
BIN
res/dsk/go (4am pack).po
Normal file
Binary file not shown.
@ -7,6 +7,7 @@
|
||||
- Advance to Boardwalk
|
||||
- Checkers
|
||||
- Fox & Geese
|
||||
- Go
|
||||
- Hi-Res Football
|
||||
- Hi-Res Soccer
|
||||
- Kono
|
||||
|
51
res/ports/go/Makefile
Normal file
51
res/ports/go/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=GO
|
||||
LOADER=$(BUILDDIR)/LOADER.SYSTEM\#FF2000
|
||||
EXE=$(BUILDDIR)/GO\#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/go.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/go/src/OBJ
Normal file
BIN
res/ports/go/src/OBJ
Normal file
Binary file not shown.
BIN
res/ports/go/src/OBJ.X
Normal file
BIN
res/ports/go/src/OBJ.X
Normal file
Binary file not shown.
29
res/ports/go/src/go.a
Normal file
29
res/ports/go/src/go.a
Normal file
@ -0,0 +1,29 @@
|
||||
!cpu 6502
|
||||
*=$8000
|
||||
!to "build/GO#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 * != $9C5F {
|
||||
!serious "Adjust prelaunch to patch JSR at ", *
|
||||
}
|
||||
jsr decrunch ; compressed data contains target address
|
||||
jmp $800
|
||||
|
||||
get_crunched_byte
|
||||
lda compressed_data
|
||||
inc get_crunched_byte+1
|
||||
bne +
|
||||
inc get_crunched_byte+2
|
||||
+ rts
|
25
res/ports/go/src/loader.a
Normal file
25
res/ports/go/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 2,"GO"
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2186914
|
||||
!be24 2202235
|
||||
!le16 571
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2174110
|
||||
!be24 2189395
|
||||
!le16 978
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2165175
|
||||
!le16 329
|
||||
!be24 2180375
|
||||
!le16 336
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2167025
|
||||
!le16 615
|
||||
!be24 2182248
|
||||
!le16 622
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2169218
|
||||
!le16 563
|
||||
!be24 2184464
|
||||
!le16 570
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2172086
|
||||
!le16 911
|
||||
!be24 2187355
|
||||
!le16 918
|
||||
|
@ -3,4 +3,4 @@
|
||||
;
|
||||
; This file is automatically generated
|
||||
;
|
||||
!word 28
|
||||
!word 29
|
||||
|
@ -3,4 +3,4 @@
|
||||
;
|
||||
; This file is automatically generated
|
||||
;
|
||||
!word 42
|
||||
!word 43
|
||||
|
@ -3,4 +3,4 @@
|
||||
;
|
||||
; This file is automatically generated
|
||||
;
|
||||
!word 45
|
||||
!word 46
|
||||
|
@ -3,4 +3,4 @@
|
||||
;
|
||||
; This file is automatically generated
|
||||
;
|
||||
!word 63
|
||||
!word 64
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2187485
|
||||
!be24 2202806
|
||||
!le16 306
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2188135
|
||||
!be24 2203456
|
||||
!le16 336
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2188471
|
||||
!be24 2203792
|
||||
!le16 303
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 1770382
|
||||
!be24 1778274
|
||||
!le16 69
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2177728
|
||||
!be24 2193013
|
||||
!le16 1640
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2187867
|
||||
!be24 2203188
|
||||
!le16 67
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2186902
|
||||
!be24 2202223
|
||||
!le16 12
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2186012
|
||||
!be24 2201333
|
||||
!le16 838
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2183976
|
||||
!be24 2199288
|
||||
!le16 271
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2175088
|
||||
!be24 2190373
|
||||
!le16 2640
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2179726
|
||||
!le16 1113
|
||||
!be24 2195011
|
||||
!le16 1122
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2187791
|
||||
!be24 2203112
|
||||
!le16 76
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2186850
|
||||
!be24 2202171
|
||||
!le16 52
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2187934
|
||||
!be24 2203255
|
||||
!le16 201
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2184247
|
||||
!be24 2199559
|
||||
!le16 350
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2184597
|
||||
!le16 129
|
||||
!be24 2199909
|
||||
!le16 138
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2184726
|
||||
!be24 2200047
|
||||
!le16 92
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2184818
|
||||
!be24 2200139
|
||||
!le16 192
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2185010
|
||||
!be24 2200331
|
||||
!le16 713
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2185723
|
||||
!be24 2201044
|
||||
!le16 285
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2186008
|
||||
!be24 2201329
|
||||
!le16 4
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2188774
|
||||
!be24 2204095
|
||||
!le16 2370
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2181959
|
||||
!le16 591
|
||||
!be24 2197253
|
||||
!le16 600
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2182550
|
||||
!be24 2197853
|
||||
!le16 526
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2172997
|
||||
!le16 1113
|
||||
!be24 2188273
|
||||
!le16 1122
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 613419
|
||||
!be24 621099
|
||||
!le16 8184
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 629795
|
||||
!be24 637475
|
||||
!le16 8184
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 621603
|
||||
!be24 629283
|
||||
!le16 8192
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2164229
|
||||
!le16 946
|
||||
!be24 2179413
|
||||
!le16 962
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2165504
|
||||
!le16 1521
|
||||
!be24 2180711
|
||||
!le16 1537
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2167640
|
||||
!le16 1578
|
||||
!be24 2182870
|
||||
!le16 1594
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2169781
|
||||
!le16 2305
|
||||
!be24 2185034
|
||||
!le16 2321
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2179368
|
||||
!be24 2194653
|
||||
!le16 358
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2180839
|
||||
!be24 2196133
|
||||
!le16 1120
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2183076
|
||||
!le16 900
|
||||
!be24 2198379
|
||||
!le16 909
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 2163723
|
||||
!le16 506
|
||||
!be24 2178896
|
||||
!le16 517
|
||||
|
19
src/prelaunch/go.a
Normal file
19
src/prelaunch/go.a
Normal file
@ -0,0 +1,19 @@
|
||||
;license:MIT
|
||||
|
||||
!cpu 6502
|
||||
!to "build/PRELAUNCH.INDEXED/GO",plain
|
||||
*=$106
|
||||
|
||||
!source "src/prelaunch/common.a"
|
||||
|
||||
+ENABLE_ACCEL
|
||||
lda #$4C
|
||||
sta $9C5F
|
||||
jsr $8000
|
||||
+DISABLE_ACCEL
|
||||
+RESET_VECTOR $100
|
||||
jmp $9C62
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
Loading…
Reference in New Issue
Block a user