Revision 1423
Added by markw about 1 year ago
| atari_chips/pokeyv2/modifypof_08 | ||
|---|---|---|
|
TYPE=$1
|
||
|
cp $2 ${TYPE}_orig.pof
|
||
|
|
||
|
./swapbits sidwavedata.bin sidwavedata_swap.bin
|
||
|
dd if=sidwavedata_swap.bin bs=1 seek=256171 count=65536 of=$2 conv=notrunc
|
||
|
truncate -s -2 $2
|
||
|
HASHCODE=`../rehashr/rehash $2 -norecur -none -fcs16 | grep FCS | sed -e 's/.*:\s*//'`
|
||
|
../addhash.pl $2 $HASHCODE
|
||
| atari_chips/pokeyv2/modifypof_16 | ||
|---|---|---|
|
#TODO probably wrong
|
||
|
TYPE=$1
|
||
|
cp $2 ${TYPE}_orig.pof
|
||
|
|
||
|
./swapbits sidwavedata.bin sidwavedata_swap.bin
|
||
|
dd if=sidwavedata_swap.bin bs=1 seek=479403 count=65536 of=$2 conv=notrunc
|
||
|
truncate -s -2 $2
|
||
|
HASHCODE=`../rehashr/rehash $2 -norecur -none -fcs16 | grep FCS | sed -e 's/.*:\s*//'`
|
||
|
../addhash.pl $2 $HASHCODE
|
||
| atari_chips/pokeyv2/modifypof | ||
|---|---|---|
|
#TODO probably wrong
|
||
|
TYPE=$1
|
||
|
cp $2 ${TYPE}_orig.pof
|
||
|
|
||
|
./swapbits sidwavedata.bin sidwavedata_swap.bin
|
||
|
dd if=sidwavedata_swap.bin bs=1 seek=$3 count=65536 of=$2 conv=notrunc
|
||
|
truncate -s -2 $2
|
||
|
HASHCODE=`../rehashr/rehash $2 -norecur -none -fcs16 | grep FCS | sed -e 's/.*:\s*//'`
|
||
|
../addhash.pl $2 $HASHCODE
|
||
Switch to single script to add the sid wave data, with automatic offsets