Silvester wrote:Miracle hard drive supports four different drive types. The drive ident is read from port 322 (usual PC hardware port for first drive) and used to ascertain drive parameters from table below.Outsoft wrote:If I want to replace the internal hard drive which model I need?
I see that the Winny mount a 3,5" Hard Drive and not a 5,25" as I suppose (not the ST-506/ST-412).
I need to repair another one that I found.
Thanks a lot.
Best regards.
If drive identity not matched then default is last column.
HTHCode: Select all
; Table of drive specific data, columns relate to drive type found ; 32M 32M 40M 40M L0E98 dc.w $CFCF,$D5D5,$DFDF,$5F5F ;drive type identifiers dc.w $0007,$0006,$0006,$0006 ;interleave dc.w $0004,$0004,$0004,$0004 ;sectors per logical block dc.w $0011,$001B,$001A,$001A ;no. of sectors per cylinder L0EB8 dc.w $0004,$0003,$0004,$0004 ;no. of heads dc.w $03AD,$030E,$0303,$030E ;no. of cylinders dc.w $03B0,$0334,$032A,$0334 ;max no. of cylinders dc.w $01D6,$0080,$0080,$0080 ;cylinder for write precomp dc.w $01D6,$030E,$0303,$030E ;cylinder to start RWC ; Hardware address ; ================ ; A movem.l $00000000,rx-ry instruction pages the ROM and interface in. ; ; $0000E000 Page ROM and drive out. ie, tst.w ; $0000F000 Read data port. (port 320) ie, move.w ; $0000F200 Read drive status. (port 321) ie, move.w ; $0000F400 Read drive type. (port 322) ie, move.w ; $0000F800 Write to data port. (port 320) ie, tst.w $00(a0,d0.w) ; d0.w = 2 x data value (0-255) ; $0000FA00 Reset drive. (port 321) ie, tst.w ; $0000FC00 Select drive. (port 322) ie, tst.w
I see that the Drive mostly used on Miracle Hard Drive system is a Miniscribe 8450 RLL 40Mb 3.5".
I've bought a SEAGATE ST138 33MB 3.5" RLL Drive, in working state, that I think It will be OK.
Thanks a lot!