repo2/atari_chips/pokeyv2/modifypof_16 @ 1350
| 1249 | markw | #TODO probably wrong
  | 
      |
| 1325 | markw | TYPE=$1
  | 
      |
cp $2 ${TYPE}_orig.pof
  | 
      |||
| 1249 | markw | ||
./swapbits sidwavedata.bin sidwavedata_swap.bin
  | 
      |||
| 1325 | markw | dd if=sidwavedata_swap.bin bs=1 seek=479400 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
  |