-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
$ sna2ctl.py --hex -m river-raid.prof river-raid.z80 > river-raid.ctl
- Loading branch information
0 parents
commit 63bd398
Showing
7 changed files
with
25,562 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.z80 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
GAME=river-raid | ||
|
||
ASM=$(GAME).asm | ||
CTL=$(GAME).ctl | ||
PRISTINE_Z80=$(GAME).pristine.z80 | ||
SKOOL=$(GAME).skool | ||
T2S=$(GAME).t2s | ||
Z80=$(GAME).z80 | ||
|
||
PC=23762 | ||
SP=65344 | ||
|
||
.PHONY: all | ||
all: $(ASM) $(Z80) | ||
|
||
$(ASM): $(SKOOL) | ||
skool2asm.py --create-labels $< > $@ | ||
|
||
$(Z80): $(SKOOL) | ||
skool2bin.py $< - | bin2sna.py --border 0 --org 16384 --start $(PC) --stack $(SP) - $@ | ||
diff -u $(PRISTINE_Z80) $(Z80) | ||
|
||
$(SKOOL): $(PRISTINE_Z80) $(CTL) | ||
sna2skool.py --hex $(PRISTINE_Z80) --ctl $(CTL) > $@ | ||
|
||
$(PRISTINE_Z80): $(T2S) | ||
tap2sna.py -f @$(T2S) \ | ||
--reg pc=$(PC) \ | ||
--reg sp=$(SP) \ | ||
https://zxaaa.net/DENIED/River%20Raid%20%281984%29%28Activision%29.tzx \ | ||
$(PRISTINE_Z80) | ||
|
||
clean: | ||
rm -f \ | ||
*.asm \ | ||
*.skool \ | ||
*.z80 |
Oops, something went wrong.