*
This commit is contained in:
parent
def41120c1
commit
3af4843598
17 changed files with 391 additions and 921 deletions
25
bootstrap.sh
Normal file → Executable file
25
bootstrap.sh
Normal file → Executable file
|
|
@ -1,15 +1,14 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
echo "======> Building seed Drifloon using uxnmin"
|
||||
make -sC utils clean
|
||||
make -sC utils drifloon.rom
|
||||
echo "======> Building Drifloon using utils/drifloon.rom (seed)"
|
||||
dune exec -- ./exe/uxnemu.exe utils/drifloon.rom < utils/drifloon.tal > drifloon-ocaml.rom
|
||||
echo "======> Comparing ROMs (should be identical)"
|
||||
cmp drifloon-ocaml.rom utils/drifloon.rom
|
||||
echo "======> Building Drifloon using drifloon-ocaml.rom"
|
||||
dune exec -- ./exe/uxnemu.exe drifloon-ocaml.rom < utils/drifloon.tal > drifloon-boot.rom
|
||||
echo "======> Comparing ROMs (should be identical)"
|
||||
cmp drifloon-ocaml.rom drifloon-boot.rom
|
||||
echo "======> Done!"
|
||||
kestrel() {
|
||||
dune exec -- kestrel "${@}"
|
||||
}
|
||||
|
||||
mkdir -p roms/
|
||||
kestrel boot/xh.rom < boot/drifloon.rom.txt > roms/drifloon.rom
|
||||
kestrel roms/drifloon.rom < boot/drifblim.tal > roms/drifblim.rom
|
||||
|
||||
# Run opctest
|
||||
kestrel roms/drifblim.rom boot/opctest.tal roms/opctest.rom
|
||||
kestrel roms/opctest.rom
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue