Here's part of "The Secret Guide to Computers," copyright by Russ Walter, 30th edition. For newer info, read the 33rd edition at www.SecretFun.com.

Chips

The computer is full of chips. Let’s examine them.

 

Chip technology

If you unscrew the system unit (the box containing the CPU and memory) and peek at the circuitry inside, you’ll see a green plastic board, on which is printed an electrical wiring diagram.

Since the diagram’s printed in copper (instead of ink), the diagram conducts electricity; so it isn’t just a diagram of an electrical circuit; it is an electrical circuit!

The green plastic board — including the circuit printed on it — is called a printed-circuit board (PC board). Each wire that’s stamped onto the PC board is called a trace.

The typical computer contains several PC boards.

Motherboard & babies

In your computer, the largest and most important PC board is called the motherboard (or, more briefly, mobo). It lies flat on the bottom of the system unit.

The other PC boards are smaller. Those little baby boards (about the size of a postcard) are called PC cards.

The typical motherboard has several slots on it. Into each slot, you can put a PC card.

PCMCIA cards

If you buy a modern notebook computer, you’ll see the case’s right-hand wall has a special slot in it. You can shove a card into that slot without opening the notebook’s case.

The kind of card that fits into that special slot is small and thin — the size of a credit card. That kind of card was invented by the Personal-Computer Memory-Card International Assocation (PCMCIA) and therefore called a PCMCIA card. That slot is called a PCMCIA slot.

People have trouble remembering what “PCMCIA” stands for. Cynics say it stands for “People Can’t Memorize Computer Industry Acronyms”. Since “PCMCIA” also stands for “Politically Correct Members of the CIA”, computerists pronounce “PCMCIA” in two breaths: they say “PCM”, then pause, then say “CIA”.

Some PCMCIA cards are very thin. Other PCMCIA cards are thicker, so they can hold extra circuitry. A PCMCIA card and its slot are called Type 1 if their thickness is 3.3 millimeters,
Type 2 if 5 millimeters, Type 3 if 10.5 millimeters, Type 4 if 18 millimeters.

Caterpillars

On each PC board, you’ll see black rectangles. If you look closely at a black rectangle, you’ll see it has tiny legs, so it looks like a black caterpillar. (Though farmers think it looks like a “black caterpillar”, city folks think it looks more like a “yucky roach”. Kids call it just “a black thingy with legs”.)

The “caterpillars” come in many sizes. In a typical computer, the shortest caterpillars are three-quarters of an inch long and have 7 pairs of legs; the longest are two inches long and have more legs.

Though each black caterpillar has legs, it doesn’t move. It’s permanently mounted on the PC board.

Each leg is made of tin and called a pin.

Sadistic hobbyists play a game where they yank the caterpillars from a PC board and throw the caterpillars across the room. That game’s called “tin-pin bowling”.

Hidden inside the caterpillar is a metal square, called a chip, which is very tiny. The typical chip is just an eighth of an inch long, an eighth of an inch wide, and a hundredth of an inch thick! On that tiny metal chip are etched thousands of microscopic electronic circuits! Since all those circuits are on the chip, the chip’s called an integrated circuit (IC).

4 purposes

Each chip serves a purpose. If the chip’s purpose is to “think”, it’s called a processor chip. If the chip’s purpose is to “remember” information, it’s called a memory chip. If the chip’s purpose is to help devices communicate with each other, it’s called an interface chip. If the chip’s purpose is to act as a slave and helper to other chips, it’s called a support chip.

So a chip is either a processor chip or a memory chip or an interface chip or a support chip — or it’s a combination chip that accomplishes several purposes.

How chips are designed

To design a chip, the manufacturer hires an artist, who draws on paper a big sketch of what circuits are to be put onto the chip. It helps if the artist also has a degree in engineering — and knows how to use another computer to help draw all the lines.

After the big sketch is drawn, it’s photographed.

Have you ever photographed your friend and asked the photography store for an “enlargement”? To produce a chip, the chip’s manufacturer does the opposite: it photographs the sketch but produces a “reduction” to just an eighth of an inch on each side! Whereas a photo of your friend is made on treated paper, the tiny photo of the chip’s circuitry consists of metal and semiconductors on treated silicon so the photo’s an actual working circuit! That photographic process is called photolithography (or photolith).

Many copies of that photo are made on a large silicon wafer. Then a cookie cutter slices the wafer into hundreds of chips. Each chip is put into its own caterpillar.

The caterpillar’s purpose is just to hide and protect the chip inside it; the caterpillar’s just a strange-looking package containing the chip. Since the caterpillar’s a package that has two rows of legs, it’s called a dual in-line package (DIP). That DIP’s only purpose is to house the chip.

Computer hobbyists are always talking about chips & DIPs, and at parties serve chips & dips, and are called “dipchips”.

Buying chips

If you ask a computer dealer to sell you a chip, the dealer also gives you the chip’s DIP (the entire caterpillar). Since you’ve asked for a chip but also received a DIP, you might get confused and think that the caterpillar (the DIP) is the chip. But that caterpillar’s not the chip; the chip hides inside the caterpillar.

