of816/platforms/GoSXB/gosxb-of816.sh

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