In the past I would have done the same, and probably would still do so if it was the address lines but nowadays my tool of choice for these kind of transformations is MS Excel. I cut and pasted the hex dump into a sheet and used a combination of hex2bin, substr and bintohex. On 27/03/2016 21:24, Marko Mäkelä wrote: > On Sun, Mar 27, 2016 at 02:14:48PM +0200, Rob Clarke wrote: >> The oddest think about it is that D0-D7 have been reversed to the >> EPROM, which is originally what made me think it was the EPROM at >> fault as it did not look like a valid cartridge image. > > For what it is worth, it is not difficult to write a program that > shuffles the data lines, or even the address lines. In the case of > address line shuffling, you only need to buffer the whole ROM image in > an array. For data lines, it suffices to generate a 256-element > translation table and then translate each byte with that. > > After some searching, I finally found my small C program for doing > that, written more than 13 years ago. I hope it is useful. > > Marko Message was sent through the cbm-hackers mailing listReceived on 2016-03-28 10:00:02
Archive generated by hypermail 2.2.0.