2019-12-05 05:21:57 +00:00
|
|
|
#!/bin/bash
|
|
|
|
set -e -x
|
2019-12-27 22:09:05 +00:00
|
|
|
cd $(dirname $0)
|
2020-05-02 06:09:05 +00:00
|
|
|
if [ -r fcode/romfs.fs ]; then
|
|
|
|
toke fcode/romfs.fs
|
|
|
|
fi
|
|
|
|
if [ -d romfs_files ]; then
|
|
|
|
cd romfs_files
|
2020-05-03 21:51:42 +00:00
|
|
|
../mkromfs.rb ../romfs * */**
|
2020-05-02 06:09:05 +00:00
|
|
|
cd ..
|
|
|
|
fi
|
2019-12-05 05:21:57 +00:00
|
|
|
ca65 -I ../../inc GoSXB.s -l GoSXB.lst
|
|
|
|
../../build.sh GoSXB
|
|
|
|
ld65 -C GoSXB.l -S 0x8000 GoSXB.o ../../forth.o -m forth.map -o forth
|
2019-12-27 21:38:13 +00:00
|
|
|
ca65 -I ../../inc romboot.s -l romboot.lst
|
|
|
|
ld65 -C romboot.l -S 0x0000 romboot.o -m romboot.map -o rom
|
|
|
|
ls -l rom forth
|
2019-12-05 05:21:57 +00:00
|
|
|
|