mirror of
https://github.com/Pecusx/jataricart.git
synced 2026-05-20 22:33:22 +02:00
fixed checking (when OPTION pressed)
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,8 +1,8 @@
|
||||
#oldpwd=$(pwd)
|
||||
[ "$1" ] && [ -f "$1/macroflashname.asx" ] && cd "$1"
|
||||
! [ -f macroflashname.asx ] &&
|
||||
echo "Please cd into any flasher catalog and run ../$0" &&
|
||||
echo "or run $0 <progcatalog>" &&
|
||||
echo >/dev/stderr "Please cd into any flasher catalog and run ../$0" &&
|
||||
echo >/dev/stderr "or run $0 <progcatalog>" &&
|
||||
exit 1
|
||||
noprocess=$2
|
||||
outfile=$(pwd)
|
||||
@@ -10,9 +10,9 @@ catalog=$(dirname "$outfile")
|
||||
outfile=$(basename "$outfile")flasher
|
||||
cd "$dirname"
|
||||
|
||||
mads -m:macroflashname.asx ../../lib/flashwrite.asx -o:"$outfile".xex || exit
|
||||
! mads -m:macroflashname.asx -t -l ../../lib/flashwrite.asx -o:"$outfile".xex && echo >/dev/stderr ERROR! && exit 1
|
||||
|
||||
echo Created file "$outfile".xex
|
||||
echo >/dev/stderr Created file "$outfile".xex
|
||||
#cd "$oldpwd"
|
||||
|
||||
! [ "$noprocess" == noprocess ] && [ -f ../postprocess.sh ] && [ -x ../postprocess.sh ] && ../postprocess.sh "$outfile".xex
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
.define TITLE dta c'Menu4Car generated'
|
||||
.define CARTSIZE dta c' 1024'
|
||||
.define BANKS 0
|
||||
.define TWOCHIPS
|
||||
.define BANKS_FILE
|
||||
|
||||
Regular → Executable
Reference in New Issue
Block a user