2019-11-21 02:22:11 +00:00
|
|
|
#!/bin/bash
|
|
|
|
set -e -x
|
2019-12-14 07:35:07 +00:00
|
|
|
cd $(dirname $0)
|
2019-11-21 02:22:11 +00:00
|
|
|
ca65 -I ../../inc Neon816.s -l Neon816.lst
|
2019-12-05 05:18:42 +00:00
|
|
|
ca65 -I ../../inc romboot.s -l romboot.lst
|
2019-11-21 02:22:11 +00:00
|
|
|
../../build.sh Neon816
|
2019-12-14 06:39:24 +00:00
|
|
|
ld65 -vm -C Neon816.l Neon816.o ../../forth.o ./romboot.o -m forth.map -o of816-neon.bin
|
2019-12-05 05:18:42 +00:00
|
|
|
ls -l of816-neon.bin
|
|
|
|
if which -s bin2hex; then
|
2019-12-14 07:41:13 +00:00
|
|
|
bin2hex of816-neon.bin > of816-neon.hex
|
2019-12-05 05:18:42 +00:00
|
|
|
ls -l of816-neon.hex
|
|
|
|
fi
|
2019-11-21 02:22:11 +00:00
|
|
|
|