Welcome, Guest. Please login or register.

Author Topic: Upgrade Ram to 1 MB Amiga 500?  (Read 17169 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline arttu80

Re: Upgrade Ram to 1 MB Amiga 500?
« Reply #29 from previous page: April 18, 2010, 08:47:57 PM »
Quote from: AmigaHope;554279
Hmm, you may be correct, now that I think about it, I've never actually tested it. Memory a bit fuzzy on that front.

Doesn't really matter though as why would you spend the extra money to buy a 2M one when either way you'd get no benefit over a 1M one if you're just doing a drop-in replace?



No it didn't work on my B2000 Rev6 1Mb CHIP RAM configured machine. I tried to put 8375 Super Fat Agnus (from A500Plus) just for fun, but it didn't even fired up...
 

Offline save2600

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 3261
  • Country: us
    • Show only replies by save2600
Re: Upgrade Ram to 1 MB Amiga 500?
« Reply #30 on: April 18, 2010, 08:55:32 PM »
Quote from: AmigaHope;554279
Hmm, you may be correct, now that I think about it, I've never actually tested it. Memory a bit fuzzy on that front.

Doesn't really matter though as why would you spend the extra money to buy a 2M one when either way you'd get no benefit over a 1M one if you're just doing a drop-in replace?


For $95 shipped, I'll sell you a GVP MegaChip that includes the fattest Agnus AND the 1mb of memory...
 

Offline AmigaHope

  • Newbie
  • *
  • Join Date: Dec 2006
  • Posts: 41
    • Show only replies by AmigaHope
Re: Upgrade Ram to 1 MB Amiga 500?
« Reply #31 on: April 18, 2010, 10:03:00 PM »
Quote from: save2600;554286
For $95 shipped, I'll sell you a GVP MegaChip that includes the fattest Agnus AND the 1mb of memory...
Not what I meant. I meant if you were just buying a loose chip to plug in, even if the 2M one worked there'd be no point in spending the extra money over a 1M one since you would only get 1M chip anyway.

Obviously if you're buying a board that lets Agnus address 2M chip, then it actually makes a difference.
 

Offline Tenacious

  • Hero Member
  • *****
  • Join Date: Jul 2002
  • Posts: 1362
    • Show only replies by Tenacious
Re: Upgrade Ram to 1 MB Amiga 500?
« Reply #32 on: April 19, 2010, 12:58:49 AM »
Quote from: AmigaHope;554274


Also note that the Fat Agnus socket on the A500 and A1500/A2000/A2500 does not have enough physical address lines wired to it to support 2M of Chip, regardless of how much memory is on the Chipmem bus. If you drop a 2M Fat Agnus into this socket, it will work, but it will only ever be able to address 1M.

 =D


This contradicts my memory of a modification I did 15 years ago to my rev 6a A500.   I installed the 2 Meg Agnus (8372B) directly into the socket.  I removed the 4 motherboard ram chips and installed 4 new ram chips.  There is now 2 megs on the motherboard.  The trap door board was retained for RTC only, its memory disabled.

This A500 is still alive and well and obviously my favorite.  IIRC, this mod came to me out of one of the old magazines, but I believe it is now available on Aminet as well.
 

Offline Tenacious

  • Hero Member
  • *****
  • Join Date: Jul 2002
  • Posts: 1362
    • Show only replies by Tenacious
Re: Upgrade Ram to 1 MB Amiga 500?
« Reply #33 on: April 19, 2010, 01:05:47 AM »
I enjoyed the depth of detail of your ECS timeline.  I only stumbled over the following.

Quote from: AmigaHope;554274

Also note that the Fat Agnus socket on the A500 and A1500/A2000/A2500 does not have enough physical address lines wired to it to support 2M of Chip, regardless of how much memory is on the Chipmem bus. If you drop a 2M Fat Agnus into this socket, it will work, but it will only ever be able to address 1M.

 =D

This contradicts my memory of a modification I did 15 years ago to my rev 6a A500.   I installed the 2 Meg Agnus (8372B) directly into the socket.  I removed the 4 motherboard ram chips and installed 4 new ram chips.  There is now 2 megs on the motherboard.  The trap door board was retained for RTC only, its memory disabled.

This A500 is still alive and well and obviously my favorite.  IIRC, this mod came to me out of one of the old magazines, but I believe it is now available on Aminet as well.
« Last Edit: April 19, 2010, 01:09:07 AM by Tenacious »
 

Offline Matt_H

Re: Upgrade Ram to 1 MB Amiga 500?
« Reply #34 on: April 19, 2010, 02:07:48 AM »
Quote from: Tenacious;554322
I enjoyed the depth of detail of your ECS timeline.  I only stumbled over the following.



This contradicts my memory of a modification I did 15 years ago to my rev 6a A500.   I installed the 2 Meg Agnus (8372B) directly into the socket.  I removed the 4 motherboard ram chips and installed 4 new ram chips.  There is now 2 megs on the motherboard.  The trap door board was retained for RTC only, its memory disabled.

This A500 is still alive and well and obviously my favorite.  IIRC, this mod came to me out of one of the old magazines, but I believe it is now available on Aminet as well.


Yep, Amazing Computing ran a tutorial on that mod. It's definitely possible to wire in a 2MB Agnus (without a MegaChip), but it's far from a drop-in replacement.
 

Offline rkauer

  • Hero Member
  • *****
  • Join Date: May 2006
  • Posts: 3263
    • Show only replies by rkauer
Re: Upgrade Ram to 1 MB Amiga 500?
« Reply #35 on: April 19, 2010, 02:40:17 AM »
Only drop-in replacement for the 8372 & crappy Agnus is the 8372A/B from the A3000, which is pin-compatible with the A500 socket.

 Then you need to route the extra addresses lines from Gary.
Goodbye people.

I\'ll pop on from time to time, RL is acting up.
 

Offline Tenacious

  • Hero Member
  • *****
  • Join Date: Jul 2002
  • Posts: 1362
    • Show only replies by Tenacious
Re: Upgrade Ram to 1 MB Amiga 500?
« Reply #36 on: April 19, 2010, 03:06:23 AM »
@ rkauer

Your signature grabbed my eye.  Is everything OK?
 

Offline save2600

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 3261
  • Country: us
    • Show only replies by save2600
Re: Upgrade Ram to 1 MB Amiga 500?
« Reply #37 on: April 19, 2010, 04:27:49 AM »
Quote from: Tenacious;554328
@ rkauer

Your signature grabbed my eye.  Is everything OK?


Yeah, WTF?? Hope you're not planning on exiting stage left like  ;)
 

Offline meega

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 952
    • Show only replies by meega
Re: Upgrade Ram to 1 MB Amiga 500?
« Reply #38 on: April 19, 2010, 08:28:51 AM »
I don't think he's planning any such thing...

I hope you can stay with us for a while yet, rk. We'll miss you too.
:)
 