The typical caterpillar-and-chip costs $3. You might pay somewhat more or somewhat less, depending on how fancy the chip’s circuitry is.

If the circuits in a chip are defective, it’s called a “buffalo chip”. Folks who dislike that tacky term say “potato chip” or “chocolate chip” instead, like this: “Hey, the computer’s not working! It must be made of chocolate chips!”


You can get chips from these famous mail-order chip suppliers:

JDR Microdevices

1850 S. 10th St., San Jose CA 95112

800-538-5000 or 408-494-1400

Jameco

1355 Shoreway Rd., Belmont CA 94002

800-831-4242 or 650-592-8097

ACP

1310 E. Edinger, Santa Ana CA 92705

800-FONE-ACP

The following chip suppliers are newer and often charge less:

Spartan Technologies

1500 E. Higgins Rd. #A, Elk Grove Village IL 60007

888-393-0340 or 847-364-9900

Chip Merchant

9541 Ridgehaven Ct., San Diego CA 92123

800-426-6375 or 619-268-4774

Memory Man

PO Box 11227. New Orleans LA 70181

800-MEGABYTE, 504-818-2717

How chips chat

The chip inside the caterpillar acts as the caterpillar’s brain. The caterpillar also contains a “nervous system”, made of thin wires that run from the brain (the chip) to the legs (the pins). The wires in the caterpillar’s nervous system are very thin: each wire’s diameter is about half of a thousandth of an inch.

If one caterpillar wants to send electrical signals to another caterpillar, the signals go from the first caterpillar’s brain (chip) through the caterpillar’s nervous system to its legs (pins). Each pin is attached to a trace (wire) on the PC board. The signals travel through those traces, which carry the signals across the PC board until the signals reach the second caterpillar’s pins. Then the signals travel through the second caterpillar’s nervous system to that caterpillar’s brain (chip).

Binary code

To communicate with each other, the caterpillars use a secret code. Each code is a series of 1’s and 0’s. For example, the code for the letter A is 01000001; the code for the letter B is 01000010; the code for the number 5 is 101; the code for the number 6 is 110.

That’s called the binary code, because each digit in the code has just two possibilities: it’s either a 1 or a 0. In the code, each 1 or 0 is called a binary digit.

A binary digit is called a bit. So in the computer, each bit is a 1 or a 0.

When a caterpillar wants to send a message to another caterpillar, it sends the message in binary code. To send a 1, the caterpillar sends a high voltage through the wires; to send a 0, the caterpillar sends little or no voltage through the wires.

So to send the number 5, whose code number is 101, the caterpillar sends a high voltage (1), then a low voltage (0), then a high voltage (1). To send those three bits (1, 0, and then 1), the caterpillar can send them in sequence through the same leg (pin); or for faster transmission, the caterpillar can send them through three pins simultaneously: the first pin sends 1, while the next pin sends 0 and the third pin sends 1.

The speed at which bits are sent is measured in bits per second (bps).

 

 

 

CPU

The part of the computer that thinks (“the brain”) is called the processor (or central processing unit or CPU).

In a maxicomputer or minicomputer, the processor consists of several chips, which are processor chips.

In a microcomputer, the processor is so small that it consists of just a single chip, called a microprocessor. It sits on the motherboard. Yes, in a typical microcomputer, the part that does all the thinking is just a tiny square of metal, less than ¼" on each side!

Intel’s designs

In IBM-compatible PCs, the microprocessor uses a design invented by Intel. Intel has gradually improved that design by putting more circuitry on the chip:

Chip’s name                     Year invented    Transistors on chip

Intel 8088                                  1979                          29,000 transistors

Intel 286 (also called 80286)  1982                         134,000 transistors

Intel 386 (also called 80386)  1985                         275,000 transistors

Intel 486 (also called 80486)  1989                      1,200,000 transistors

Intel Pentium                         1993                      3,100,000 transistors

The Intel Pentium could have been called the “Intel 586”, but Intel called it the “Pentium” instead so Intel can trademark the name and prevent companies from copying it. It’s the first computer chip that sounds like a breakfast cereal: “Hey, kids, to put zip into your life, try Penti-yumms. They build strong computer bodies, 5 ways!”

The Intel 8088 was used in the original IBM PC and in a fancier computer called the IBM PC XT. Any IBM-compatible PC containing that chip is called an XT-class computer.

The Intel 286 was used in a computer called the IBM AT. Any IBM-compatible PC containing that chip is called an
AT-class computer.

The 8088, 286, 386, and 486 chips are all outdated; they’re no longer actively marketed. All new IBM-compatible PCs contain Pentiums — or imitations of it made by Intel’s competitors.

Athlon

The most popular imitation of the Pentium chip is the Athlon chip, made by Advanced Micro Devices (AMD). The Athlon chip tends to run faster than the Pentium chip and costs less: it’s a better deal!

Requirements

Many new programs require you to have a Pentium-class chip (Pentium, Athlon, or similar imitation). Those programs won’t run if your computer is so old that it contains an 8088, 286, 386, or 486.

Megahertz

In an army, when soldiers march, they’re kept in step by a drill sergeant who yells out, rhythmically, “Hup, two, three, four! Hup, two, three, four! Hup, two, three, four!”

