Welcome, Guest. Please login or register.

Author Topic: Amiga Hardware information - A1200 & A4000 IDE  (Read 4703 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline srg86Topic starter

  • Full Member
  • ***
  • Join Date: Aug 2004
  • Posts: 211
    • Show only replies by srg86
    • http://www.aopp12.dsl.pipex.com
Amiga Hardware information - A1200 & A4000 IDE
« on: August 25, 2004, 10:38:38 AM »
Hi

I'm looking for hardware indormation on the classic Amiga's (specifically A3000, 1200, 4000 and any with MMU accelerators cards).

Anyway I have access to the Amiga ROM Kernel manuals and some AGA programming info. But what I'm missing is information the the A1200 and A4000 IDE controllers and the PCMCIA controller.

Any ideas where I can get this info.

thanks
srg

 

Offline MrZammler

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 720
    • Show only replies by MrZammler
Re: Amiga Hardware information - A1200 & A4000 IDE
« Reply #1 on: August 25, 2004, 10:52:59 AM »
Hmm, a new OS project maybe?? ;-)

You could always check the netbsd/amiga sources...
Anyway is the only way
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Amiga Hardware information - A1200 & A4000 IDE
« Reply #2 on: August 25, 2004, 10:53:37 AM »
Quote
But what I'm missing is information the the A1200 and A4000 IDE controllers and the PCMCIA controller.

Any ideas where I can get this info.

To my knowlege information about this hardware was never released.

However, you can take a look at Linux kernel sourcecode for example.
 

Offline srg86Topic starter

  • Full Member
  • ***
  • Join Date: Aug 2004
  • Posts: 211
    • Show only replies by srg86
    • http://www.aopp12.dsl.pipex.com
Re: Amiga Hardware information - A1200 & A4000 IDE
« Reply #3 on: August 25, 2004, 11:06:08 AM »
 

Offline MrZammler

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 720
    • Show only replies by MrZammler
Re: Amiga Hardware information - A1200 & A4000 IDE
« Reply #4 on: August 25, 2004, 11:19:11 AM »
Maybe in src/sys/arch/amiga/dev/idesc.c

Good luck with your project!
Anyway is the only way
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Amiga Hardware information - A1200 & A4000 IDE
« Reply #5 on: August 25, 2004, 11:20:37 AM »
@srg86
Quote
I just have WinUAE these days

WinUAE doesn't emulate A600/A1200/A4000 IDE interface, nor A600/A1200 PCMCIA port, so you might have a problem here, unless if you like blind coding...
 

Offline srg86Topic starter

  • Full Member
  • ***
  • Join Date: Aug 2004
  • Posts: 211
    • Show only replies by srg86
    • http://www.aopp12.dsl.pipex.com
Re: Amiga Hardware information - A1200 & A4000 IDE
« Reply #6 on: August 25, 2004, 11:33:17 AM »
Quote

Piru wrote:
@srg86
Quote
I just have WinUAE these days

WinUAE doesn't emulate A600/A1200/A4000 IDE interface, nor A600/A1200 PCMCIA port, so you might have a problem here, unless if you like blind coding...


ohh dear, IC. Is WinUAE emulating the A3000 SCSI interface or something different all together.

srg
 

Offline srg86Topic starter

  • Full Member
  • ***
  • Join Date: Aug 2004
  • Posts: 211
    • Show only replies by srg86
    • http://www.aopp12.dsl.pipex.com
Re: Amiga Hardware information - A1200 & A4000 IDE
« Reply #7 on: August 25, 2004, 11:36:05 AM »
Quote

MrZammler wrote:
Maybe in src/sys/arch/amiga/dev/idesc.c

Good luck with your project!


d'oh now how did I miss that, now I'm assuming the A600/A1200 ones are the same (would make sense).

Onle last thing, the RKM's show the A3000 memory map, is there anywhere that shows A4000 memory map on the web (I havn't found one yet.

thanks
srg
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Amiga Hardware information - A1200 & A4000 IDE
« Reply #8 on: August 25, 2004, 12:24:07 PM »
Quote
Is WinUAE emulating the A3000 SCSI interface

