16-bit hex editor

philmurr

Active member
vacBacker
Feedback
48 (100%)
Credits
2,378CR
Can anyone recommend a good 16-bit file editor?

For 8-bit stuff I generally use Porchy's Binman, or HxD, but I'm currently doing some dabbling with something that has a 16-bit data bus and I don't think either of them work in that mode...unless someone can let me know otherwise.

Thanks all
 

tin

Active member
vacBacker
Feedback
3 (100%)
Credits
673CR
Not quite sure what you need and what exactly makes a 16-bit editor vs a 8-bit, but I usually minor edits with XVI32 (http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm). It might help...
 

philmurr

Active member
vacBacker
Feedback
48 (100%)
Credits
2,378CR
Thanks chaps for the info so far. Eric, not looked at Visual Studio yet (even though you sent me the files about a year ago!)

porchy said:
By 16 bit are you just wanting to group 2 bytes together for easy viewing of a word value?

In a way, yes, but I also need the address displayed showing that there's 16-bit data held there. Sorry if I'm not explaining this clearly. If the bytes were just grouped, most editors would show:-

address 0x0000 - contains data 0xf0
address 0x0001 - contains data 0x10
address 0x0002 - contains data 0x35
address 0x0003 - contains data 0x01

What I need is it displayed (and editable) as in a 16-bit data bus

address 0x000000 - contains data 0xf010
address 0x000001 - contains data 0x3501
 

porchy

Active member
Feedback
5 (100%)
Credits
994CR
Ah so your wanting to view the file from a particular CPU's point of view. Mame debugger might be best here. Ive not really ventures further than hex workshop for my hex editing needs so not sure what can do what in that department
 

RGP

Meeter & Greeter
Feedback
5 (100%)
Credits
2,039CR
Interesting thread, I think i've just been so used to working in 16 vs 8 bit all my life that I just see the number groups.

So long as you know the endianness of the target CPU then any 8 bit editor will do.

However, I totally agree that having them properly displayed would make life so much easier.
 

philmurr

Active member
vacBacker
Feedback
48 (100%)
Credits
2,378CR
porchy said:
i could probably make you something. It would be rough but if you cant find anything suitable it might just do the trick

That would be fantastic if you could, and if it's not too much trouble. If not I'll probably end up using Excel which is slight overkill...
 

Muppz

Active member
Feedback
6 (100%)
Credits
362CR
I use http://www.hexedit.com/

Might be of use, does the usual big endian or little endian stuff plus lots of manipulations.

I not sure what you want is correct though

address 0x000000 - contains data 0xf010
address 0x000001 - contains data 0x3501

Address 0x000001 would be the 2nd 8bit of the 16bit value stored at 0x000000 so 0x10

I think you mean
address 0x000000 - contains data 0xf010
address 0x000002 - contains data 0x3501

Muppz2017-01-02 20:30:35
 

porchy

Active member
Feedback
5 (100%)
Credits
994CR
You were right with the first one.
He is wanting each address to show a word value.
Not sure what processor he is working with to want this kind of layout though. The 68000 has A0 internal so wouldnt have thought it was that.
Maybe he just prefers this view for some reason? I guess only Phil can answer that
 

philmurr

Active member
vacBacker
Feedback
48 (100%)
Credits
2,378CR
Yes it is the first one.

It's not actually for a specific processor, it's for an application where I need to do some address decoding so I need 16-bit addresses and data
 
Top