RAM IC



The RAM chip is an electronic "scratch pad" which is hooked up to the CPU. The BASIC programs that you type in are stored electronically here, as are its variables, the television picture, and the system variables.

Like ROM, the RAM storage is arranged into bytes, each with an address. These range from 16384 to 17407, 2K (or 32767 if you have a 16K RAM pack extension). As with the ROM you can find the values of these bytes by using PEEK. The difference is that you can also change them.

Type: POKE 17300,57

This gives the byte at address 17300 the value 57.

If you now type: PRINT PEEK 17300

you get the number 57 back.



Back to MainBoard