View Full Version : byteswap amiga rom image

February 9th, 2017, 08:48 PM
Hello i need to byteswap an amiga rom image and my eprom burner vs4800 donīt let me do it.
I read that hexview can do it but i cant find the option in the menu.
Somebody know how or what can i use to byteswap ?.


February 9th, 2017, 09:31 PM
Do you have a Windows or Linux system you can use? If so, use srec_cat

If you need to byte swap 16-bit words try this:
srec_cat infile -byte-swap 2 -o outfile

If you need to byte swap 32-bit words try this:
srec_cat infile -byte-swap 4 -o outfile

If the input and output files are binary instead of some hex format you need to specify that:
srec_cat infile -binary -byte-swap 2 -o outfile -binary

Much more detailed info and examples on what srec_cat can do:

Home page:

Win32 version download:

February 11th, 2017, 07:38 AM
Thank you very much for the information, iīm not sure if the amiga 500 kickrom image is 16 bit or 32 byte words iīts a binary for sure going to try booth and see what works.

February 12th, 2017, 04:29 AM
There is an Amiga program called Remus that will let you compile your own Amiga Kickstart ROM image. It will also let you byteswap as well.

March 17th, 2017, 03:06 AM

I'm new to EPROM programming.
The checksum fails on my A3000's V40.68 kickstart roms. I found an EPROM programmer, and now I'd like to prepare the two bin files required for the two chips.
What command do I need to run to split a 512kb .rom file into two .bin files suitable for the EPROM programmer? I've heard you need to use srec_cat's -split function to generate the two files, and also 32-bit byteswap it.
I tried various commands, ending up in different filesizes.

What's the required file size anyway?

Thanks in advance for helping

March 31st, 2017, 03:55 AM
FTR I managed to achieve the ROM split/byteswap here's how (https://github.com/faxm0dem/amiga)