1
0
mirror of https://github.com/mgcaret/of816.git synced 2024-05-28 14:41:27 +00:00
of816/platforms/Neon816/build.sh
2019-12-13 23:41:13 -08:00

14 lines
353 B
Bash
Executable File

#!/bin/bash
set -e -x
cd $(dirname $0)
ca65 -I ../../inc Neon816.s -l Neon816.lst
ca65 -I ../../inc romboot.s -l romboot.lst
../../build.sh Neon816
ld65 -vm -C Neon816.l Neon816.o ../../forth.o ./romboot.o -m forth.map -o of816-neon.bin
ls -l of816-neon.bin
if which -s bin2hex; then
bin2hex of816-neon.bin > of816-neon.hex
ls -l of816-neon.hex
fi