FANDOM


The Memory Bank provides a convenient place for the storage of data, as well as the possibility of many other functions.

This article discusses using multiple memory banks to store larger amounts of data. This is most commonly needed in computer circuits.

Introduction

There are two basic types of memory; Read/Write Memory and Read Only Memory. These are usually abbreviated with RAM and ROM, even though 'RAM' actually means Random Access Memory and does not necessarily indicate the memory is writable. To avoid confusion, I will stick with the common parlance as above.

Building ROM is simpler that RAM because you don't need to access the write signal (through the rear of the chip). This article will start with detailing ROM circuits.

ROMs

A ROM stores data for later recall but this data must be placed in the ROM "by hand". That means either by the character in-game or through editing the xml file. That process is not discussed in this article.

Smallest ROM

One memory 'cell' or a single Bank (8 bits or 256 locations):

Mem Array cells

A typical row of cells (12 bits or 4,096 locations):

Mem Array rows

This link is a simpler, 12 bit address array and is the basis for the full array. Since SC 'analog' signals are 4 bits each, the 12 bit array can accept 3 analog inputs.

Array 12b

To make the full 16 bit array, I simply duplicated this design 15 more times.

Here is the full array. This is a 64K-byte ROM and uses over 1,000 memory banks. Only 512 of these hold the data and the rest are for interfacing with the rest of the circuit and serve other functions. Even so, it would indeed take a long time to program 512 banks by hand!

Here's a picture of the 64K byte array:

64k memory bank

Awesomeness!

RAM or R/W memory

Notes

The links above are to Box.net files. Box is more secure and more respectful of my privacy than dropbox, so I prefer them. If you have trouble getting the files, let me know and I'll copy them to droopbox...

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.