Amiga.org

Amiga computer related discussion => Amiga Hardware Issues and discussion => Topic started by: MelbourneBen on June 10, 2010, 11:56:23 AM

Title: Maximum RAM in an Amiga 2000??
Post by: MelbourneBen on June 10, 2010, 11:56:23 AM
Hi,

I've read that the A2000 has a maximum capacity of 8MB of RAM without using a 3rd party accelerator card. Does this include chip ram?? meaning I could only have 6MB fast and 2MB chip.... or could I have 8MB of fast ram and 2 MB Chip ram...totalling 10MB?

Cheers

Ben
Title: Re: Maximum RAM in an Amiga 2000??
Post by: psxphill on June 10, 2010, 12:06:29 PM
Quote from: MelbourneBen;563837
Hi,
 
I've read that the A2000 has a maximum capacity of 8MB of RAM without using a 3rd party accelerator card. Does this include chip ram?? meaning I could only have 6MB fast and 2MB chip.... or could I have 8MB of fast ram and 2 MB Chip ram...totalling 10MB?
 
Cheers
 
Ben

68000 based amigas can have:
 
2 meg chip (0x000000-0x1fffff)
8 meg fast (0x200000-0x9fffff)
1.5 meg slow (0xc00000-0xd7ffff)
 
Adding 1.5 meg of slow ram to an a2000 may be a pain.
Title: Re: Maximum RAM in an Amiga 2000??
Post by: meega on June 10, 2010, 12:09:54 PM
That 8MB is Fast/Other RAM, in addition to whatever Chip/Graphics RAM your system supports. If you have full ECS then yes you can have 10MB overall with a base 68000 CPU.
Title: Re: Maximum RAM in an Amiga 2000??
Post by: psxphill on June 10, 2010, 01:20:54 PM
Quote from: meega;563842
That 8MB is Fast/Other RAM, in addition to whatever Chip/Graphics RAM your system supports. If you have full ECS then yes you can have 10MB overall with a base 68000 CPU.

You'll need a megachip to get 2meg of chip ram. Just having an ECS agnus will give you 1meg.
Title: Re: Maximum RAM in an Amiga 2000??
Post by: Xanxi on June 10, 2010, 03:00:26 PM
Quote from: meega;563842
That 8MB is Fast/Other RAM, in addition to whatever Chip/Graphics RAM your system supports. If you have full ECS then yes you can have 10MB overall with a base 68000 CPU.


What is exactly slow ram? I have only heard of this in WinUAE and never before in a real amiga. How can it be added to a real amiga setup?
Title: Re: Maximum RAM in an Amiga 2000??
Post by: spaceman88 on June 10, 2010, 03:31:02 PM
Quote from: Xanxi;563876
What is exactly slow ram? I have only heard of this in WinUAE and never before in a real amiga. How can it be added to a real amiga setup?


If you add a trap door RAM card to your A500, that's slow-fast RAM (as long as you don't do the mod to make it CHIP RAM). If you add RAM to the side bus on the A500 that's "true" fast RAM. Something to do with no bus contention or something else I barely remember :-).
Title: Re: Maximum RAM in an Amiga 2000??
Post by: gertsy on June 10, 2010, 03:31:52 PM
You can put as much memory in as you want.. But you can only use 8MB of Fast and 2MB of Chip (With an Obese Agnus). Un-spunked of course.
Title: Re: Maximum RAM in an Amiga 2000??
Post by: runequester on June 10, 2010, 05:01:53 PM
Quote from: Xanxi;563876
What is exactly slow ram? I have only heard of this in WinUAE and never before in a real amiga. How can it be added to a real amiga setup?


Slow RAM is pretty much the same as chip RAM as far as I know.
Title: Re: Maximum RAM in an Amiga 2000??
Post by: Zac67 on June 10, 2010, 06:12:02 PM
Quote from: runequester;563900
Slow RAM is pretty much the same as chip RAM as far as I know.


... just without the benefit of being chip RAM... ;)

Maybe a bit of basic knowledge helps here: the Amiga system architecture is divided into two parts: the CPU part and the chipset part. Both can work independently from each other. On a single bus, only one device at a time can be active.