Offline amigaksi

  • Hero Member
  • *****
  • Join Date: Dec 2006
  • Posts: 827
    • Show only replies by amigaksi
    • http://www.krishnasoft.com
Re: Upgrade Ram to 1 MB Amiga 500?
« Reply #39 on: April 21, 2010, 07:47:54 PM »
Quote from: AmigaHope;554274
...
A note about the trapdoor expansions/motherboard RAM. This RAM exists on the Chip Memory bus, so when the custom chipset's DMA seizes the bus for operations, the CPU can't talk to it, regardless of whether the OS considers it Chip or Fast. This means that it's not "real" Fast Memory that the CPU has exclusive bandwidth to. Because of this, the community generally refers to this memory as "Slow Memory" when it's not mapped as Chip.

Also note that the Fat Agnus socket on the A500 and A1500/A2000/A2500 does not have enough physical address lines wired to it to support 2M of Chip, regardless of how much memory is on the Chipmem bus. If you drop a 2M Fat Agnus into this socket, it will work, but it will only ever be able to address 1M.

There are, however, expansion boards out there that provide the extra address line and onboard RAM to let the 2M Agnus have its full addressable space. One example is the DKB MegaChip. The board has the 2M Agnus mounted on it and then drops into the Fat Agnus socket.

....

Hopefully these explanations help! =D


So are you saying with real fast memory, the CPU can access the fast memory at the same time that custom chips access chip ram?

