• Please review our updated Terms and Rules here

byteswap amiga rom image

soviet9922

Veteran Member
Joined
Jun 12, 2013
Messages
555
Location
Montevideo, Uruguay
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 ?.

Thanks.
 
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:
http://srecord.sourceforge.net/man/man1/srec_examples.html

Home page:
http://srecord.sourceforge.net/

Win32 version download:
https://sourceforge.net/projects/srecord/files/srecord-win32/1.64/
 
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.
 
Hi,

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
 
Back
Top