-
Notifications
You must be signed in to change notification settings - Fork 2
/
run.sh
29 lines (21 loc) · 1.31 KB
/
run.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# export DISPLAY=172.17.160.1:0
ORICUTRON_PATH="/mnt/c/Users/plifp/OneDrive/oric/oricutron_wsl/oricutron"
LD65_LIB=/usr/share/cc65/lib/
export LD65_LIB
ca65 -DWITH_SDCARD_FOR_ROOT=1 -DWITH_TWILIGHTE_BOARD=1 -DTWILIGHTE_BOARD_LINEAR_BANK=1 -ttelestrat src/shell.asm -o shell.ld65
ld65 -DWITH_SDCARD_FOR_ROOT=1 -DWITH_TWILIGHTE_BOARD=1 -tnone shell.ld65 -o shell.rom -Ln shell.sym libs/lib8/twil.lib libs/lib8/ch376.lib
ca65 -DWITH_SDCARD_FOR_ROOT=1 -DWITH_TWILIGHTE_BOARD=1 -DTWILIGHTE_BOARD_LINEAR_BANK=1 -ttelestrat src/shellext.asm -o shellext.ld65
ld65 -DWITH_SDCARD_FOR_ROOT=1 -DWITH_TWILIGHTE_BOARD=1 -tnone shellext.ld65 -o shellext.rom -Ln shellext.sym libs/lib8/twil.lib libs/lib8/ch376.lib
# ca65 -DWITH_SDCARD_FOR_ROOT=1 -DWITH_TWILIGHTE_BOARD=1 -ttelestrat --include-dir %CC65%\asminc\ src/shellext.asm -o shellext.ld65
# ld65 -DWITH_SDCARD_FOR_ROOT=1 -DWITH_TWILIGHTE_BOARD=1 -tnone shellext.ld65 -o shellext.rom -Ln shellext.sym
cp shell.rom $ORICUTRON_PATH/roms
cp autoboot $ORICUTRON_PATH/sdcard/etc/
mkdir $ORICUTRON_PATH/sdcard/etc/orix/ -p
cp menu.sub $ORICUTRON_PATH/sdcard/etc/orix/
cp bootcfg $ORICUTRON_PATH/sdcard/bin/
cp shellext.rom $ORICUTRON_PATH/roms
cp shellext.rom $ORICUTRON_PATH/sdcard/usr/share/shell/
#rm $ORICUTRON_PATH/sdcard/usr/share/shell/shellext.rom
cd $ORICUTRON_PATH
./oricutron
cd -