repo2/atari_chips/pokeyv2/makeflash_16 @ 1402
| 1249 | markw | #TODO: Probably wrong!
  | 
      |
| 1325 | markw | TYPE=$1
  | 
      |
rm ${TYPE}.pofswap
  | 
      |||
| 1249 | markw | rm flash2.bin
  | 
      |
rm core2.bin
  | 
      |||
rm version
  | 
      |||
| 1325 | markw | ./swapbits $2 ${TYPE}.pofswap
  | 
      |
dd if=${TYPE}.pofswap bs=1 skip=4264 count=32768 of=init2.bin
  | 
      |||
dd if=${TYPE}.pofswap bs=1 skip=192680 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
  |