Subject: IDE Support & How to find the base address ?
To: None <port-mac68k@NetBSD.ORG>
From: Gwenole Beauchesne <gwenole.beauchesne@iname.com>
List: port-mac68k
Date: 03/03/1998 14:10:47
Hello,

Is there any IDE support planned ? If not, if one find the "base
address", will it be ? But how could we find this info ?

FYI: I tried those commands in Macs'Bug following the basic instructions
posted in a how-to document (hosted on MacBSD) for finding video base
address (!)...

>>> drvr <<<

 Displaying Driver Control Entries
  dRef dNum Driver    Flg  Ver   qHead   Storage Dely  Drvr at DCE at
  FFFE 0001 .Sony     bPO   #2 00000000 00000000 0000 4086C3E0 00006620
  FFFC 0003 .Sound    bPO   #0 00000000 00006B60 0000 408E59F0 00006B20
  FFFB 0004 .Sony     bPO   #2 00000000 00000000 0000 4086C3E0 00006620
  FFFA 0005 .AIn      bPC   #6 00000000 00000000 0000 4086ABCA 00006E20
  FFF9 0006 .AOut     bPC   #6 00000000 00000000 0000 4086ABE2 00006E60
  FFF8 0007 .BIn      bPC   #6 00000000 00000000 0000 4086ABFA 00006EA0
  FFF7 0008 .BOut     bPC   #6 00000000 00000000 0000 4086AC12 00006EE0
  FFCF 0030 .Display=8A bHO   #0 00000000 00002120 0000 00007A40 00006BA0
  FFCE 0031 .netBOOT  bPO   #0 00000000 000069F0 0000 40851CB0 000069B0
  FFCC 0033 .EDisk    bPC   #0 00000000 00000000 0000 408E7500 00006AE0
  FFCB 0034 .BCScreen bPO   #0 00000000 000076F0 0000 408E63A0 000076B0
  FFCA 0035 .ATDrvr   bPO   #0 00000000 0000CF22 0000 0000994E 0000CB40
  #64 Unit Table entries, #12 in use, #52 free

[There, I thought .ATDrvr would be ATA Driver ?]

>>> dm 994E <<<

 Displaying memory from 994e
  0000994E  6F00 0000 0000 0000  0028 00AA 004C 005C  [Text]

>>> il 994E <<<

 Disassembling from 994e
  No procedure name
            0000994E   BLE        *+$0002  ; 00009950   | 6F00 0000
            00009952   ORI.B      #$00,D0               | 0000 0000
            00009956   ORI.B      #$AA,$004C(A0)        | 0028 00AA 004C
            0000995C   ORI.W      #$003C,(A4)+          | 005C 003C
            00009960   BTST       D3,$4154(A6)          | 072E 4154
            00009964   NEG.W      $72(A2,D7.W*8)        | 4472 7672
            00009968   NEG.W      (A0)                  | 4450
            0000996A   DC.W       $414B    ; ????       | 414B
            0000996C   ORI.B      #$00,D0               | 0000 0000
            00009970   _DisposePtr ,Sys    ; 4080D3A0   | A41F
            00009972   BRA        *+$0112  ; 00009A84   | 6000 0110
            00009976   MOVE.L     A5,-(A7)              | 2F0D
            00009978   MOVEA.L    $0014(A1),A5          | 2A69 0014
            0000997C   MOVE.L     A1,-(A7)              | 2F09
            0000997E   MOVE.L     A0,-(A7)              | 2F08
            00009980   CLR.L      -(A7)                 | 42A7
            00009982   JSR        *+$13A2  ; 0000AD24   | 4EBA 13A0
            00009986   ADDQ.L     #$4,A7                | 588F
            00009988   BRA.S      *+$007E  ; 00009A06   | 607C
            0000998A   MOVE.L     A5,-(A7)              | 2F0D

And then,... ? :-/

Regards,
Gwenole Beauchesne