Like a soldier, the microprocessor takes the next step in obeying your program just when instructed by the computer’s “drill sergeant”, which is called the computer clock. The clock rhythmically sends out a pulse of electricity; each time the clock sends out a pulse, the microprocessor does one more step in obeying your program.

The clock sends out millions of pulses every second, so the microprocessor accomplishes millions of steps in your program every second!

Each pulse is called a clock cycle. The clock’s speed is measured in cycles per seconds.

A “cycle per second” is called a hertz (Hz), in honor of the German physicist Heinrich Hertz. A “million cycles per second” is called a megahertz (MHz).

When Intel invented the Pentium chip in 1993, the Pentium’s clock did 60 million cycles per second. That’s 60 megahertz! Intel also invented a faster Pentium, at 66 megahertz, then even faster Pentiums at 75, 90, 100, 120, 133, 150, 166, 200, 233, 266, 300, 333, 350, 400, 450, 500, 550, 600, 650, 667, 700, 733, 750, 800, 850, 866, and 933 megahertz. For example, a 200-megahertz Pentium thinks twice as fast as a 100-megahertz Pentium.

1000 megahertz is called a gigahertz (GHz). It’s a billion hertz. Recently, Intel has invented faster Pentiums that go at 1, 2, 3, and even 3.6 gigahertz. For example, a 1-gigahertz Pentium thinks twice as fast as a 500-megahertz Pentium.

Slower than a Pentium

The Pentium is an amazing chip: while it thinks about one part of your program, it simultaneously starts getting the next part of your program ready for processing. That chip’s ability to do several things simultaneously is called parallel processing.

The Pentium is smarter than earlier chips (the 8088, 286, 386, and 486): the Pentium can perform more tasks simultaneously; it performs more parallel processing.

Earlier chips seem slower: too often during a clock cycle in earlier chips, part of the chip “does nothing” while waiting for the other part of the chip to catch up. Those earlier chips therefore accomplish less useful work during a clock cycle than a Pentium.

During a clock cycle, a 486 accomplishes half as much useful work as a Pentium. We say the 486’s usefulness factor is ½.

During a clock cycle, a 386 accomplishes a quarter as much useful work as a Pentium, so the 386’s usefulness factor is ¼. A 286’s usefulness factor is 1/5. An 8088’s usefulness factor is 1/5.

You’ve seen that those early chips accomplish less useful work during a clock cycle than a Pentium. Moreover, they accomplish fewer clock cycles per second than a Pentium; they have fewer megahertz:

Chip         Megahertz                                                           Usefulness

Intel 8088    4.77, 7.18                                                                        1/20

Intel 286  6, 8, 10, 12                                                                      1/5

Intel 386  16, 20, 25, 33                                                                     ¼

Intel 486  20, 25, 33, 50, 66, 75, 100                                                 ½

Pentium       60, 66, 75, 90, 100, 120, 133, 150, 166, 200, 233,          1

                  266, 300, 333, 350, 400, 450, 500, 533, 550, 566,

                  600, 633, 650, 667, 700, 733, 750, 766, 800, 850,

                  866, 900, 933, 950, 1000, 1100, 1130, 1200,

                  1260, 1300, 1400, 1500, 1600, 1700, 1800,

                  1900, 2000, 2200, 2260, 2400, 2500, 2530,

                  2667, 2700, 2800, 3000, 3066, 3200, 3400, 3600

For example, suppose you buy an Intel 486 going at 100-megahertz. Since it suffers from a usefulness factor of ½, it accomplishes just ½ as much useful work per cycle as a 100-megahertz Pentium, so it acts about as fast as a 50-megahertz Pentium. A 20-megahertz 386, which suffers from a usefulness factor of ¼, acts about as fast as a 5-megahertz Pentium. A 10-megahertz 286, which suffers from a usefulness factor of 1/5, acts about as fast as a 2-megahertz Pentium.

The slowest chip is a 4.77-megahertz 8088. Since it suffers from a usefulness factor of 1/20, it acts about as fast as a 0.2385-megahertz Pentium. That’s 14,256 times slower than the fastest Pentium, which goes at 3400 megahertz. Yes, the fastest IBM-compatible computers think over 10,000 times faster than the slowest ones! That’s progress!

The “usefulness factor” is just an approximate average. During a cycle, for example, a 486 accomplishes about ½ as much useful work as a Pentium, on the average; but on certain tasks a 486 accomplishes more than “½ as much”, and on other tasks it accomplishes less.

Variant chips

The Intel 8088 comes in two versions. One version (called simply the “8088”) goes slightly slower than the other version (called the 8086).

The Intel 386 comes in two versions. One version (called the 386SX) goes slightly slower than the other version (called the 386DX).

The Intel 486 comes in two versions. One version (called the 486SX) goes slower than the other version (called the 486DX). Moreover, the 486DX comes in three varieties: the original 486DX, the 486DX2, and the 486DX4.

7 Pentiums Intel’s invented 7 versions of the Pentium.

The Pentium classic is the oldest and slowest kind of Pentium. Invented in 1993, it’s the kind of Pentium found in most computers built from 1993 through 1996.

