mirror of
https://github.com/Polprzewodnikowy/N64FlashcartMenu.git
synced 2024-11-25 03:56:54 +01:00
32 lines
544 B
Bash
Executable File
32 lines
544 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
REMOTE="--remote ${REMOTE:-host.docker.internal:9064}"
|
|
|
|
## FIXME: this does not work!
|
|
# Make sure we are connected
|
|
#echo Detecting SC64...
|
|
#sc64deployer $REMOTE list
|
|
|
|
# Get the information
|
|
echo SC64 info...:
|
|
sc64deployer $REMOTE info
|
|
echo
|
|
echo
|
|
|
|
# Load the ROM
|
|
echo Loading ROM...:
|
|
sc64deployer $REMOTE upload ./output/N64FlashcartMenu.n64
|
|
|
|
echo
|
|
echo
|
|
# Toggle the power of the N64 to boot the ROM.
|
|
echo !!! Now toggle power to the N64 !!!
|
|
echo
|
|
echo
|
|
|
|
if [ "$1" = "-d" ]; then
|
|
sc64deployer $REMOTE debug --no-writeback
|
|
fi
|