English Amiga Board


Go Back   English Amiga Board > Support > support.Hardware

 
 
Thread Tools
Old 05 February 2021, 01:43   #1
Nightshft
Registered User
 
Nightshft's Avatar
 
Join Date: Mar 2018
Location: Austria
Posts: 617
Eprom Hexxer - Eprom Binary Tool

Working with Eproms you sometimes need to do a byteswap or even wordwise dissect (split the binary in two binaries with odd and even words). Or when you read two Eproms sometimes you want to do a wordwise merge.

I wrote a (windows) tool to assist with that.

Features
--------

- byteswap in pairs of two
- byteswap in pairs of four
- split wordwise (aka dissect wordwise)
- split bytewise (aka dissect bytewise)
- merge wordwise
- merge bytewise
- merge binaries like needed for CD32
- show what you'r doing in the lower half of the window
- concatinate a copy of the buffer to the buffer ("double")
useful when you burn an Eprom with double the size of the data

- recognize if the binary consists of two identical halfs
- check if a kickrom file has the correct kick-checksum

So it can be handy for both, reading and writing Eproms.

Easy to use
-----------
- No install needed, it's portable
- Just drag&drop a binary file onto it
- modify it (there's a hex preview)
- save it
- done

I hope you guys find it useful. Enjoy...

UPDATES
=======

V1.28: 05-2021 Added Bytewise Merge & Split
V1.29: 10-2021 Added CD32 routine
V1.30: 02-2022 internal improvements
V1.31: 10-2022 add Open Button. Recognize byteswapped checksum too. Small improvements.


Note: It sometimes triggers false AV positives. I've done my best to avoid/solve that, but please understand that it still can happen sometimes and my spare time is limited, as this is a hobby project, thanks.
Attached Thumbnails
Click image for larger version

Name:	eprom-hexxer-1.23-screenie-b.JPG
Views:	580
Size:	90.4 KB
ID:	70774  
Attached Files
File Type: zip EpromHexxerV1.31.zip (544.7 KB, 421 views)

Last edited by Nightshft; 04 October 2022 at 14:27. Reason: added: platform
Nightshft is online now  
Old 05 February 2021, 19:58   #2
snz138
Registered User
 
snz138's Avatar
 
Join Date: May 2019
Location: Finland
Posts: 12
Thank you!

Just last weekend I worked with Eproms for the first time ever and wasted a lot of time until I realized that I needed to byteswap the binaries.
I had thought they were fine as I dumped them myself in a real Amiga... Later it hit me I used WinUAE's "transrom" command and obviously it had created made WinUAE compatible files instead of "Big Endians"

I actually managed to find a working byteswapper for Windows on some Nintendo forum, but your implementation looks much better and with more options!
snz138 is offline  
Old 05 February 2021, 21:26   #3
Nightshft
Registered User
 
Nightshft's Avatar
 
Join Date: Mar 2018
Location: Austria
Posts: 617
Glad you like it

There are also some bonus functions that aren't so obvious at the beginning:

"Double" .. is a nice shortcut to copy the buffer contents after itself, f.e. if you burn a binary to an Eprom double its size.

To concat two binaries just drop one file, check "Add file to buffer" and drop the next file.

At reading a binary it will recognize C64 "cbm80" files and also files that consist of two identical parts.

If somebody knows the algorithm to
- certainly recognize a kick
- or calculate the kick checksum
this could be implemented, too.

Edit: Started to look how the kick checksum is calculated and it doesn't look difficult. Will look into it.

Last edited by Nightshft; 05 February 2021 at 21:53.
Nightshft is online now  
Old 05 February 2021, 21:58   #4
supaduper
Registered User
 
supaduper's Avatar
 
Join Date: Oct 2012
Location: Krypton
Posts: 1,210
Great stuff mate
supaduper is offline  
Old 06 February 2021, 01:12   #5
Nightshft
Registered User
 
Nightshft's Avatar
 
Join Date: Mar 2018
Location: Austria
Posts: 617
Thank you supaduper.

The next version will be able to check files of certain size (256 or 512kB) for a valid kick checksum.
Nightshft is online now  
Old 06 February 2021, 02:04   #6
lesta_smsc
Registered User
 
lesta_smsc's Avatar
 
Join Date: Feb 2012
Location: United Kingdom
Posts: 3,173
Certainly very handy app! It's been a long time since I wrote a flash chip back in my PIC programmer day! Great work
lesta_smsc is offline  
Old 06 February 2021, 02:09   #7
rjd324
Registered User
 
rjd324's Avatar
 
Join Date: May 2020
Location: NE / UK
Posts: 227
danke schön!
rjd324 is offline  
Old 03 March 2021, 10:05   #8
solarmon
Registered User
 
solarmon's Avatar
 
Join Date: Dec 2018
Location: UK
Posts: 1,715
Thank you for making this tool - exactly what I was looking for!

For the split, it creates two files, named with suffix (by default) as "-dump-words1" and "-dump-words2".

Can you confirm which is LO and which is HI, I don't want to make any assumptions!
solarmon is offline  
Old 03 March 2021, 14:35   #9
Nightshft
Registered User
 
Nightshft's Avatar
 
Join Date: Mar 2018
Location: Austria
Posts: 617
Glad you guys find it helpful.

About the split files:

filename_words1 are bytes 00,01,04,05,08,09
filename_words2 are bytes 02,03,06,07,0a,0b
(also see the Button Hint)

So I guess that makes words1..HI
and words2..LO

as HI is the high value word of each DWord (at the lower adresses),
and LO would be the low value word of each DWord (at the higher adress).

If someone can confirm I maybe would adjust the save-names.

Trivia:
I always found this a little confusing and when checking existing files IIRC I saw LO and HI used for both variants.
Nightshft is online now  
Old 03 March 2021, 14:53   #10
solarmon
Registered User
 
solarmon's Avatar
 
Join Date: Dec 2018
Location: UK
Posts: 1,715
Quote:
Originally Posted by Nightshft View Post
Glad you guys find it helpful.

About the split files:

filename_words1 are bytes 00,01,04,05,08,09
filename_words2 are bytes 02,03,06,07,0a,0b
(also see the Button Hint)

So I guess that makes words1..HI
and words2..LO

as HI is the high value word of each DWord (at the lower adresses),
and LO would be the low value word of each DWord (at the higher adress).

If someone can confirm I maybe would adjust the save-names.

Trivia:
I always found this a little confusing and when checking existing files IIRC I saw LO and HI used for both variants.
This is why I wanted to check. I'm new to doing all this ROM/EPROM stuff so I don't trust my judgments and assumptions!

It's even doubly confusing on the A1200, since the 'LO' Kickstart chip (labelled U6B) is physically above the 'HI' Kickstart chip (labelled U6A)!
solarmon is offline  
Old 03 March 2021, 16:37   #11
Nightshft
Registered User
 
Nightshft's Avatar
 
Join Date: Mar 2018
Location: Austria
Posts: 617
According to what i just found it confirms that:

words1 is HI
words2 is LO

where HI means the high Words of the DWords (being at the lower adresses of the source file)
and LO means the low Words of the DWords (being at the higher adresses of the source file).

Big endian tries to fool us, doesn't it

I'll change the file naming accordingly.

Last edited by Nightshft; 03 March 2021 at 16:47.
Nightshft is online now  
Old 03 March 2021, 16:55   #12
solarmon
Registered User
 
solarmon's Avatar
 
Join Date: Dec 2018
Location: UK
Posts: 1,715
Quote:
Originally Posted by Nightshft View Post
According to what i just found it confirms that:

words1 is HI
words2 is LO

where HI means the high Words of the DWords (being at the lower adresses of the source file)
and LO means the low Words of the DWords (being at the higher adresses of the source file).

Big endian tries to fool us, doesn't it

I'll change the file naming accordingly.
Great!

Do you have a link to where you got this info?

I suppose I would have eventually worked it out - there are only two ways it could have been!
solarmon is offline  
Old 03 March 2021, 17:04   #13
Nightshft
Registered User
 
Nightshft's Avatar
 
Join Date: Mar 2018
Location: Austria
Posts: 617
Quote:
Originally Posted by solarmon View Post
Great!

Do you have a link to where you got this info?
I read out my original A1200 Kickstart roms. The rom called HI sits at U6A and LO sits at U6B.

Quote:
I suppose I would have eventually worked it out - there are only two ways it could have been!
True
Nightshft is online now  
Old 03 March 2021, 17:39   #14
solarmon
Registered User
 
solarmon's Avatar
 
Join Date: Dec 2018
Location: UK
Posts: 1,715
Quote:
Originally Posted by Nightshft View Post
I read out my original A1200 Kickstart roms. The rom called HI sits at U6A and LO sits at U6B.
Oh, you mean you dumped them from the ROM chips individually? I suppose I could have done that too and compared.

Thanks for checking and confirming!
solarmon is offline  
Old 05 March 2021, 00:54   #15
1NOM155
Registered User
 
1NOM155's Avatar
 
Join Date: Apr 2015
Location: Lisbon
Posts: 65
Thank you Nightshft for your software
1NOM155 is offline  
Old 21 April 2021, 16:07   #16
Nightshft
Registered User
 
Nightshft's Avatar
 
Join Date: Mar 2018
Location: Austria
Posts: 617
Glad you like it!

New version EpromHexxer V1.27 released.
EpromHexxer now can check Kickrom checksums.
You find the new version attached to the first post.

History:
V1.27 21-4-2021
Now checks Amiga Kickrom checksum for files with 256 or 512kB size
Now checks Amiga Kickrom Filesize Value
Hexview now also can show binary
Renamed split files when saving to HI and LO
small internal improvements

Enjoy...
Nightshft is online now  
Old 21 April 2021, 21:58   #17
RoC
Registered User
 
Join Date: May 2011
Location: Italy
Posts: 214
Thanks for the update!

This has been my rom tool for a while: it works like a champ
RoC is offline  
Old 21 April 2021, 22:40   #18
Nightshft
Registered User
 
Nightshft's Avatar
 
Join Date: Mar 2018
Location: Austria
Posts: 617
Happy to hear that

@solarmon, 1Nom155, rjd324, lesta, superduper, snz: You'r welcome, glad you like it
Nightshft is online now  
Old 22 April 2021, 07:49   #19
johnnybarker
Registered User
 
Join Date: Dec 2018
Location: Helmsdale Scotland
Age: 41
Posts: 181
Oh, I'm going to try it too. Looks like a nice clean interface and easy to use which is what I like! Many thanks.
johnnybarker is offline  
Old 20 May 2021, 11:04   #20
aliga56
Registered User
 
Join Date: May 2021
Location: France
Posts: 2
Hello
Good Job

"Eprom Hexxer" together with "amitools" work very well

Thanks
aliga56 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
EPROM Experimentation xArtx Hardware mods 15 04 April 2017 08:02
Anyone with eprom burner in Australia? RichardM support.Hardware 6 19 October 2011 11:31
EPROM Suggestion Loedown support.Hardware 3 12 January 2011 22:19
Help with Blizzard 1230 MK IV EPROM content stachu100 support.Hardware 6 03 January 2011 08:55

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 02:01.

Top

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