mirror of
https://github.com/mi57730/a2d.git
synced 2025-02-09 04:30:43 +00:00
bootstrap sys
This commit is contained in:
parent
ca80014eb7
commit
74296a74ac
@ -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)
|
||||
|
@ -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
4350
desktop/sys.s
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user