• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 196
  • Last Modified:

Programming ROM for IDE controller

Hi,
How do I create .bin ROM image for my IDE controller card.
I understand one can edit a already existing .bin image.
but how do I create a brand new .bin image.

Thanks & Regards
Rahul Gupta
0
Rahul5776
Asked:
Rahul5776
1 Solution
 
BeyondWuCommented:
As I know, it depends on which chips(cpu/dsp) your card uses, it always has a corresponding ASM or C compiler, so you can use it to do some development, then write your code into the FLASH-rom with some special devices.
Hope this can help you.
0
 
DoorsCommented:
You write an assembler module with a specific header that is
outlined in RBIL (Ralf brown Int list).

first it is 00h based then
It contains a header that says look at me. (55AAh)
then the size in 512Byte block of rom image. (20h typical).
then a jump to the rom start.
additional headers as relavent.

I use nasm for most of my work like this.

My site contains some sample code for ATA ports
and controlling hard drives.

walk.to/doors

Go to  the promise website

http://www.promise.com

and download a bios upgrade and disassemble it to see the
basics of a rom header.

Good luck.

0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now