Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Howto program eproms for Z80

Status
Not open for further replies.

Basique

Newbie level 4
Joined
Jun 20, 2005
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,354
Hello!

I want to program an eprom for the gameboy.
The programmer wants to know in which format the rom-file is.
Possible choices are:
binary (formatted)
binary (unformatted)
several intel formats
...

I only know that the gameboy uses a kind of Z80 processor.
The rom is just a 32kB file with the ending gb.

Regards,

Basique
 

Most likely this will be INTEL HEX option.
Regards,
IanP
 

I read the specifications of the Intel Hex format at **broken link removed**

So my file should look something like that:
:10010000214601360121470136007EFE09D2190140
:100110002146017EB7C20001FF5F16002148011988

So it's an ascii-format.

But my file is complete binary. A normal text editor shows just confusing chars.
The 'file' command of linux says:

Gameboy ROM: "TEMP", [ROM ONLY], ROM: 256Kbit

So it's probably just a question of 'binary (formatted)' and 'binary (unformatted)'.

What do you think?

Regards,

Basique
 

So most likely it is a binary file.
Attached you will find zipped EDBIN.EXE filr. This will allow you to edit any binary file; you can also modify a binary file ..
Regards,
IanP
 

Thank you. I'll give it a try when I boot windows the next time.

I programmed the EPROM with the option "absolute binary". Because the rom-file has a size of exact 32kB it seemed quite logical.

I'll test it this week.

Regards,

Basique
 

HEX files can have different sizes ..
Binary file can have only certain sizes, for example, 1kB, 2kB, ..., 32kB, ..
If you initially named the size of the file, the answer would have been much easier to guess ..
Regards,
IanP
 

Oh, I thought I did ;)

First post:
The rom is just a 32kB file with the ending gb.
Second post:
Gameboy ROM: "TEMP", [ROM ONLY], ROM: 256Kbit
Nevertheless, thank you very much for your help. You approved my guess.

Best regards,

Basique
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top