The Pentium MMX is slightly faster. Invented in January 1997, it’s the kind of Pentium found in most computers built in 1997.

It runs most programs about 15% faster than a Pentium classic. For example, a 200-megahertz Pentium MMX runs programs about 15% faster than a 200-megahertz Pentium classic. That’s because the Pentium MMX is designed better than a Pentium classic and contains twice as much internal level-1 cache memory (an extremely fast form of memory that holds a copy of what’s coming from other memory). It’s called MMX because it also understands 57 extra instructions (called MultiMedia eXtensions), which can theoretically speed up multimedia (video & sound) dramatically; but those 57 extra instructions just duplicate some of the intelligence found on fancy video-&-sound cards. Intel’s official name for this chip is “Pentium with MMX Technology”, but most folks say just “Pentium MMX”.

The Pentium 2 is even faster. Invented in May 1997, it became popular when Intel dropped the price in 1998. It runs most programs about 30% faster than a Pentium MMX. Like the Pentium MMX, it understands the 57 multimedia instructions. Intel’s official name for this chip is “Pentium II”; but to avoid Roman numerals I’ll write “Pentium 2”.

The Pentium 2 replaces an old 1995 expensive version, called the Pentium Pro, which ran some programs fast but ran other programs slowly (even slower than a Pentium classic!) and lacked MMX.

To help folks who can’t afford a real Pentium 2, Intel began selling a cheaper version, called the Pentium Celeron, in 1998. It’s slower.

In February 1999, Intel invented a speeded-up Pentium 2, called the Pentium 3. Using a technique called
Single-Instruction Multiple-Data (SIMD), it understands 70 extra instructions, called Streaming SIMD Extensions (SSE).

Later, Intel invented the Pentium 4 and other Pentiums that go even faster.


Megahertz Here’s how many megahertz are available:

Intel chip         Megahertz

8088                  4.77, 7.18

8086                  8, 10

286                    6, 8, 10, 12

386SX                16, 20, 25, 33

386DX               16, 20, 25, 33

486SX                20, 25, 33

486DX               25, 33, 50

486DX2             50, 66

486DX4             75, 100

Pentium classic   60 up through 200

Pentium Pro          150, 166, 180, 200

Pentium MMX   166, 200, 233

Pentium 2           233, 266, 300, 333, 350, 400, 450

Pentium Celeron 266 up through 2930

Pentium 3           450 up through 1400

Pentium 4           1300 up through 3600

Prices Here are some prices:

Intel chip                         Gigahertz        Price

Pentium Celeron                  .57 GHz               $23

Pentium Celeron                   .95 GHz                $24

Pentium Celeron                1.7   GHz                $26

Pentium Celeron                1.8   GHz               $27

Pentium Celeron                2.0   GHz                $29

Pentium Celeron                2.2   GHz                $30

Pentium Celeron                2.6   GHz                $31

Pentium Celeron D 335      2.8   GHz                $39

Pentium Celeron D 340      2.93 GHz                $67

Pentium 4 540                       3.2   GHz                $70

Pentium 4 650                       3.4   GHz                $79

Pentium 4 661                       3.6   GHz              $222

Pentium D 960                   3.6   GHz              $479

Pentium D 965                   3.73 GHz            $1024

That chart shows the price charged by discount dealers (such as Spartan Technologies, The Chip Merchant, and JDR Microdevices) for a single chip when this book went to press in August 2007. By the time you read this, prices might be lower, since Intel drops prices frequently (about every 2 months). If you buy 1000 chips at a time directly from Intel, you pay even less.


Imitations

Intel’s competitors have imitated Intel’s chips. Some of the imitations go faster than Intel’s originals!

Intel’s chip                       Imitations

8088 (4.77 or 7.18 MHz)       NEC’s V20 chip goes faster: 10 MHz.

8086 (8 or 10 MHz)           NEC’s V30 chip goes fast: 10 MHz.

286 (6-12 MHz)                 Harris’s 286 goes faster: choose 16 or 20 MHz versions.

386 (16-33 MHz)                AMD’s 386 goes faster: 40 MHz.

486 SX (20-33 MHz)          Cyrix’s 486SLC goes too slow (usefulness factor 1/3 instead of ½).

486 DX (25-100 MHz)       AMD’s 486 goes faster: choose 66, 80, 100, or 120 MHz versions.

                                            Cyrix’s 486DLC goes too slow (usefulness factor 1/3 instead of ½).

                                            IBM’s Blue Lightning (BL) goes too slow (usefulness factor 1/3 instead of ½).

Pentium classic (60-200)    AMD’s 586 and Cyrix’s 586 go too slow (usefulness factor 2/3 instead of 1).

Pentium Pro (150-200)          Cyrix’s 686 goes too slow (usefulness factor ¾ instead of 1).

Pentium 2 (233-450)             AMD’s K6 (and K6-2) are slightly slow (usefulness factor 7/8 instead of 1).

                                            Cyrix’s 6x86MX (and M2) are even slower (usefulness factor ¾ instead of 1).

Pentium Celeron (266-2800)  AMD’s Duron goes about the same speed.

