1
0
mirror of https://github.com/mgcaret/of816.git synced 2024-06-11 00:29:33 +00:00
of816/platforms/GoSXB/gosxb-of816.sh

9 lines
215 B
Bash
Raw Normal View History

2019-12-27 21:57:19 +00:00
#!/bin/bash
2019-12-29 20:49:35 +00:00
EXEBIN=${GOSXB:-gosxb}
cd `dirname $0`
ROMFSOPTS=
if [ -r romfs ]; then
ROMFSOPTS="-load 0x220000:romfs -rom-bank 0x22"
fi
exec ${EXEBIN} -load 0x200000:forth -rom-bank 0x20 ${ROMFSOPTS} -rom-file rom