So the CPU can read/run code/data from the ROMs or  - if present - true fast RAM while simultaneously Agnus is e.g. shovelling bitplane data into Denise or the Blitter's shifting bits around. When the CPU needs to access the chip side, the busses need to be connected (asynchronous CPU boards require synchronization here) and the CPU must wait for a free cycle to use, effectively slowing it down.

On the CPU side are: CPU, ROMs, CIAs, fast RAM and on the chip side it's the famous DMA architecture sporting graphics, sound, floppy - all within chip RAM and controlled by Agnus.

Now, slow fast RAM is memory that exists on the chipset side, but due to architecture limitations, it's not usable as chip RAM. But since the CPU needs to connect to the chipset side it's just as slow as chip RAM.

Title: Re: Maximum RAM in an Amiga 2000??
Post by: meega on June 10, 2010, 07:15:51 PM
Also:

The 68000 and the custom chips alternate in their accesses, even cycles being for one and odd cycles being for the other. This means the CPU can never take more than 50% of the available chip/slow-ram bus cycles.

Further, the 68k has the lowest priority in the system and will grant all bus access requests made by anything else whatever. The custom chips, on the other hand, can lock the CPU out entirely if they are busy, the CPU is forced to wait until it gets let back in (only on its appropriate half of the cycles, possibly wasting more time until that condition is met).

True "fast" ram is not directly accessible by the custom chips, the CPU has unfettered access and achieves full-speed. You can see why fast ram is nice to have.
Title: Re: Maximum RAM in an Amiga 2000??
Post by: amigaksi on June 10, 2010, 07:27:53 PM
Quote from: Zac67;563912
... just without the benefit of being chip RAM... ;)

Maybe a bit of basic knowledge helps here: the Amiga system architecture is divided into two parts: the CPU part and the chipset part. Both can work independently from each other. On a single bus, only one device at a time can be active.

So the CPU can read/run code/data from the ROMs or  - if present - true fast RAM while simultaneously Agnus is e.g. shovelling bitplane data into Denise or the Blitter's shifting bits around. When the CPU needs to access the chip side, the busses need to be connected (asynchronous CPU boards require synchronization here) and the CPU must wait for a free cycle to use, effectively slowing it down.

On the CPU side are: CPU, ROMs, CIAs, fast RAM and on the chip side it's the famous DMA architecture sporting graphics, sound, floppy - all within chip RAM and controlled by Agnus.

If you don't have an accelerator (default condition for A500/A2000), then fast ram is still being accessed at same speed as chip RAM so I guess it's just "fast" because there's no DMA cycles getting in the way.

Quote

Now, slow fast RAM is memory that exists on the chipset side, but due to architecture limitations, it's not usable as chip RAM. But since the CPU needs to connect to the chipset side it's just as slow as chip RAM.



And that's the dark side of the force.
Title: Re: Maximum RAM in an Amiga 2000??
Post by: Zac67 on June 10, 2010, 09:14:02 PM
Quote from: meega;563925
The 68000 and the custom chips alternate in their accesses, even cycles being for one and odd cycles being for the other. This means the CPU can never take more than 50% of the available chip/slow-ram bus cycles.


Indeed - but the 68000 isn't able to utilize more than half the cycles anyway, so fast RAM isn't faster than (nearly) idle chip RAM (different with faster CPU/RAM, of course).
Title: Re: Maximum RAM in an Amiga 2000??
Post by: meega on June 10, 2010, 10:42:55 PM
Quote from: Zac67;563952
Indeed - but the 68000 isn't able to utilize more than half the cycles anyway, so fast RAM isn't faster than (nearly) idle chip RAM (different with faster CPU/RAM, of course).


What happens if the CPU takes an odd number of cycles to complete an operation? :)
Title: Re: Maximum RAM in an Amiga 2000??
Post by: MelbourneBen on June 11, 2010, 12:21:16 AM
Thanks, I thought that was the case....as a side note does anyone know if any Amiga retailers sell ECS denise's? I've been looking on ebay for a while but only ever see the OCS denise advertised for sale.
Title: Re: Maximum RAM in an Amiga 2000??
Post by: Zac67 on June 11, 2010, 06:56:32 PM
Quote from: meega;563960
What happens if the CPU takes an odd number of cycles to complete an operation? :)


