English Amiga Board


Go Back   English Amiga Board > Support > support.Hardware

 
 
Thread Tools
Old 05 February 2021, 02:43   #1
Nightshft
Registered User

 
Join Date: Mar 2018
Location: Austria
Posts: 501
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.

It can
- byteswap in pairs of two
- byteswap in pairs of four
- split (wordwise, and new, also bytewise dissect)
- merge (word- and bytewise)
- recognize if the binary consists of two identical halfs
- check a kickrom file for the correct checksum
and more...

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

It's quite easy to use:
- Just drag&drop a binary file onto it
- modify it (there's a hex preview)
- save it
- done

Maybe someone finds this useful. Enjoy...

Version updates will be posted here.
Just check the file below.
Attached Thumbnails
Click image for larger version

Name:	eprom-hexxer-1.23-screenie-b.JPG
Views:	271
Size:	90.4 KB
ID:	70774  
Attached Files
File Type: zip EpromHexxerV1.28.zip (434.3 KB, 181 views)

Last edited by Nightshft; 01 October 2021 at 13:27. Reason: added: platform
Nightshft is offline  
Old 05 February 2021, 20:58   #2
snz138
Registered User
snz138's Avatar
 
Join Date: May 2019
Location: Finland
Posts: 6
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, 22:26   #3
Nightshft
Registered User

 
Join Date: Mar 2018
Location: Austria
Posts: 501
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 22:53.
Nightshft is offline  
Old 05 February 2021, 22:58   #4
supaduper
Registered User
supaduper's Avatar
 
Join Date: Oct 2012
Location: Birmingham UK
Posts: 994
Great stuff mate
supaduper is offline  
Old 06 February 2021, 02:12   #5
Nightshft
Registered User

 
Join Date: Mar 2018
Location: Austria
Posts: 501
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 offline  
Old 06 February 2021, 03:04   #6
lesta_smsc
Registered User

lesta_smsc's Avatar
 
Join Date: Feb 2012
Location: United Kingdom
Posts: 2,888
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, 03:09   #7
rjd324
Registered User

rjd324's Avatar
 
Join Date: May 2020
Location: NE / UK
Posts: 177
danke schön!
rjd324 is online now  
Old 03 March 2021, 11:05   #8
solarmon
Registered User

solarmon's Avatar
 
Join Date: Dec 2018
Location: UK
Posts: 1,640
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, 15:35   #9
Nightshft
Registered User

 
Join Date: Mar 2018
Location: Austria
Posts: 501
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 offline  
Old 03 March 2021, 15:53   #10
solarmon
Registered User

solarmon's Avatar
 
Join Date: Dec 2018
Location: UK
Posts: 1,640
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, 17:37   #11
Nightshft
Registered User

 
Join Date: Mar 2018
Location: Austria
Posts: 501
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 17:47.
Nightshft is offline  
Old 03 March 2021, 17:55   #12
solarmon
Registered User

solarmon's Avatar
 
Join Date: Dec 2018
Location: UK
Posts: 1,640
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, 18:04   #13
Nightshft
Registered User

 
Join Date: Mar 2018
Location: Austria
Posts: 501
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 offline  
Old 03 March 2021, 18:39   #14
solarmon
Registered User

solarmon's Avatar
 
Join Date: Dec 2018
Location: UK
Posts: 1,640
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, 01: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, 17:07   #16
Nightshft
Registered User

 
Join Date: Mar 2018
Location: Austria
Posts: 501
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 offline  
Old 21 April 2021, 22:58   #17
RoC
Registered User

 
Join Date: May 2011
Location: Italy
Posts: 170
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, 23:40   #18
Nightshft
Registered User

 
Join Date: Mar 2018
Location: Austria
Posts: 501
Happy to hear that

@solarmon, 1Nom155, rjd324, lesta, superduper, snz: You'r welcome, glad you like it
Nightshft is offline  
Old 22 April 2021, 08:49   #19
johnnybarker
Registered User
 
Join Date: Dec 2018
Location: Helmsdale Scotland
Age: 39
Posts: 172
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, 12: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 09:02
Anyone with eprom burner in Australia? RichardM support.Hardware 6 19 October 2011 12:31
EPROM Suggestion Loedown support.Hardware 3 12 January 2011 23:19
Help with Blizzard 1230 MK IV EPROM content stachu100 support.Hardware 6 03 January 2011 09: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:07.


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