bootstrap sys

This commit is contained in:
Joshua Bell 2018-03-02 19:56:39 -08:00
parent ca80014eb7
commit 74296a74ac
3 changed files with 4356 additions and 5 deletions

View File

@ -10,7 +10,7 @@ HEADERS = $(wildcard ../*.inc) $(wildcard ../inc/*.inc) $(wildcard *.inc)
SEGMENTS = loader mgtk desktop invoker \ SEGMENTS = loader mgtk desktop invoker \
ovl1 ovl1a ovl2 ovl34567 ovl1 ovl1a ovl2 ovl34567
TARGETS = $(patsubst %,$(OUTDIR)/%.built,$(SEGMENTS)) TARGETS = $(patsubst %,$(OUTDIR)/%.built,$(SEGMENTS)) out/sys.SYS
.PHONY: clean all .PHONY: clean all
all: $(OUTDIR) $(TARGETS) all: $(OUTDIR) $(TARGETS)

View File

@ -19,9 +19,9 @@ function do_make {
} }
function verify { function verify {
diff "orig/DESKTOP2_$1" "out/$1.built" \ diff "orig/$1" "out/$2" \
&& (cecho green "diff $1 good" ) \ && (cecho green "diff $2 good" ) \
|| (tput blink ; cecho red "DIFF $1 BAD" ; return 1) || (tput blink ; cecho red "DIFF $2 BAD" ; return 1)
} }
function stats { function stats {
@ -37,8 +37,9 @@ SOURCES="loader mgtk desktop invoker ovl1 ovl1a ovl2 ovl3 ovl4 ovl5 ovl6 ovl7"
# Verify original and output match # Verify original and output match
echo "Verifying diffs:" echo "Verifying diffs:"
for t in $TARGETS; do for t in $TARGETS; do
verify $t verify "DESKTOP2_$t" "$t.built"
done; done;
verify "DESKTOP.SYSTEM.SYS" "sys.SYS"
# Compute stats # Compute stats
echo "Unidentified symbols:" echo "Unidentified symbols:"

4350
desktop/sys.s Normal file

File diff suppressed because it is too large Load Diff