[net.micro.pc] Disk controller address

ken@gitpyr.UUCP (Ken Hall) (09/09/86)

Does anyone know the format address for the IBM 10mb disk controller which
comes in an IBM XT?

Ken Hall

ken@gitpyr.UUCP (Ken Hall) (09/11/86)

The elaborate on my problem:

I installed a Western Digital hard disk controller card into an IBM XT.

To get everything working I had to get into debug and run a program off the
ROM of the Western Digital (WD) card.

It went something like this:

debug
-rax
0000
-0003
-g=xxxx:xxxx    some address on the card.  i don't remember it right now.

Western Digital, copyright . . . . etc

Then proceeded to write its own special stamp the the Winchester.


Well, I turned around and put the IBM hard disk controller card back in the
box to see how it worked and it would not, because WD had put its format on
the disk.

I need to know how to put IBM's special stamp back on this disk.  Hopefully,
the code needed to do the job is at some known address on the card.

Anyone know it?

Ken

pointer@hpccc.HP.COM (David Pointer) (09/17/86)

With the WX2 card in an XT type machine, go into debug, and
unassemble starting at c800:0003.  You should see two jumps
starting there. The first jump sends you to the disk i/o
routines while the second jump will send you to the ROM based
fixed disk primary format routines.


   *dave@hplabs

del@pilchuck.UUCP (Erik Lindberg) (09/20/86)

In article <2242@gitpyr.UUCP>, ken@gitpyr.UUCP (Ken Hall) writes:
> I installed a Western Digital hard disk controller card into an IBM XT.
> 
> To get everything working I had to get into debug and run a program off the
> ROM of the Western Digital (WD) card.
         ...
> 
> Then proceeded to write its own special stamp the the Winchester.
	...
> 
> I need to know how to put IBM's special stamp back on this disk.  Hopefully,
> the code needed to do the job is at some known address on the card.

The WD card does not put any special stamp on the disk. What is does is
the low level formatting of the drive. IBM does not provide a similar
routine with their disk controller.

Your IBM controller should not have any trouble reading the disk formatted
by the WD controller, however! From your description of the procedure you
went through, you have only done the low level format of the drive. You
will need to also do an FDISK, followed by a FORMAT command on your newly
formatted hard drive. The dos FORMAT command doesn't really format the disk,
all it does is reads the bad sectors and locks them out, and creates a boot
block and initial directory structure on the disk. FDISK is required to tell
DOS that it is allowed access to the disk, and how much of the disk it can 
use (never mind that you only USE msdos!)

-- 

del (Erik Lindberg) aka Hugable


Hugs: One of the few good things in life that are still free.