mirror of
https://github.com/mi57730/a2d.git
synced 2025-02-09 19:32:02 +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 \
|
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)
|
||||||
|
@ -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
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