N64FlashcartMenu/remotedeploy.sh
Robin Jones 029e1cf638
Improve dev container (#4)
* build against libdragon unstable

* remove libPng

* Fix build warnings

* Add remote deploy

* Switch to ubuntu latest image

* Improve readme
2023-06-04 16:57:31 +01:00

32 lines
518 B
Bash

#!/bin/bash
set -e
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.z64
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
fi