Pentium 3 & 4 (450-3600) AMD’s Athlon goes about the same speed.

Here are the prices charged by discount dealers (such as Spartan Technologies, The Chip Merchant, and JDR Microdevices):

AMD chip                               Price

Sempron 2800+                           $45

Sempron 3000+                           $53

Athlon 64 3500+                        $80

Athlon 64 X2 3800+ AM2          $87

Athlon 64 X2 5000+ AM2        $132

Athlon 64 X2 5200+ AM2        $147

Half-assed systems

While a chip waits for your commands, the chip accomplishes nothing useful during the wait: it just mumbles to itself.

To make full use of a fast Pentium, make sure you know what commands to give the computer. To let the chip reach its full potential, buy lots of RAM, big disk drives, and a quick printer. Otherwise, the Pentium will act as idiotic as if it’s in the army: it will just “hurry up and then wait” for other parts of the system to catch up and tell it what to do next.

A mind’s a terrible thing to waste! To avoid wasting the computer’s mind (the CPU), make sure the other computer parts are good enough to match the CPU and keep it from waiting.

If you get suckered into buying a computer that has a fast Pentium chip but insufficient RAM, insufficient disk drives, and a slow printer, you’ve bought a computer that’s just half-fast: it’s half-assed.

Total cost

When you buy a microcomputer, its advertised price includes a microprocessor, motherboard, and other goodies. Pay for the microprocessor separately just if you’re inventing your own computer, buying parts for a broken computer, or upgrading your computer by switching to a faster microprocessor & motherboard.

Though the microprocessor is cheap, the computer containing it can cost many hundreds or thousands of dollars. That’s because the microprocessor is just a tiny part of the computer. In addition to the microprocessor, you want memory chips, interface chips, support chips, PC boards (to put the chips on), I/O devices (a keyboard, screen, printer, speaker, and mouse), disks, and software.


Used-computer stores and garage sales get you IBM clones for these prices:

Chip                   Complete computer

8088 or 8086       $10

286                       $20

386                       $30

486                       $60

Pentium                 $400

Those prices include nearly everything you need (such as the CPU, memory chips, disks, keyboard, and a screen displaying many colors) but do not include a printer or software. Those prices are approximate; the exact price you pay depends on the CPU’s speed (how many megahertz or gigahertz) and on the other components’ speed, quality, and size.

Notice that a 286 computer costs $20, which is $10 more than an 8086 computer. That’s because a 286 computer includes a better CPU chip and also comes with a better keyboard, better screen, better memory chips, and better disks.

Math coprocessor

Each Pentium chip includes math coprocessor circuitry, which handles advanced math fast. That circuitry can multiply & divide long numbers & decimals and compute square roots, logarithms, and trigonometry.

Primitive chips — the 8088, 8086, 286, 386SX, 386DX, and 486SX — do not include such circuitry.

To make a primitive chip do advanced math, you must feed the chip a program that teaches the chip how to break the advanced problem down into a series of simpler problems. That program runs slowly — nearly 100 times slower than if a math coprocessor were present!

You’ll be very annoyed at the slowness if you’re a scientist trying to do advanced math — or an artist trying to rotate a picture, since the computer computes the rotated image’s new coordinates by using trigonometry. For example, if you draw a 3-D picture of a house and then ask the computer to show how the house looks from a different angle, you need a math coprocessor to avoid a long delay.

But if you use the computer just as a souped-up typewriter (to record and edit your writing) or as an electronic filing cabinet (to record names and addresses on a mailing list), you’ll never notice the lack of a math coprocessor, since you’re not doing advanced math.

Each 486DX chip (and 486DX2 and 486DX4) includes math-coprocessor circuitry; the 486SX does not. So here’s the only difference between a 486DX and a 486SX: the 486SX lacks math-coprocessor circuitry.

Intel invented the 486DX, then later invented the 486SX by using this manufacturing technique: Intel took each 486DX whose math coprocessor was faulty and called it a 486SX. So a 486SX was just a defective 486DX.

If you buy a 486SX now, you get a 486DX whose math coprocessor is either defective or missing.

If your CPU lacks math-coprocessor circuitry (because your CPU is an 8088, 8086, 286, 386, or 486SX), here’s how to do math quickly: buy a supplementary chip, called a math coprocessor chip. Put it next to the CPU chip on the motherboard. It contains the math-coprocessor circuitry that the CPU lacks.

CPU                Which math coprocessor to buy

8088, 8086     Intel 8087

286                 Intel 287

386SX             Intel 387SX

386DX           Intel 387DX

486SX            Intel 487SX

RAM

Although the CPU (the computer’s brain) can think, it can’t remember anything. It can’t even remember what problem it was working on!

Besides buying a CPU, you must also buy memory chips, which remember what problem the CPU was working on. To find out what the problem was, the CPU looks at the memory chips frequently — millions of times every second!

You need two kinds of memory chips: RAM and ROM.

The RAM chips remember info temporarily.

The ROM chips remember info permanently.

Let’s begin by looking at RAM chips. If a chip remembers info just temporarily, it’s called a random-access memory chip (RAM chip).