I usually run with only chip RAM so all the games work.  I do have an A500 with 4MB trapdoor card and an IDE board so total is 5MB (1MB chip RAM + 4MB fast RAM), but it has problems with games.  The 2MB Agnus (8375) A500 has no jumpers but uses the 1MB from trapdoor and 1MB from motherboard (rev. 8a) and that's more compatible with games.  This revision does have the ECS Denise as well.  The 1MB chip RAM A500 has normal Denise but again no jumpers.
--------
Use PC peripherals with your amiga: http://www.mpdos.com
 

Offline AmigaHope

  • Newbie
  • *
  • Join Date: Dec 2006
  • Posts: 41
    • Show only replies by AmigaHope
Re: Upgrade Ram to 1 MB Amiga 500?
« Reply #40 on: April 21, 2010, 09:33:34 PM »
Quote from: amigaksi;554772
So are you saying with real fast memory, the CPU can access the fast memory at the same time that custom chips access chip ram?

I usually run with only chip RAM so all the games work.  I do have an A500 with 4MB trapdoor card and an IDE board so total is 5MB (1MB chip RAM + 4MB fast RAM), but it has problems with games.  The 2MB Agnus (8375) A500 has no jumpers but uses the 1MB from trapdoor and 1MB from motherboard (rev. 8a) and that's more compatible with games.  This revision does have the ECS Denise as well.  The 1MB chip RAM A500 has normal Denise but again no jumpers.
Yes, real Fast Memory runs on a completely separate bus. The trapdoor slot runs on the custom chipset bus, so RAM there is substantially slower regardless of whether it is mapped as Chip or "Fast". You can test this yourself by running a RAM benchmarking program. If you run it in a 2 color 320x200 screen, and a 16-color 640x400 screen, you'll see that the "Fast" RAM is slowing down just like the Chip RAM, because the DMA for the screen refresh is hogging time on the bus.

If you look at the trapdoor expansion on your A500, you'll see that the board has an extra connector going to the Gary chip -- this hack is there to make sure that the memory mapping used for the expansion shows up properly on the internal bus. (Incidentally this can stop other expansions from working properly!)

If you want true Fastmem in your A500, it needs to be added to the CPU bus (either via a piggyback on the CPU socket, or the expansion slot on the left side). If you add a new CPU board that has local RAM on the expansion, this will create the best-case scenario.

I don't know why it's having problems with games, it could do with how the memory is being mapped conflicting with your IDE expansion's mapping. Also, a lot of very early badly-behaved games expected RAM to be in very specific locations, so this could be your issue. In general the original 24-bit Amiga memory map (introduced with the A1000, but the specific tweaks on the A500 became the "standard" map that a lot of people wrote for) had very specific portions of memory reserved for the trapdoor, while other parts were reserved for other parts of the system.

The "Slow RAM" portion of the memory map starts at 0x00C00000 and can be up to 1.5M in size. An additional 256k of reserved space immediately after this was sometimes appropriated for this as well. If you use UAE and drag the "Slow RAM" slider all the way to 1.8M, it's mapping into this reserved space.

Chip RAM starts at 0x00000000 and initially only was mapped up to 512k, but reserved space up to 2M was used up through ECS/AGA. Some very stupid early expansions used this space assuming it wouldn't be Chip RAM.

