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 \
ovl1 ovl1a ovl2 ovl34567
TARGETS = $(patsubst %,$(OUTDIR)/%.built,$(SEGMENTS))
TARGETS = $(patsubst %,$(OUTDIR)/%.built,$(SEGMENTS)) out/sys.SYS
.PHONY: clean all
all: $(OUTDIR) $(TARGETS)

View File

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

4350
desktop/sys.s Normal file

File diff suppressed because it is too large Load Diff