When you buy RAM chips, they contain no info yet; you tell the CPU what info to put into them. Later, you can make the CPU erase that info and insert new info instead. The RAM chips hold info just temporarily: when you turn the computer’s power off, the RAM chips are automatically erased.

Whenever the CPU tries to solve a problem, the CPU stores the problem in the RAM chips, temporarily. There it also stores all instructions on how to solve the problem; the instructions are called the program.

If you buy more RAM chips, the CPU can handle longer problems and programs. If the computer doesn’t have enough RAM chips to hold the entire problem or program, you (or a programmer) must split the problem or program into several shorter ones instead and tell the CPU to work on each of the short ones temporarily.

How RAM is measured

A character is any symbol you can type on the keyboard, such as a letter or digit or punctuation mark or blank space. For example, the word HAT consists of 3 characters; the phrase Mr. Poe consists of 7 characters (M, R, the period, the space, P, O, and E). The phrase LOVE 2 KISS U consists of 13 characters.

Instead of saying “character”, hungry programmers say byte. So LOVE 2 KISS U consists of 13 bytes. If, in the RAM, you store LOVE 2 KISS U, that phrase occupies 13 bytes of the RAM.

RAM chips are manufactured by a process that involves doubling. The most popular unit of RAM is “2 bytes times 2 times 2 times 2 times 2 times 2 times 2 times 2 times 2 times 2”, which is 1024 bytes, which is called a kilobyte. So
the definition of a kilobyte is “1024 bytes”. It’s about a quarter as many characters as you get on a typewritten page (assuming the page is single-spaced with one-inch margins and elite type).

The abbreviation for kilobyte is K. For example, if a salesperson says an old computer has a “512K RAM”, the salesperson means the main circuitry includes enough RAM chips to hold 512 kilobytes of information, which is slightly over 512,000 bytes.

A megabyte is 1024 kilobytes. Since a kilobyte is 1024 bytes, a megabyte is “1024 times 1024” bytes, which is 1,048,576 bytes altogether, which is slightly more than a million bytes. It’s about how much you can fit in a 250-page book (assuming the book has single-spaced typewritten pages). The abbreviation for megabyte is meg or M.

A gigabyte (pronounced “gig a bite”) is 1024 megabytes. It’s slightly more than a billion bytes. The abbreviation for gigabyte is gig or G.

A terabyte is 1024 gigabytes. It’s slightly more than a trillion bytes.

In honor of the words “kilobyte”, “megabyte”, “gigabyte”, and “terabyte”, many programmers name their puppies Killer Byte, Maker Byte, Giggle Byte, and Terror Byte.

Rows of RAM chips

In a primitive microcomputer (such as the Commodore 64), the RAM is a row of eight chips on the motherboard. That row of chips holds 64K altogether. So it holds 64 kilobytes, which is slightly more than 64 thousand bytes (since a kilobyte is slightly more than a thousand bytes).

That row of chips is called a 64K chip set. Each chip in that set is called a “64K chip”, but remember that you need a whole row of those 64K chips to produce a 64K RAM.

The most popular style of 64K chip is the TI 4164. Although that style was invented by Texas Instruments, other manufacturers have copied it.

If your computer is slightly fancier (such as the Apple 2c), it has two rows of 64K chips. Since each row is a 64K RAM, the two rows together total 128K.

If your computer is even fancier, it has many rows of 64K chips. For example, your computer might have four rows of 64K chips. Since each row is a 64K RAM, the four rows together total 256K.

64K chips first became popular in 1982. If your computer is so ancient that it was built before 1982, it probably contains inferior chips: instead of containing a row of 64K chips, it contains a row of 16K chips or 4K chips.

During the 1980’s, computer engineers invented 256K and 1M chips.

If your computer has very little RAM, you can try to enlarge the RAM, by adding extra rows of RAM chips to the motherboard. But if the motherboard’s already full, you must buy an extra PC card to put the extra chips on. That extra PC card is called a RAM memory card.

Parity chip

The original IBM PC contains an extra chip in each row, so each row contains 9 chips instead of 8.

The row’s ninth chip is called the parity chip. It double-checks the work done by the other 8 chips, to make sure they’re all working correctly!

So for an original IBM PC (or imitations of it), you must buy 9 chips to fill a row.

Strips of RAM chips

If your computer is modern and you want to insert an extra row of RAM chips, you do not have to insert 8 or 9 separate chips into the motherboard. Instead, you can buy a strip (tiny memory card) that contains all 8 or 9 chips and just pop the whole strip into the computer’s motherboard, in one blow.

If the strip is typical,

it contains a single row of chips, pops into one of the motherboard’s slots,

and is called a Single In-line Memory Module (SIMM).

If the strip is fancy,

it contains two rows of chips (one row on each side of the strip)

and is called a Dual In-line Memory Module (DIMM).

If the strip is old-fashioned and weird,

it pops into a series of pinholes instead of a slot

and is called a Single In-line Pin Package (SIPP).


Here’s what SIMMs and DIMMs cost:

  $3 for a SIMM  that holds       8 megabytes

  $4 for a SIMM  that holds     16 megabytes

  $6 for a DIMM that holds     64 megabytes

