1
0
mirror of https://github.com/mgcaret/of816.git synced 2024-11-15 02:04:52 +00:00
of816/platforms/GoSXB/gosxb-of816.sh
2020-10-29 23:20:03 -07:00

9 lines
230 B
Bash
Executable File

#!/bin/bash
EXEBIN=${GOSXB:-gosxb}
cd `dirname $0`
ROMFSOPTS=
if [ -z "$1" ] && [ -r romfs ]; then
ROMFSOPTS="-load 0x220000:romfs -rom-bank 0x22"
fi
exec ${EXEBIN} -load 0x200000:forth -rom-bank 0x20 ${ROMFSOPTS} -rom-file rom