Amiga Developer CD, an good.

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
srg

Re:Amiga Developer CD, an good.

Post by srg »

Solar wrote:
srg wrote: Another thing it seems to miss is the A1200 and A4000 IDE controller (it seems that Amigas were all SCSI machines when this was written).
The A3000 was SCSI; previous machines didn't have inbuilt controllers at all.
The A2000 AFAIK came with a hard disk, was that IDE, SCSI or MFM (ST506).

srg
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:Amiga Developer CD, an good.

Post by Solar »

The stock A2000 didn't come with a hard disk. There was a "special version", the A2000HD, which came with an A209x SCSI controller and a SCSI hard disk drive. There were several other, somewhat local, variants of the A2000 too.
Every good solution is obvious once you've found it.
srg

Re:Amiga Developer CD, an good.

Post by srg »

Well, with the information that is in these RKM's, There is enough info to program the A3000 which seems to be the oldest Amiga to have an MMU stock. The A4000/040 has one but the 030 has an EC030.

Anyway, now trying to find info on the A1200 (with accelrator of course) and A4000. Mainly the AGA graphics and IDE controller (and anything else that's not in the RKM).

Just read, the A4000's and I assume also the A1200's IDE controller was only PIO Mode 0 (makes sence considering their age). Crap compaired to the planned SCSI-II.

thanks so far.
srg
srg

Re:Amiga Developer CD, an good.

Post by srg »

I wonder what percontage of the AmigaOS is in the ROMs.

BTW I have actually held and flicked through one of the printed RKMs when they were brand new. I was 9 or 10 and in a book shop in my town they were the only Amiga books there, I didn't understand them.

Anyway, please could you ask them about the IDE controller in the A4000 and A1200 - thanks

srg
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:Amiga Developer CD, an good.

Post by Solar »

Well... I think with the level of detail you're looking for, and 'ere we start playing information ping-pong, I'd suggest you head over to the thread on amiga-news.de I opened in your name, register yourself ("Registrieren"), and try to ask your questions yourself. Don't fear, most of them should be fluent enough in English to help you. If the German interface scares you, you can try amiga.org instead.

(Not *really* enough time on my hand to hunt down info for you. ;) )

PS: Regarding the IDE controller, a recent thread on amiga-news.de recommends looking for the NetBSD sources as Commodore went under too quick for a good documentation...
Every good solution is obvious once you've found it.
srg

Re:Amiga Developer CD, an good.

Post by srg »

Solar wrote: Well... I think with the level of detail you're looking for, and 'ere we start playing information ping-pong, I'd suggest you head over to the thread on amiga-news.de I opened in your name, register yourself ("Registrieren"), and try to ask your questions yourself. Don't fear, most of them should be fluent enough in English to help you. If the German interface scares you, you can try amiga.org instead.

(Not *really* enough time on my hand to hunt down info for you. ;) )

PS: Regarding the IDE controller, a recent thread on amiga-news.de recommends looking for the NetBSD sources as Commodore went under too quick for a good documentation...
Right, will do. I've tried the Linux 2.6.3 sources and they were'nt any help what so ever.

I'll try NetBSD sources.

Right, got it from the sources and interestingly it seems to use scsi calls and adapts them for the IDE controller (that's my observation).

thanks

srg
srg

Re:Amiga Developer CD, an good.

Post by srg »

It seems that the Amiga is quite ridgedly SCSI based and WinUAE uses it's own scsi.device. I'm wondering if these ROMs could be used by my os for disk access (the driver calls the rom code etc etc).

Speaking to a guy on the Amiga.org forums and he was saying that the UAE emulator creates a virtual scsi.device. I'm starting to wonder if the IDE controller is called vire A1200/A4000 scsi.device (as far a the rom thinks of it) so software can work flawlessly.

srg
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:Amiga Developer CD, an good.

Post by Solar »

Exactly. If you attach an IDE drive to the A1200 / A4000, that's still addressed through the scsi.device. Same interface to user space, never mind whether it's SCSI or IDE on the other side. (The device driver is a bit of a misnomer, though. ;) )
Every good solution is obvious once you've found it.
srg

Re:Amiga Developer CD, an good.

Post by srg »

I think, like on the PC, I'll pretty much forget about using the ROMs.

The RKM's show how to program the SCSI directly, dubbed "SCSI direct" which will go staight to the hardware. They also show the 64K block of address space that is earmarked for "SCSI control". I can only hope that's where the IDE is. Anyway I have idesc.c from NetBSD which seems to be the IDE driver. I can only hope that will do the trick.

But another showstopper:

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

according to this, WinUAE never emulates the MMU.

I think I may have to spend some money on a real Amiga (I wish there was an Ami-bochs :( ). I had a 1200, I may slurge on my then dream machine, the 4000. Or I could get an A3000 and a 1200 or 4000. (I have loads of PCs, so why not Amiga's, this could get expensive ??? ).

srg
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:Amiga Developer CD, an good.

Post by Solar »

http://amiga.emugaming.com/books.html has a list of past Amiga books; people recommended the "Guru's Guide to the Commodore Amiga - Meditation #1: Interrupts". As all other printed material on the 'miggy, it's out of stock...
Every good solution is obvious once you've found it.
srg

Re:Amiga Developer CD, an good.

Post by srg »

Solar wrote: http://amiga.emugaming.com/books.html has a list of past Amiga books; people recommended the "Guru's Guide to the Commodore Amiga - Meditation #1: Interrupts". As all other printed material on the 'miggy, it's out of stock...
hmm I'll have a look. BTW What's in the AGA suppliment book. I've sighted an A1200 I like the look of and it has this manual. My origianal A1200 (Desktop Dynamite Pack) never had it.

srg
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:Amiga Developer CD, an good.

Post by Solar »

I have positively no idea... you might have stumbled across some actual AGA docs!
Every good solution is obvious once you've found it.
srg

Re:Amiga Developer CD, an good.

Post by srg »

Solar wrote: I have positively no idea... you might have stumbled across some actual AGA docs!
Crap, monies tight, but 5 hours left. Anyway that A1200 also comes with a suppliment book for floppy based Amigas, I wonder why my old one never had that.

Oh BTW, I'm looking at the 68000 family documentation and it'm getting a little confused about this 68851 MMU, it seems quite different to the MMU in the i386. No page tables etc, that's what's confusing me.

srg
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:Amiga Developer CD, an good.

Post by Solar »

What I found about the 68851 is that it:

* supports a variable page table depth up to 5 table levels,
* read/write/execute permission levels,
* different root table pointer for user / supervisor mode,
* the TLB is called ATC here - address translation cache,
* LRU implemented in hardware,

Note that the "embedded" MMU of the 68020 upward did not have the full feature (opcode) set of the '851.

Web available docs are again hard to come by; you might want to check Motorola directly.
Every good solution is obvious once you've found it.
Post Reply