$10 for a DIMM that holds   128 megabytes

$15 for a DIMM that holds   256 megabytes

$19 for a DIMM that holds   512 megabytes

$42 for a DIMM that holds 1024 megabytes, which is 1 gigabyte

You can get those prices from discount dealers, such as:

Company                  Phone

Spartan Technologies    888-393-0340 or 847-364-9900

JDR Microdevices         800-538-5000 or 408-494-1400

Chip Merchant             800-426-6375 ir 619-268-4774

Memory Man               800-MEGABYTE, 504-818-2717

Some computers use SIMMs containing a set of just 2, 3, or 4 chips. That set of special chips imitates 8 or 9 normal chips.

In old-fashioned computers,

each SIMM fits into a motherboard slot by using 30 big pins.

In computers that are more modern, each SIMM uses 72 big pins instead.

The typical DIMM uses 168, 184, or 240 big pins.

A nanosecond is a billionth of a second. The typical SIMM contains chips that are fast: they retrieve info in 60 nanoseconds. Some SIMMs and DIMMs contain chips that are even faster: 10 nanoseconds.

Dynamic versus static

A RAM chip is either dynamic or static.

If it’s dynamic, it stores data for just 2 milliseconds. After the 2 milliseconds, the electrical charges that represent the data dissipate and become too weak to detect.

When you buy a PC board containing dynamic RAM chips, the PC board also includes a refresh circuit. The refresh circuit automatically reads the data from the dynamic RAM chips, then rewrites the data onto the chips before 2 milliseconds go by. Every 2 milliseconds, the refresh circuit reads the data from the chips and rewrites the data, so that the data stays refreshed.

If a chip is static instead of dynamic, the electrical charge never dissipates, so you don’t need a refresh circuit. (But you must still keep the power turned on.)

In the past, computer designers used just static RAM because they feared dynamic RAM’s refresh circuit wouldn’t work. But now refresh circuits are reliable, and the most popular kind of RAM is dynamic.

Dynamic RAM is called DRAM (pronounced “dee ram”). Static RAM is called SRAM (pronounced “ess ram”).

Faster circuitry

The circuitry on SIMM and DIMM cards has improved, to let a stream of data get from the memory card to the CPU chip faster. Such improvements have fancy names:

In 1987 came the first improvement, called Fast Page Mode (FPM).

In 1995 came Extended Data Output (EDO), which went even faster.

In 1996 came Synchronous DRAM (SDRAM), which went even faster.

In 1999 came Rambus DRAM (RDRAM), which went even faster.

In 2000 came Double Data Rate SDRAM (DDR SDRAM),

which had 184 pins and went about as fast as RDRAM but cost less.

In 2003 came DDR2 SDRAM,

which has 240 pins and transfers data twice as fast as DDR SDRAM.

Early versions of DDR2 SDRAM didn’t work well;

but at the end of 2004, DDR2 SDRAM improved enough to be practical,

so most new computers use it.

Compatibility

If you want to buy an extra SIMM or DIMM to put in your computer, make sure you buy the same kind as what’s already in your computer. Make sure the extra SIMM or DIMM has the same number of pins (30, 72, 168, 184, or 240?), the same number of chips on it (2, 3, 4, 8, 9, or more?), operates at the same number of nanoseconds (10 or 80?), and uses the same technology (FPM, EDO, SDRAM, RDRAM, DDR, or DDR2).

Let your memory grow

Here’s how much RAM you typically get altogether:

Computer’s price    Typical quantity of RAM

       $5-$10                     512K (512 kilobytes,             524,288 bytes)

     $10-$15                         1M     (1 megabyte,          1,048,576 bytes)

     $15-$20                        2M     (2 megabytes,        2,097,152 bytes)

     $20-$25                        4M     (4 megabytes,        4,194,304 bytes)

     $25-$30                         8M     (8 megabytes,        8,388,608 bytes)

     $30-$40                       16M   (16 megabytes,     16,777,216 bytes)

     $40-$50                      32M   (32 megabytes,      33,554,432 bytes)

     $50-$100                     64M   (64 megabytes,      67,108,864 bytes)

   $100-$200                   128M (128 megabytes,    134,217,728 bytes)

   $200-$300                  256M (256 megabytes,    268,435,456 bytes)

   $300-$400                  512M (512 megabytes,    536,870,912 bytes)

   $400-$700                       1G      (1 gigabyte,     1,073,741,824 bytes)

   $700-$1,500                       2G      (2 gigabytes    2,147,483,648 bytes)

$1,500-$4,000                       4G      (4 gigabytes,   4,294,967,296 bytes)

IBM

The original IBM PC came with just 16K of RAM, but you could add extra RAM to it. Here’s how much RAM the typical IBM-compatible PC contains now:

CPU            Typical quantity of main RAM

8088           512K or 640K

286             640K or 1M

386                 2M or 4M

486                 4M or 8M

Pentium            16M, 32M, 64M, 128M, 256M, 512M, 1G, 2G, or 3G

To run modern IBM PC software, you need at least 1G of main RAM; but many people still use old IBM PC software that can run on 512M, 256M, 128M, or even 64M of RAM.

How RAM is divvied

