repo2/atari_chips/pokeyv2/modifypof @ 1423
1249 | markw | #TODO probably wrong
|
|
1325 | markw | TYPE=$1
|
|
cp $2 ${TYPE}_orig.pof
|
|||
1249 | markw | ||
./swapbits sidwavedata.bin sidwavedata_swap.bin
|
|||
1423 | markw | dd if=sidwavedata_swap.bin bs=1 seek=$3 count=65536 of=$2 conv=notrunc
|
|
1325 | markw | truncate -s -2 $2
|
|
HASHCODE=`../rehashr/rehash $2 -norecur -none -fcs16 | grep FCS | sed -e 's/.*:\s*//'`
|
|||
../addhash.pl $2 $HASHCODE
|