CharSwapper v0.2

This little tool can replace specific bytes with other specific bytes according to an external table file containing these defined bytes as byte pairs.

By default a .cxm file named after the executable is used.
If the executable is named chrswp.exe then chrswp.cxm will be loaded in.

The input file will be changed and the program will tell you the number of found occurrences.

Beware of repeating bytes in the table file. This could result in data loss.
If the table file for example contains ASCII "1223" then all 1s and 2s get swapped around and all 3s get REPLACED with 2s.
That's why repeating the process won't return the lost 3s.


The inspiration to write this came from looking at the disassembly of TRSIBM.CO in M100SIG/Lib-10-TANDY200.
The table file extension means something like C-haracter X-lation and for last letter I closed my eyes and pressed a random key in the middle of my keyboard which happened to be the letter M.


T. Sosnow. <t-sosnow@posteo.com>
Visit QWERTZ-tek at http://qwertz.w10.site/ for my other stuff
April 18, 2025
