Welcome, Guest. Please login or register.

Author Topic: How do I figure out RAM chips. WORD x BIT to Kilobyte?  (Read 6232 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Ral-ClanTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2006
  • Posts: 1979
  • Country: ca
    • Show only replies by Ral-Clan
    • http://www3.sympatico.ca/clarke-santin/
How do I figure out RAM chips. WORD x BIT to Kilobyte?
« on: January 21, 2013, 08:10:00 PM »
So, I'm trying to put some RAM into my SupraDrive 500XP.

The manual says it can take 256k×4 or 1M×4 DRAM chips.

I have a bunch of old PC boards that have old RAM chips on them.
A Datasheet archive search tells me some of these chips are 262,144 Word x 4bit and some are 64,536 x 4-bit.

I'm thinking the former are the 256x4 bit chips I need.

But I've always wondered how the heck do you use these strange WORD and BIT numbers to calculate how much actual RAM (in Megabytes) you will get?

Does anyone know how to translate WORD x BIT numbers to Kilobytes and Megabytes?

Lets say I want to purchase enough chips to make 1MB of RAM (hypothetically).  How can I figure out how many 262,144 word x 4bit chips do I need?

I'd really love to be able to read a datasheet on a memory chip and figure out how much RAM I really will get.

Thanks.
« Last Edit: January 21, 2013, 08:16:37 PM by ral-clan »
Music I've made using Amigas and other retro-instruments: http://theovoids.bandcamp.com
 

Offline SamuraiCrow

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2281
  • Country: us
  • Gender: Male
    • Show only replies by SamuraiCrow
Re: How do I figure out RAM chips. WORD x BIT to Kilobyte?
« Reply #1 on: January 21, 2013, 08:16:44 PM »
It all depends on how many bits your SupraDrive needs.  If it's 16-bits, you'll need 4 of those x4 bits to get a 16-bit word size.  The number of words will also be multiplied.  So if you get 4 256x4 DRAMs that will be 512K of RAM.  If you get 4 of those 1Mx4 you'll get 8M of RAM.

-edit-
Going with the example you gave of wanting 1 Meg of RAM, you'd need 8 256Kx4 chips.
 

Offline Ral-ClanTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2006
  • Posts: 1979
  • Country: ca
    • Show only replies by Ral-Clan
    • http://www3.sympatico.ca/clarke-santin/
Re: How do I figure out RAM chips. WORD x BIT to Kilobyte?
« Reply #2 on: January 21, 2013, 08:19:29 PM »
Quote from: SamuraiCrow;723469
It all depends on how many bits your SupraDrive needs.  If it's 16-bits, you'll need 4 of those x4 bits to get a 16-bit word size.  The number of words will also be multiplied.  So if you get 4 256x4 DRAMs that will be 512K of RAM.  If you get 4 of those 1Mx4 you'll get 8M of RAM.

-edit-
Going with the example you gave of wanting 1 Meg of RAM, you'd need 8 256Kx4 chips.

The SupraDrive needs 16bit RAM, I am pretty sure - as it fills the 8MB of Zorro II RAM space on the A500.

Okay, so I understand that if your computer requires 16-bit RAM and you are using 4-bit memory chips, then you must use 4 of them.  But I don't understand the "256" part of the "256 x 4bit" chip designation.  What does that number represent? Kilobytes on the chip?

256 x 4 (four chips) = 1024....which I would assume means 1024K of RAM....so how do four of these chips make 512K of RAM, as you say?

Same with the 1M x 4bit chips.  You say 4 of those will equal 8MB of RAM.  But 1024 x 4 (four chips) only equals 4,096 ---- four megabytes?

I'm not doubting you, I just don't understand, so I'm sure I have something wrong.  I'm sure my assumption that the 256 or 1M number equals an actual RAM value is incorrect.  But what does it represent?
« Last Edit: January 21, 2013, 08:30:51 PM by ral-clan »
Music I've made using Amigas and other retro-instruments: http://theovoids.bandcamp.com
 

Offline amiman99

Re: How do I figure out RAM chips. WORD x BIT to Kilobyte?
« Reply #3 on: January 21, 2013, 09:01:54 PM »
256x4 means: 256kilobits x 4 bit wide, so if you need 256kiloBytes then you need 2 chips.
1byte = 8bits.
2 x 256x4 = 256kBytes
4 x 256x4 = 512kBytes
8 x 256x4 = 1024kbytes or 1MB
A500 KS 2.1, 1MB Chip, 68000
A600 KS 3.1, 2MB Chip, ACA630 32MB RAM
A1000 KS 1.3, 8MB RAM
A1200 KS 3.1, Blizzard IV 50MHz 64MB RAM
A2000 KS 2.1, 68030 25MHz, 6MB RAM
A3000 KS 3.1, 68030 25MHz, 16MB RAM
A4000 KS 3.0, 68040 25MHz, 16MB RAM
CDTV KS 3.1, 4MB RAM
CD32
(AROS BOX) Dead :(
 

Offline psxphill

Re: How do I figure out RAM chips. WORD x BIT to Kilobyte?
« Reply #4 on: January 21, 2013, 11:45:25 PM »
Quote from: ral-clan;723466
So, I'm trying to put some RAM into my SupraDrive 500XP.
 
The manual says it can take 256k×4 or 1M×4 DRAM chips.

The two numbers are like the dimensions of the grid inside the chip.
To convert ram size to bytes you multiply the two numbers together, this gives you the number of bits.
To convert that number to bytes you then divide by 8.
 
1Mx4 is 512 kilobytes (0.5 of a megabyte) so for 1 megabyte you need 2.
256kx4 is 128k kilobytes (0.125 of a megabyte) so for 1 megabyte you need 8.
« Last Edit: January 21, 2013, 11:48:56 PM by psxphill »
 

Offline Zac67

  • Hero Member
  • *****
  • Join Date: Nov 2004
  • Posts: 2890
    • Show only replies by Zac67
Re: How do I figure out RAM chips. WORD x BIT to Kilobyte?
« Reply #5 on: January 22, 2013, 07:34:31 AM »
Or in other words: to populate a bus of 16 bits with chips 4 bits wide (x4) you require 4 chips in parallel. 4x 256K x4 = 256K x16. In terms of bytes: 256K x16 = 512K x8.
 

Offline Ral-ClanTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2006
  • Posts: 1979
  • Country: ca
    • Show only replies by Ral-Clan
    • http://www3.sympatico.ca/clarke-santin/
Re: How do I figure out RAM chips. WORD x BIT to Kilobyte?
« Reply #6 on: January 22, 2013, 01:14:16 PM »
Quote from: Zac67;723533
Or in other words: to populate a bus of 16 bits with chips 4 bits wide (x4) you require 4 chips in parallel. 4x 256K x4 = 256K x16. In terms of bytes: 256K x16 = 512K x8.

Thanks guys, I'm going to have to read these explanations a couple of times for them to sink in, but I appreciate the straightforward explanations.  Those chips won't be a mystery to me anymore.

As an aside: does anyone know where I could buy (or trade for) 8MB of 1M x 4 RAM chips for my SupraDrive 500XP?  I'm hoping those chips shouldn't me more than 50 cents or so each nowadays.
Music I've made using Amigas and other retro-instruments: http://theovoids.bandcamp.com
 

Offline psxphill

Re: How do I figure out RAM chips. WORD x BIT to Kilobyte?
« Reply #7 on: January 22, 2013, 01:37:56 PM »
Quote from: ral-clan;723560
As an aside: does anyone know where I could buy (or trade for) 8MB of 1M x 4 RAM chips for my SupraDrive 500XP? I'm hoping those chips shouldn't me more than 50 cents or so each nowadays.

No idea, I think you'll be disappointed on the pricing though. Someone was selling 256k x 4 for 3 euros a chip.
 
http://www.amibay.com/showthread.php?t=20082
 
Sometimes it's easier to just strip them out of old hardware.
« Last Edit: January 22, 2013, 01:40:20 PM by psxphill »
 

Offline VingtTrois

  • Lifetime Member
  • Hero Member
  • *****
  • Join Date: Mar 2009
  • Posts: 897
  • Country: 00
    • Show only replies by VingtTrois
    • http://www.amiga.org/gallery/images/6006/1_2316_My_AMIGA_Collection_Sept2010.jpg
Re: How do I figure out RAM chips. WORD x BIT to Kilobyte?
« Reply #8 on: January 22, 2013, 04:06:16 PM »
Quote from: psxphill;723561
No idea, I think you'll be disappointed on the pricing though. Someone was selling 256k x 4 for 3 euros a chip.
 
http://www.amibay.com/showthread.php?t=20082
 
Sometimes it's easier to just strip them out of old hardware.


Not really 3EUR per chip: you forgot to mention that the shipping cost and paypal fees are included :)
-A3K(T)040@35MHz/78MB/KS3.1/OS3.9/Buster11/PICASSO II/GVP IO/A2088XT/DENEB/HDD18GB
-A3K(D)030@25MHz/134MB RAM/KS3.1/OS3.9/Buster11/RETINA Z2/OKTAGON 2008/VLAB YC/MIDI/DKB3128/HDD18GB
-A2K/ROM 1.3-3.1/2MBCHIP/8MB/A2091/OKTAGON 2008/A2058/TANDEM IDE/FlickerFixer-Scandoubler/Genlock
-A1200/KS3.1/2MB+9MB/CF2GB A1200[/
 

Offline psxphill

Re: How do I figure out RAM chips. WORD x BIT to Kilobyte?
« Reply #9 on: January 22, 2013, 04:30:34 PM »
Quote from: VingtTrois;723569
Not really 3EUR per chip: you forgot to mention that the shipping cost and paypal fees are included :)

Why would you want to buy them from someone who doesn't then send them to you?
 

Offline VingtTrois

  • Lifetime Member
  • Hero Member
  • *****
  • Join Date: Mar 2009
  • Posts: 897
  • Country: 00
    • Show only replies by VingtTrois
    • http://www.amiga.org/gallery/images/6006/1_2316_My_AMIGA_Collection_Sept2010.jpg
Re: How do I figure out RAM chips. WORD x BIT to Kilobyte?
« Reply #10 on: January 22, 2013, 05:32:25 PM »
Quote from: psxphill;723572
Why would you want to buy them from someone who doesn't then send them to you?


Only for those he knows (French).
Those who do not:
- try to cheat about the delivery, even if tracking number shows that the delivery is OK.
- ask to be refund by the postoffice, even if tracking number shows that the delivery is OK.
-A3K(T)040@35MHz/78MB/KS3.1/OS3.9/Buster11/PICASSO II/GVP IO/A2088XT/DENEB/HDD18GB
-A3K(D)030@25MHz/134MB RAM/KS3.1/OS3.9/Buster11/RETINA Z2/OKTAGON 2008/VLAB YC/MIDI/DKB3128/HDD18GB
-A2K/ROM 1.3-3.1/2MBCHIP/8MB/A2091/OKTAGON 2008/A2058/TANDEM IDE/FlickerFixer-Scandoubler/Genlock
-A1200/KS3.1/2MB+9MB/CF2GB A1200[/
 

Offline psxphill

Re: How do I figure out RAM chips. WORD x BIT to Kilobyte?
« Reply #11 on: January 22, 2013, 05:59:54 PM »
Quote from: VingtTrois;723580
Only for those he knows (French).
Those who do not:
- try to cheat about the delivery, even if tracking number shows that the delivery is OK.
- ask to be refund by the postoffice, even if tracking number shows that the delivery is OK.

No I mean why would you buy them from someone if you're not going to pay to have them delivered. It's part of the cost.
 

Offline Zac67

  • Hero Member
  • *****
  • Join Date: Nov 2004
  • Posts: 2890
    • Show only replies by Zac67
Re: How do I figure out RAM chips. WORD x BIT to Kilobyte?
« Reply #12 on: January 22, 2013, 07:39:20 PM »
Used to have a bunch of 512Kx4 but gave them away here a couple of years ago. I'll take a look if there are any 1Mx4 around...
 

Offline Ral-ClanTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2006
  • Posts: 1979
  • Country: ca
    • Show only replies by Ral-Clan
    • http://www3.sympatico.ca/clarke-santin/
Re: How do I figure out RAM chips. WORD x BIT to Kilobyte?
« Reply #13 on: January 22, 2013, 09:26:18 PM »
Quote from: Zac67;723601
Used to have a bunch of 512Kx4 but gave them away here a couple of years ago. I'll take a look if there are any 1Mx4 around...

Thanks!  I'd be interested to hear if you find those chips.

I did pull some 256x4bit chips off an old PC motherboard, which gave me 2MB for my Supra, but if I wouldn't mind maxing out the Supra if I can do it without too much expense.

I'm going to be using this A500 for DPAINT animation stuff - I'm not sure if 2MB chip (MegaChip) + 2MB fast RAM will be enough to do decent animations, or if I'll really wish I had the full 8MB in the SupraDrive expansion sidecar.

When I had an A2000 I had 32MB 32-bit RAM which I rarely maxed out.  So I rarely thought about how much RAM I was using.  Now that I'm back in A500 world I have to think about those things again.

I think a lot of people probably did good work on an A500 with 4MB RAM total back in the 1990s.
« Last Edit: January 22, 2013, 09:32:12 PM by ral-clan »
Music I've made using Amigas and other retro-instruments: http://theovoids.bandcamp.com