English Amiga Board


Go Back   English Amiga Board > Support > support.Hardware

 
 
Thread Tools
Old 15 May 2021, 06:47   #1
aeberbach
Registered User
 
Join Date: Mar 2019
Location: Melbourne, Australia
Posts: 420
ROM burners; what's your goto software for byte swapping?

If I have a .ROM file that I want to burn for use in my Amiga and I load it in the XGpro software that came with my TL866II burner, it will not work because the ROM file needs to be byte swapped before it is ready to burn as some .BIN files already are. I have swapped and burned successfully, I am trying to find better software to do it with in future.

I have had a lot of trouble finding software to do this. XGpro does not do it. I have found a link to download one package people used to recommend that leads only to some crappy download.com site with no download at the end of it, another package that does do a byte swap but is clearly Windows XP vintage and shows all sorts of errors in current windows.

What are you using?
aeberbach is offline  
Old 15 May 2021, 09:07   #2
RedskullDC
Digital Corruption
 
RedskullDC's Avatar
 
Join Date: Jan 2007
Location: Dorrigo/Australia
Age: 60
Posts: 355
Hi Aeberbach, et al.

Quote:
Originally Posted by aeberbach View Post
If I have a .ROM file that I want to burn for use in my Amiga and I load it in the XGpro software that came with my TL866II burner, it will not work because the ROM file needs to be byte swapped before it is ready to burn as some .BIN files already are. I have swapped and burned successfully, I am trying to find better software to do it with in future.

I have had a lot of trouble finding software to do this. XGpro does not do it. I have found a link to download one package people used to recommend that leads only to some crappy download.com site with no download at the end of it, another package that does do a byte swap but is clearly Windows XP vintage and shows all sorts of errors in current windows.

What are you using?
I like "Hex Workshop" for preparing images.
http://www.hexworkshop.com/

It has all manner of shift/rotate operations on the data.

Doesn't matter if you are dealing with a 16bit or 32bit Amiga, you can get the data the way you want.

Regards,
Red
RedskullDC is offline  
Old 15 May 2021, 09:36   #3
supaduper
Registered User
 
supaduper's Avatar
 