For IBM-compatible PCs having at least 1M of RAM, here’s how it’s divvied up.

The first 640K of main RAM is called the base memory (or conventional memory). It’s the part of the RAM that the computer can handle easily and fast. The next 384K is called upper memory. Those two parts (the conventional memory and the upper memory) consume a total of 640K+384K, which is 1024K, which is one megabyte.

The rest of the main RAM (beyond that first megabyte) is called extended memory. The first 64K of extended memory is called the high memory area (HMA) because it’s just slightly higher than the base memory and upper memory.

 

 

 

ROM

If a chip remembers information permanently, it’s called a read-only memory chip (ROM chip), because you can read the information but can’t change it. The ROM chip contains permanent, eternal truths and facts put there by the manufacturer, and it remembers that info forever, even if you turn off the power.

Here’s the difference between RAM and ROM:

RAM chips remember, temporarily, info supplied by you.

ROM chips remember, forever, info supplied by the manufacturer.

The typical computer includes many RAM chips (arranged in rows) but just a few ROM chips.

What kind of info is in ROM?

In your computer, one of the ROM chips contains instructions that tell the CPU what to do first when you turn the power on. Those instructions are called the ROM bootstrap, because they help the computer system start itself going and “pull itself up by its own bootstraps”.

In the typical microcomputer, that ROM chip also contains instructions that help the CPU transfer information from the keyboard to the screen and printer. Those instructions are called the ROM operating system or the ROM basic input-output system (ROM BIOS).

In the typical microcomputer, one of the ROM chips tells the computer how to make each character on the screen out of dots. That chip is called the character generator.

In famous old microcomputers, several ROM chips contain definitions of fundamental English words, which are called Basic words. For example, those ROM chips contain the definitions of Basic words such as PRINT, INPUT, IF, and THEN. Those Basic definitions in the ROM are called the ROM Basic interpreter.

Commodore 64

For example, let’s look inside a primitive computer: the Commodore 64. It contains just 4 ROM chips:

The first chip contains 8K, for the ROM bootstrap and ROM BIOS.

The second contains Commodore’s 8K ROM Basic.

The third contains Commodore’s 4K character generator.

The fourth contains ¼K telling the computer how to make the screen produce colors.

IBM

In the typical IBM-compatible PC, the motherboard contains a ROM BIOS chip.

That chip contains the ROM BIOS and also the ROM bootstrap. If your computer is manufactured by IBM, that chip is typically designed by IBM; if your computer is manufactured by a company imitating IBM, that chip is an imitation designed by a company such as Phoenix. Such a chip designed by Phoenix is called a Phoenix ROM BIOS chip. Other companies that design ROM BIOS chips for clones are Quadtel (which was recently bought by Phoenix), Award (which was recently bought by Phoenix), and American Megatrends Incorporated (AMI) (which remains independent).

On a special PC card (called a video display card), you’ll find a ROM chip containing the character generator.


If your computer is old and built by IBM, some chips on the motherboard contain the ROM Basic interpreter. If your computer is new or an imitation, all of Basic comes on a disk instead of in ROM chips.

Altogether, the original IBM PC contained six ROM chips: the ROM BIOS chip, the character generator, and four ROM Basic interpreter chips. Each of those six chips contained 8K, so that the computer’s ROM totaled 48K. On newer computers from IBM and competitors, the total is slightly different.

How ROM chips
are made

The info in a ROM chip is said to be burned into the chip. To burn in the info, the manufacturer can use two methods.

One method is to burn the info into the ROM chip while the chip’s being made. A ROM chip produced by that method is called a custom ROM chip.

An alternate method is to make a ROM chip that contains no info but can be fed info later. Such a ROM chip is called a programmable ROM chip (PROM). To feed it info later, you attach it to a device called a PROM burner, which copies info from a RAM to the PROM.

Info burned into the PROM can’t be erased, unless the PROM’s a special kind: an erasable PROM (EPROM). You can buy 3 types of erasable PROMs:

An ultraviolet-erasable PROM (UV-EPROM) gets erased by shining an intense ultraviolet light at it for 5 minutes (or leaving the chip in sunlight for 2 weeks). That technique erases the entire chip.

An electrically erasable PROM (EEPROM) gets erased by sending it a 25-volt shock for a tenth of a second. That technique erases just one byte in the chip: to erase many bytes, you must perform that technique many times.

Flash memory gets erased by sending it a 3-volt shock for 1 second. That technique erases a whole 64-kilobyte block at once, “in a flash”. It’s the most popular type of erasable PROM: it’s used in digital cameras (to store pictures), cell phones, and reprogrammable BIOS chips.

Those numbers (for erasure time, voltage, and block size) are typical; but for your chip the numbers might be different, depending on how the chip was manufactured. After you erase an erasable PROM, you can feed it new info.

If you’re a manufacturer designing a new computer, begin by using an erasable PROM, so you can make changes easily. When you decide not to make any more changes, switch to a non-erasable PROM, which costs less to manufacture. If your computer becomes so popular that you need to manufacture over 10,000 copies of the ROM, switch to a custom ROM chip, which costs more to design and “tool up for” but costs less to make copies of.