Amiga.org

Operating System Specific Discussions => Amiga OS => Amiga OS -- Development => Topic started by: srg86 on August 25, 2004, 10:38:38 AM

Title: Amiga Hardware information - A1200 & A4000 IDE
Post by: srg86 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

Title: Re: Amiga Hardware information - A1200 & A4000 IDE
Post by: MrZammler on August 25, 2004, 10:52:59 AM
Hmm, a new OS project maybe?? ;-)

You could always check the netbsd/amiga sources...
Title: Re: Amiga Hardware information - A1200 & A4000 IDE
Post by: Piru 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 (http://www.kernel.org/) for example.
Title: Re: Amiga Hardware information - A1200 & A4000 IDE
Post by: srg86 on August 25, 2004, 11:06:08 AM
Title: Re: Amiga Hardware information - A1200 & A4000 IDE
Post by: MrZammler on August 25, 2004, 11:19:11 AM
Maybe in src/sys/arch/amiga/dev/idesc.c

Good luck with your project!
Title: Re: Amiga Hardware information - A1200 & A4000 IDE
Post by: Piru 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...
Title: Re: Amiga Hardware information - A1200 & A4000 IDE
Post by: srg86 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
Title: Re: Amiga Hardware information - A1200 & A4000 IDE
Post by: srg86 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
Title: Re: Amiga Hardware information - A1200 & A4000 IDE
Post by: Piru 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.
Title: Re: Amiga Hardware information - A1200 & A4000 IDE
Post by: srg86 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
Title: Re: Amiga Hardware information - A1200 & A4000 IDE
Post by: Piru 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.
Title: Re: Amiga Hardware information - A1200 & A4000 IDE
Post by: srg86 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
Title: Re: Amiga Hardware information - A1200 & A4000 IDE
Post by: bloodline 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. :-)
Title: Re: Amiga Hardware information - A1200 & A4000 IDE
Post by: srg86 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
Title: Re: Amiga Hardware information - A1200 & A4000 IDE
Post by: Piru 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.
Title: Re: Amiga Hardware information - A1200 & A4000 IDE
Post by: srg86 on August 25, 2004, 02:49:29 PM
Well, if there's no MMU emulation, then it's pretty academic  :-(

srg
Title: Re: Amiga Hardware information - A1200 & A4000 IDE
Post by: Piru on August 25, 2004, 02:52:20 PM
Quote
According to this, even on 030 and 040 emulation, it doesn't emulate the MMU.

There's a MMU patch available for UAE, though no idea how well it works.

It was discussed a bit in "UAE w/mmu patch...any success compiling? (http://www.amiga.org/forums/showthread.php?t=10671)" -thread.
Title: Re: Amiga Hardware information - A1200 & A4000 IDE
Post by: srg86 on August 25, 2004, 10:51:01 PM
From all the places I've read, it's not very good. That leaves me with the idea of buying an Amiga or two.

I used to have an A1200 years ago, I might get one of those (cheap and plentyfull in my native land the UK) and then give it a hard drive and accelerator (if it doesn't allready have one). Or I could go the same route as I hav efor the PC and get the widest range of old and new hardware possible (I have 5 PCs; 386 -> Athlon XP). In this case, my best bet would be an A3000 and an A4000 but they were'nt that popular (the UK saw the Amiga 500 and 1200 as mearly games machines, I used my Amiga as my main desktop machine). There are A3/4000's going fairly often in europe but I'm not sure if the PSUs in these Amiga's would need replacing with UK spec ones.

I should still pay homage to my A1200 as it's what got me started in computers BTW Thanks Amiga!

srg

srg