-
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.
Merge pull request #1 from markdryan/markdryan/v2
Version 2 of Specasm
- Loading branch information
Showing
55 changed files
with
1,223 additions
and
781 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
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
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 |
---|---|---|
@@ -1,21 +1,21 @@ | ||
error.o: ../../src/error.c ../../src/error.h | ||
state_base.o: ../../src/state_base.c ../../src/peer.h ../../src/error.h ../../src/peer_zx.h \ | ||
../../src/line.h ../../src/state_base.h ../../src/strings.h | ||
state.o: ../../src/state.c ../../src/state.h ../../src/state_base.h ../../src/line.h ../../src/error.h \ | ||
../../src/strings.h | ||
line.o: ../../src/line.c ../../src/peer.h ../../src/error.h ../../src/peer_zx.h ../../src/line.h \ | ||
../../src/state.h ../../src/state_base.h ../../src/strings.h | ||
editor.o: ../../src/editor.c ../../src/editor.h ../../src/peer.h ../../src/error.h \ | ||
../../src/peer_zx.h ../../src/line.h ../../src/state.h ../../src/state_base.h ../../src/strings.h | ||
saimport.o: ../../src/saimport.c ../../src/peer.h ../../src/error.h ../../src/peer_zx.h \ | ||
../../src/line.h ../../src/peer_file.h ../../src/state.h ../../src/state_base.h ../../src/strings.h | ||
saexport.o: ../../src/saexport.c ../../src/peer.h ../../src/error.h ../../src/peer_zx.h \ | ||
../../src/line.h ../../src/peer_file.h ../../src/state.h ../../src/state_base.h ../../src/strings.h | ||
salink.o: ../../src/salink.c ../../src/peer.h ../../src/error.h ../../src/peer_zx.h ../../src/line.h \ | ||
../../src/peer_file.h ../../src/state_base.h ../../src/strings.h | ||
peer_zx.o: ../../src/peer_zx.c ../../src/peer.h ../../src/state.h ../../src/state_base.h ../../src/line.h \ | ||
../../src/strings.h ../../src/error.h | ||
peer_file_zx.o: ../../src/peer_file_zx.c ../../src/error.h ../../src/peer_file.h | ||
error.o: ../src/error.c ../src/error.h | ||
state_base.o: ../src/state_base.c ../src/peer.h ../src/error.h ../src/peer_zx.h \ | ||
../src/line.h ../src/state_base.h ../src/strings.h | ||
state.o: ../src/state.c ../src/state.h ../src/state_base.h ../src/line.h ../src/error.h \ | ||
../src/strings.h | ||
line.o: ../src/line.c ../src/peer.h ../src/error.h ../src/peer_zx.h ../src/line.h \ | ||
../src/state.h ../src/state_base.h ../src/strings.h | ||
editor.o: ../src/editor.c ../src/editor.h ../src/peer.h ../src/error.h \ | ||
../src/peer_zx.h ../src/line.h ../src/state.h ../src/state_base.h ../src/strings.h | ||
saimport.o: ../src/saimport.c ../src/peer.h ../src/error.h ../src/peer_zx.h \ | ||
../src/line.h ../src/peer_file.h ../src/state.h ../src/state_base.h ../src/strings.h | ||
saexport.o: ../src/saexport.c ../src/peer.h ../src/error.h ../src/peer_zx.h \ | ||
../src/line.h ../src/peer_file.h ../src/state.h ../src/state_base.h ../src/strings.h | ||
salink.o: ../src/salink.c ../src/peer.h ../src/error.h ../src/peer_zx.h ../src/line.h \ | ||
../src/peer_file.h ../src/state_base.h ../src/strings.h | ||
peer_zx.o: ../src/peer_zx.c ../src/peer.h ../src/state.h ../src/state_base.h ../src/line.h \ | ||
../src/strings.h ../src/error.h | ||
peer_file_zx.o: ../src/peer_file_zx.c ../src/error.h ../src/peer_file.h | ||
|
||
%.o: %.c | ||
zcc $(CFLAGS) -o $@ -c $< |
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 |
---|---|---|
@@ -1,23 +1,68 @@ | ||
VPATH=../src | ||
|
||
.PHONY: all | ||
all: tap dot | ||
all: specasm.tap salink.tap SAEXPORT SAIMPORT | ||
|
||
CC=zcc | ||
CFLAGS=+zx -SO2 --opt-code-size --max-allocs-per-node200000 -Cs "--disable-warning 85" -clib=sdcc_iy | ||
|
||
include Make.include | ||
|
||
SPECASM = \ | ||
specasm.o \ | ||
line.o \ | ||
error.o \ | ||
state_base.o \ | ||
state.o \ | ||
editor.o \ | ||
peer_zx.o | ||
|
||
SALINK = \ | ||
salink.o \ | ||
error.o \ | ||
state_base.o \ | ||
peer_file_zx.o \ | ||
peer_zx.o | ||
|
||
SAEXPORT = \ | ||
error.o \ | ||
state_base.o \ | ||
line.o \ | ||
state.o \ | ||
peer_file_zx.o \ | ||
peer_zx.o \ | ||
saexport.o | ||
|
||
SAIMPORT = \ | ||
error.o \ | ||
state_base.o \ | ||
line.o \ | ||
state.o \ | ||
peer_file_zx.o \ | ||
peer_zx.o \ | ||
saimport.o | ||
|
||
specasm.tap: $(SPECASM) | ||
$(CC) $(CFLAGS) -zorg=24550 -startup=31 -o specasm $^ -create-app -Cz--merge=../bas/SPECLD.TAP | ||
|
||
salink.tap: $(SALINK) | ||
$(CC) $(CFLAGS) -zorg=24000 -startup=31 -o salink $^ -create-app | ||
|
||
.PHONY: tap | ||
tap: | ||
$(MAKE) -C tap | ||
SAEXPORT: $(SAEXPORT) | ||
$(CC) $(CFLAGS) -startup=30 -o $@ $(SAEXPORT) -subtype=dotx -Cz"--clean" -create-app | ||
|
||
.PHONY: dot | ||
dot: | ||
$(MAKE) -C dot | ||
SAIMPORT: $(SAIMPORT) | ||
$(CC) $(CFLAGS) -startup=30 -o $@ $(SAIMPORT) -subtype=dotx -Cz"--clean" -create-app | ||
|
||
clean: | ||
rm -rf specasm specasm.zip | ||
- $(MAKE) -C tap clean | ||
- $(MAKE) -C dot clean | ||
- rm -rf specasm *.zip | ||
- rm *.X *.o *.bin *.tap SAIMPORT SAEXPORT | ||
|
||
.PHONY: release | ||
release: | ||
- rm -rf specasm | ||
mkdir specasm | ||
cp tap/*.tap specasm | ||
cp dot/SAIMPORT dot/SAEXPORT dot/*.X specasm | ||
cp ../bas/* specasm | ||
zip -r specasm.zip specasm | ||
- rm -rf release | ||
mkdir -p release/specasm | ||
cp *.tap release/specasm | ||
cp SAIMPORT SAEXPORT *.X release/specasm | ||
cp ../bas/* release/specasm | ||
cd release && zip -r specasm.zip specasm |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.