Join Date: Oct 2012
Location: Krypton
Posts: 1,210
There is a great easy eprom tool with all the options you need that someone on here did, I can`t find the thread so I put his EpromTool V9 in the ZONE
supaduper is offline  
Old 15 May 2021, 14:23   #4
jbilander
Registered User
 
jbilander's Avatar
 
Join Date: Jun 2018
Location: Stockholm
Age: 48
Posts: 264
There's more than one way to skin a cat...

in linux:

Code:
dd if=sourcefile of=resultfile conv=swab
or

using srec_cat here http://srecord.sourceforge.net/

e.g.

Code:
byte swap 16-bit words:
srec_cat infile -byte-swap 2 -o outfile

byte swap 32-bit words:
srec_cat infile -byte-swap 4 -o outfile

binary instead of hex:
srec_cat infile -binary -byte-swap 2 -o outfile -binary
or

Kickconv from Keir's git https://github.com/keirf/Amiga-Stuff

In WinUAE/Remus: select in drop-down image type:
Code:
Byte swapped (Little endian)
or when splitting (if you prep for e.g. A1200):

Code:
SplitROMImage <your_512kb_rom_name> SWAP
and then for example in Windows doubling Hi-, Lo for burning two 27C400 (512KB each) in A1200:

Code:
C:\> copy kick314_a1200.rom.hi /B + kick314_a1200.rom.hi /B kick314_a1200_512.rom.hi /B
C:\> copy kick314_a1200.rom.lo /B + kick314_a1200.rom.lo /B kick314_a1200_512.rom.lo /B
Another great tool for creating custom roms:

https://amitools.readthedocs.io/en/l...s/romtool.html
jbilander is offline  
Old 15 May 2021, 15:36   #5
Wrangler
Registered User
 
Join Date: Sep 2015
Location: London, UK
Posts: 414
I use WinHex: http://www.winhex.com/winhex/

I think you need to pay a (small) licence fee to get byte swapping but it's a great hex editor beyond just creating ROM files.
Wrangler is offline  
Old 15 May 2021, 19:41   #6
MrClump
Registered User
 
Join Date: Aug 2020
Location: Torquay
Posts: 166
Quote:
Originally Posted by Wrangler View Post
I use WinHex: http://www.winhex.com/winhex/

I think you need to pay a (small) licence fee to get byte swapping but it's a great hex editor beyond just creating ROM files.
The licence is over £100, and that's only for 1 year. :-(
MrClump is offline  
Old 15 May 2021, 19:42   #7
Jope
-
 
Jope's Avatar
 
Join Date: Jul 2003
Location: Helsinki / Finland
Age: 43
Posts: 9,861
I normally use the swap byte function in my prommer software.
Jope is offline  
Old 15 May 2021, 19:54   #8
supaduper
Registered User
 
supaduper's Avatar
 
Join Date: Oct 2012
Location: Krypton
Posts: 1,210
Quote:
Originally Posted by Jope View Post
I normally use the swap byte function in my prommer software.
The TL866 programmer software does not have a byteswap option
supaduper is offline  
Old 15 May 2021, 21:24   #9
RoC
Registered User
 
Join Date: May 2011
Location: Italy
Posts: 214
I use this nifty one: Eprom Hexxer - Eprom Binary Tool

There is a thread here on EAB

https://eab.abime.net/showthread.php?t=105682
RoC is offline  
Old 16 May 2021, 10:00   #10
Jope
-
 
Jope's Avatar
 
Join Date: Jul 2003
Location: Helsinki / Finland
Age: 43
Posts: 9,861
Quote:
Originally Posted by supaduper View Post
The TL866 programmer software does not have a byteswap option
Then srec_cat or dd does the job nicely without touching the mouse. :-)
Jope is offline  
Old 16 May 2021, 11:36   #11
Wrangler
Registered User
 
Join Date: Sep 2015
Location: London, UK
Posts: 414
Quote:
Originally Posted by MrClump View Post
The licence is over £100, and that's only for 1 year. :-(

Huh? It's just over £30 for a perpetual personal licence. OK, that is more than I remembered but not too bad.
Wrangler is offline  
Old 31 May 2021, 00:33   #12
aeberbach
Registered User
 
Join Date: Mar 2019
Location: Melbourne, Australia
Posts: 420
Hey thanks everyone for great tips, I am still waiting on my eprom UV eraser so have not had a chance for any burning but it won't be long...
aeberbach is offline  
Old 02 June 2021, 03:25   #13
SpocksBeer
Registered User
 
Join Date: Nov 2018
Location: Hobart
Posts: 61
I was going to say just leave it out in the sun, but it seems results may...vary

4 months may still be faster than post from China.
SpocksBeer is offline  
Old 02 June 2021, 07:40   #14
MrClump
Registered User
 
Join Date: Aug 2020
Location: Torquay
Posts: 166
Quote:
Originally Posted by Wrangler View Post
Huh? It's just over £30 for a perpetual personal licence. OK, that is more than I remembered but not too bad.
I need to clean my glasses!
MrClump is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is A570 ROM byte-swapped? christopherpm support.Hardware 0 02 December 2018 23:32
Juggler movie demo v2.0 BYTE by BYTE! TjLaZer support.Demos 3 30 November 2017 12:06
Swapping 1.2 with 1.3 Kickstart ROM on A500 c0dehunter support.Hardware 2 30 June 2011 08:50
Xetec cd rom software 2.0 lost_loven support.Hardware 2 20 February 2009 13:18
amiga scsi cd rom - best software? CU_AMiGA support.Apps 1 21 June 2008 14:37

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 16:52.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.12551 seconds with 13 queries