Revision 1325
Added by markw about 4 years ago
| modifypof_16 | ||
|---|---|---|
| 
     #TODO probably wrong
 
   | 
||
| 
     cp $1 pokeymax_orig.pof
 
   | 
||
| 
     TYPE=$1
 
   | 
||
| 
     cp $2 ${TYPE}_orig.pof
 
   | 
||
| 
     | 
||
| 
     ./swapbits sidwavedata.bin sidwavedata_swap.bin
 
   | 
||
| 
     dd if=sidwavedata_swap.bin bs=1 seek=479400 count=65536 of=$1 conv=notrunc
 
   | 
||
| 
     truncate -s -2 $1
 
   | 
||
| 
     HASHCODE=`../rehashr/rehash $1 -norecur -none -fcs16 | grep FCS | sed -e 's/.*:\s*//'`
 
   | 
||
| 
     ../addhash.pl $1 $HASHCODE
 
   | 
||
| 
     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
 
   | 
||
sidmax changes. Also silent pokey interference support