It's been a long time since I used this, and I don't remember its purpose. I think it's for writing a binary file to an EEPROM, when the chip reading that EEPROM expects the bits in reversed order.
flip_bits.py can be used on a file directly, as well, though in the context of the script it just operates on temporary files:
python flip_bits.py infile outfile
I'm sure this could be done with a very simple C command line tool instead. But hey, it works.
Hi,
Thanks for the reply! I'm looking to flip the bit ordering of all the bytes of a PC Engine game so it can be used on an EEPROM in an American System. There was a YouTuber that used this Python script to do it. From what I can tell PonyProg has a tab where you can run a PonyProg script. Your PonyProg script references your Python scrip but all if it is completely foreign to me lol.
I appreciate you taking the time to reply. Any help is appreciated.