Pretty much all non-trapdoor expansions respect the first 512k from 0x00c00000 as reserved for the trapdoor, since just about everyone had the 512k expansion (even if it didn't get mapped there). This is why it's generally safe to have it there. They also generally respect the full 1.5M of that part of the memory map.

The first thing you should do is use a system info tool that can display your memory mapping to see where your RAM expansion is mapping itself. I believe AmigaOS 2.x and up has a built-in tool for this, but I don't remember if there's anything that comes with 1.x. You can download a third-party tool like Ranger or SysInfo to show what's there.

Try pulling out your IDE expansion and see if the games start running correctly. If not, it's probably a problem with how they see the trapdoor memory. In general trapdoor expansions beyond the generic 512k expansion should be avoided. (There were some very strange expansions for the trapdoor though, including a weird NEC-clone-CPU XT-compatible IBM-PC-clone expansion!)

If you really must put more than 512k on the trapdoor, you really should limit it to 2M. A good expansion will let you map 512k to Chip RAM and the rest to the full 1.5M of the 0x00c00000 portion of the map. When you try to do weird multi-mappings from the trapdoor (i.e. anything not a contiguous block starting from 0x00c00000), that's where the Gary hacks come in. When you start to go into that space you know you are inviting trouble.

Generally the best way to combine expansions is to not use ones that mix address space on different buses. i.e. trapdoor expansions should stick to the trapdoor Slow RAM portion of the memory map, and the CPU-only portion should go on either a CPU piggyback or on the sidecar.

CPU piggyback expansions are particularly problematic because they, by their nature, can muck with the entire memory map that the CPU sees. I strongly recommend that the only expansion you place there be a CPU card, and if it has any RAM on it it should be true 32-bit RAM that the rest of the system can't see anyway. If you put anything 24-bit on the CPU socket, don't put anything on the side expansion slot. Well-designed stuff should play nicely via autoconfig, but there's no way to guarantee this will happen. There were a few 32-bit CPU cards that went on the side slot (GVP made one, I recall). If you use any of those try to avoid putting anything on the CPU socket.

Your A500+, on the other hand, is in a very straightforward config. The trapdoor card is mapping the extra RAM to the Chipmem portion of the memory map. It's a very clean setup and should have no problems (other than incompatibility with very ancient stupid games that make hard jumps to the ROMs or demand that RAM exist at 0x00c00000). Slap a hard drive controller with some extra RAM on the side expansion port, and possibly a CPU expansion (either in the sidecar expansion or in the CPU socket, preferably one that allows 68000 fallback for particularly stupid games) and you're golden.

If you do go with a 32-bit CPU card, you can use WHDLoad installers to put the games on the hard drive (the faster CPU taking care of any WHDLoad overhead). Almost all of these have patches to make them work with a 68030, so you don't need to worry about compatibility. In practice I've found that games work best with a CPU card that runs synchronous to the chipset (14Mhz or 28Mhz, rather than 25, 33, 40, or 50Mhz).

My A500 has a "Sapphire" 14Mhz 68020 card on the CPU socket, and a GVP HD8+ hard drive controller with expansion RAM on the side expansion slot. While the CPU card has no provision for 32-bit RAM and thus the speed of the system is limited, WHDLoad stuff runs like a champ on this setup and almost everything is compatible with it and runs at good speed, and there's no lag from custom chipset waitstates since the CPU is run synchronously.

There's also a couple of CPU cards out there that use a 68000 but clock it at 16 or 28Mhz. (AdSpeed or SupraTurbo). These have the advantage of being compatible with stuff that expects the broken behaviors of the 68000 concerning 24-bit addressing and supervisor stack pointer (which was fixed in the 68010 and higher). You can use these to run some broken games without patching them. I don't recommend them, however.

Isn't this FUN? =D

On the plus side, using a real Amiga you get super-silky scrolling from your games, something that is next-to-impossible to achieve in an emulator due to the levels of abstraction in the host OS's video drivers.
 

Offline AmigaHope

  • Newbie
  • *
  • Join Date: Dec 2006
  • Posts: 41
    • Show only replies by AmigaHope
Re: Upgrade Ram to 1 MB Amiga 500?
« Reply #41 on: April 28, 2010, 12:38:53 AM »
Any progress?
 

Offline amigaksi

  • Hero Member
  • *****
  • Join Date: Dec 2006
  • Posts: 827
    • Show only replies by amigaksi
    • http://www.krishnasoft.com
Re: Upgrade Ram to 1 MB Amiga 500?
« Reply #42 on: April 28, 2010, 07:31:22 PM »
Quote from: AmigaHope;554779
Yes, real Fast Memory runs on a completely separate bus. The trapdoor slot runs on the custom chipset bus, so RAM there is substantially slower regardless of whether it is mapped as Chip or "Fast". You can test this yourself by running a RAM benchmarking program. If you run it in a 2 color 320x200 screen, and a 16-color 640x400 screen, you'll see that the "Fast" RAM is slowing down just like the Chip RAM, because the DMA for the screen refresh is hogging time on the bus.

If you look at the trapdoor expansion on your A500, you'll see that the board has an extra connector going to the Gary chip -- this hack is there to make sure that the memory mapping used for the expansion shows up properly on the internal bus. (Incidentally this can stop other expansions from working properly!)

If you want true Fastmem in your A500, it needs to be added to the CPU bus (either via a piggyback on the CPU socket, or the expansion slot on the left side). If you add a new CPU board that has local RAM on the expansion, this will create the best-case scenario.

I don't know why it's having problems with games, it could do with how the memory is being mapped conflicting with your IDE expansion's mapping. Also, a lot of very early badly-behaved games expected RAM to be in very specific locations, so this could be your issue. In general the original 24-bit Amiga memory map (introduced with the A1000, but the specific tweaks on the A500 became the "standard" map that a lot of people wrote for) had very specific portions of memory reserved for the trapdoor, while other parts were reserved for other parts of the system.
...

I don't know if they are badly behaved games-- perhaps they didn't foresee people adding hard drives and 8+ MB of fast RAM.  I like those games that go directly to the hardware and take over the system to squeeze the maximum potential out of the hardware.  Too bad we don't have that sort of innovative stuff nowadays on modern machines.  Last I heard even the Playstation/Nintendo stuff involves going through APIs.

Quote

...
My A500 has a "Sapphire" 14Mhz 68020 card on the CPU socket, and a GVP HD8+ hard drive controller with expansion RAM on the side expansion slot. While the CPU card has no provision for 32-bit RAM and thus the speed of the system is limited, WHDLoad stuff runs like a champ on this setup and almost everything is compatible with it and runs at good speed, and there's no lag from custom chipset waitstates since the CPU is run synchronously.

I guess a good test would be to heavy a loaded copper list and have the processor use fast RAM to do calculations and see if turning on/off the copper list affects the performance.  For true coprocessing w/dual bus, it shouldn't affect the time to do the calculations.

Quote

On the plus side, using a real Amiga you get super-silky scrolling from your games, something that is next-to-impossible to achieve in an emulator due to the levels of abstraction in the host OS's video drivers.


I can't really run any of my hardware interfacing stuff w/emulation anyways amongst other things.
--------
Use PC peripherals with your amiga: http://www.mpdos.com
 

Offline ognix

  • Sr. Member
  • ****
  • Join Date: Oct 2004
  • Posts: 256
    • Show only replies by ognix
Re: Upgrade Ram to 1 MB Amiga 500?
« Reply #43 on: April 06, 2012, 12:12:22 PM »
Quote from: AmigaHope;554779

...
If you really must put more than 512k on the trapdoor, you really should limit it to 2M. A good expansion will let you map 512k to Chip RAM and the rest to the full 1.5M of the 0x00c00000 portion of the map. When you try to do weird multi-mappings from the trapdoor (i.e. anything not a contiguous block starting from 0x00c00000), that's where the Gary hacks come in. When you start to go into that space you know you are inviting trouble.

Generally the best way to combine expansions is to not use ones that mix address space on different buses. i.e. trapdoor expansions should stick to the trapdoor Slow RAM portion of the memory map, and the CPU-only portion should go on either a CPU piggyback or on the sidecar.
...


Hello!

First of all I really enjoyed this nice and well done tech reading (as well the previous post): thanks AmigaHope.  :)

I'm "resurrecting" this thread because I'd like to recover a Datel RAM Master II 1,5MB trapdoor RAM expasion ruined by battery acid.
http://www.bboah.com/index.php?action=artikel&cat=78&id=3578&artlang=en

To map to the system it uses lines coming from a Gary adapter.
If I'll manage to salvage it (and I think so), I'm planning to use it in a A500 with PCB rev.6 with a 1MB Fat Agnus.

I'm wondering if properly configured (I still have to check how to do it - pads, traces mods and so on), this board could give me a standard 1MB Chip RAM and 1MB "Slow" Fast RAM (to be honest I'd like really to have a switch to select 512kB Chip, 1.5MB Slow Fast and 1MB Chip 1MB Slow Fast).  :)

Maybe I have just to try...  :-D

BY!