No.
Quote
or something different all together.

Yeah.

UAE implements virtual scsi.device that access imagefile, or access real SCSI devices directly (not 100% sure about this, but afaik WinUAE has this option, too).

There's also filesystem level emulation, there part of the Windows filesystem is mounted as virtual amiga volume.
 

Offline srg86Topic starter

  • Full Member
  • ***
  • Join Date: Aug 2004
  • Posts: 211
    • Show only replies by srg86
    • http://www.aopp12.dsl.pipex.com
Re: Amiga Hardware information - A1200 & A4000 IDE
« Reply #9 on: August 25, 2004, 12:58:13 PM »
It seems everying is a scsi device acording to the Amiga (even the IDE controller driver in netbsd seems to use scsi calls.

Would using any of the ROM routines be an option for an os, so my disk driver would call scsi.library?

srg
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Amiga Hardware information - A1200 & A4000 IDE
« Reply #10 on: August 25, 2004, 01:23:21 PM »
Quote
Would using any of the ROM routines be an option for an os, so my disk driver would call scsi.library?

It's scsi.device. Anyway, to use the device, you'd need to implement exec-like resident scanning, resident initialization, library interface, message interface (ports), device interface (iorequests). You'd probably also need to implement exec memory interface, and various other parts the device uses.

In short, less than trivial. But it can be done.
 

Offline srg86Topic starter

  • Full Member
  • ***
  • Join Date: Aug 2004
  • Posts: 211
    • Show only replies by srg86
    • http://www.aopp12.dsl.pipex.com
Re: Amiga Hardware information - A1200 & A4000 IDE
« Reply #11 on: August 25, 2004, 01:35:45 PM »
I might have a look at the UAE sources.

If UAE uses the standard Amiga ROMs (not special ones made just for it), then there must be some simulated hardware for the ROM to access. The ROMs would acces the registers of the Amiga's hardware (scsi, ECS, AGA), I would have thought these would be present on a UAE system. I suppose it mught use something custom, but too custom and the ROMs wouldn't work with it, that's my line of thought at the moment.

srg
 

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: Amiga Hardware information - A1200 & A4000 IDE
« Reply #12 on: August 25, 2004, 01:44:54 PM »
Quote

Piru wrote:
Quote
Would using any of the ROM routines be an option for an os, so my disk driver would call scsi.library?

It's scsi.device. Anyway, to use the device, you'd need to implement exec-like resident scanning, resident initialization, library interface, message interface (ports), device interface (iorequests). You'd probably also need to implement exec memory interface, and various other parts the device uses.

In short, less than trivial. But it can be done.


The AROS sources might be of use to him then. :-)

Offline srg86Topic starter

  • Full Member
  • ***
  • Join Date: Aug 2004
  • Posts: 211
    • Show only replies by srg86
    • http://www.aopp12.dsl.pipex.com
Re: Amiga Hardware information - A1200 & A4000 IDE
« Reply #13 on: August 25, 2004, 02:23:11 PM »
This could be a show stopper

http://www.pcguru.plus.com/uae_faq.html

According to this, even on 030 and 040 emulation, it doesn't emulate the MMU.

srg
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Amiga Hardware information - A1200 & A4000 IDE
« Reply #14 on: August 25, 2004, 02:46:42 PM »
Quote
I might have a look at the UAE sources.

If UAE uses the standard Amiga ROMs (not special ones made just for it), then there must be some simulated hardware for the ROM to access.

Good idea so far.

Quote
The ROMs would acces the registers of the Amiga's hardware (scsi, ECS, AGA), I would have thought these would be present on a UAE system.

ECS, AGA: yes
SCSI: no

Quote
I suppose it mught use something custom, but too custom and the ROMs wouldn't work with it, that's my line of thought at the moment.

UAE doesn't emulate any SCSI or IDE interface on custom register level. UAE does, however, provide HD access on device and filesystem level.

This doesn't help you, though.