Nothing special, since a single CPU cycle consists of two bus cycles. ;)
Title: Re: Maximum RAM in an Amiga 2000??
Post by: amigaksi on June 11, 2010, 07:22:02 PM
Quote from: Zac67;564138
Nothing special, since a single CPU cycle consists of two bus cycles. ;)


There's some timing map in the HRM that has the memory cycles as being same as color clock cycles (3.58Mhz) which means 2 cycles of the 7.16Mhz crystal.  Move.w D0,D1 or NOP instruction is 4 cycles since it's 2 cycles for fetch and 2 cycles of internal operation when bus is free.  So I guess you meant the reverse.
Title: Re: Maximum RAM in an Amiga 2000??
Post by: rkauer on June 11, 2010, 07:31:20 PM
You guys just don't answer fully the question:

There are four types of memory an Amiga 500/2000 can have:

 -Chip RAM, which is shared with the chipset & CPU: 512kb, 1Mb, 1.5Mb or 2Mb, pending the Amiga model and the Agnus version;

 -Slow RAM: up to 1.5Mb in an unused chipset address. Only saw the light of day in A500 models;

 -Zorro-2 memory: up to 8Mb, need memory boards or memory+controllers board combos (A2091 and GVP SCSI+8, for example).

- Local FAST RAM on accelerators: Up to 128Mb, pending the model. Some very old accelerators put the memory addressing inside the Zorro2 space, limiting the total amount of FAST RAM you can have on a system.

 An example of the later is the GVP Impact A3001, which puts its memory in Zorro2 space, making the A2000 "only" 1+8Mb.
Title: Re: Maximum RAM in an Amiga 2000??
Post by: Zac67 on June 11, 2010, 10:02:57 PM
@rkauer
Add to that 32 bit Z3 RAM and you've got a list. And on the 1200 you may have 256 MB accelerator RAM.;)

@amigaksi
Depends on how you define things (I'm differentiating bus cycles and clock cycles) - but the 68000 can only utilize half the bus bandwidth, so if the chips use no more than the other half, there's no penalty.
Title: Re: Maximum RAM in an Amiga 2000??
Post by: rkauer on June 14, 2010, 03:42:41 AM
@Zac: Zorro 3 on A2000?
Title: Re: Maximum RAM in an Amiga 2000??
Post by: TheBilgeRat on June 14, 2010, 04:56:01 AM
Quote from: rkauer;564506
@Zac: Zorro 3 on A2000?


No-he was meaning in addition to the list above, add 32bit Zorro 3 ram, as in ZorRam expansions for Z3 slots :D
Title: Re: Maximum RAM in an Amiga 2000??
Post by: Zac67 on June 14, 2010, 12:56:47 PM
Oops - must've missed the "500/2000" part, sorry! ;)

As a side note: accelerator RAM on 500/2000 is not limited to 128 MB (only by existing boards). Since the mobo provides no installation help, adding 32 bit RAM needs to be done 'manually' (boot ROM) regardless of size.
On the 3000/4000/1200 the system supports automatic installation of 128 MB (1200: 256 MB) with no additional logic on the CPU board.
Title: Re: Maximum RAM in an Amiga 2000??
Post by: psxphill on June 14, 2010, 01:54:26 PM
Quote from: rkauer;564145
You guys just don't answer fully the question:
- Local FAST RAM on accelerators: Up to 128Mb, pending the model. Some very old accelerators put the memory addressing inside the Zorro2 space, limiting the total amount of FAST RAM you can have on a system.

This was omitted because the OP said without an accelerator.
 
In the old days you had to put fast ram within the first 16mb, or devices with dma would get upset. It was only later that commodore allowed you to allocate memory where the address would fit in 24bits.
 
Annoyingly with an accelerator with local ram in the zorro 3 space, your zorro 2 dma is going to have to use chip ram. Unless you also have some zorro 2 fast ram.