Revision 1421
Added by markw 12 months ago
atari_chips/pokeyv2/makeflash_04 | ||
---|---|---|
rm version
|
||
|
||
./swapbits $2 ${TYPE}.pofswap
|
||
dd if=${TYPE}.pofswap bs=1 skip=18603 count=16384 of=init2.bin
|
||
dd if=${TYPE}.pofswap bs=1 skip=118955 count=202752 of=core2.bin
|
||
dd if=${TYPE}.pofswap bs=1 skip=18597 count=16384 of=init2.bin
|
||
dd if=${TYPE}.pofswap bs=1 skip=118949 count=202752 of=core2.bin
|
||
cat init2.bin core2.bin > $4
|
||
echo $3 > version
|
||
dd conv=notrunc if=version bs=1 count=8 of=$4
|
atari_chips/pokeyv2/makeflash_08 | ||
---|---|---|
rm version
|
||
|
||
./swapbits $2 ${TYPE}.pofswap
|
||
dd if=${TYPE}.pofswap bs=1 skip=2219 count=32768 of=init2.bin
|
||
dd if=${TYPE}.pofswap bs=1 skip=118955 count=202752 of=core2.bin
|
||
dd if=${TYPE}.pofswap bs=1 skip=2213 count=32768 of=init2.bin
|
||
dd if=${TYPE}.pofswap bs=1 skip=118949 count=202752 of=core2.bin
|
||
cat init2.bin core2.bin > $4
|
||
echo $3 > version
|
||
dd conv=notrunc if=version bs=1 count=8 of=$4
|
atari_chips/pokeyv2/makeflash_16 | ||
---|---|---|
rm version
|
||
|
||
./swapbits $2 ${TYPE}.pofswap
|
||
dd if=${TYPE}.pofswap bs=1 skip=4267 count=32768 of=init2.bin
|
||
dd if=${TYPE}.pofswap bs=1 skip=192683 count=385024 of=core2.bin
|
||
dd if=${TYPE}.pofswap bs=1 skip=4261 count=32768 of=init2.bin
|
||
dd if=${TYPE}.pofswap bs=1 skip=192677 count=385024 of=core2.bin
|
||
cat init2.bin core2.bin > $4
|
||
echo $3 > version
|
||
dd conv=notrunc if=version bs=1 count=8 of=$4
|
atari_chips/pokeyv2/modifypof_08 | ||
---|---|---|
cp $2 ${TYPE}_orig.pof
|
||
|
||
./swapbits sidwavedata.bin sidwavedata_swap.bin
|
||
dd if=sidwavedata_swap.bin bs=1 seek=256168 count=65536 of=$2 conv=notrunc
|
||
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 | ||
---|---|---|
cp $2 ${TYPE}_orig.pof
|
||
|
||
./swapbits sidwavedata.bin sidwavedata_swap.bin
|
||
dd if=sidwavedata_swap.bin bs=1 seek=479400 count=65536 of=$2 conv=notrunc
|
||
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
|
Also available in: Unified diff
Correct offsets again