New Life Games LLC
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

News:

Welcome to the NewLifeGames.com message forum! 

 


NLG Site Navigation Menu


Archives of old posts can be found at...... Newlifegames.net/nlg/

Author Topic: How RAMs and ROMs are Read  (Read 13522 times)

0 Members and 1 Guest are viewing this topic.

Offline channelmaniac

  • Surface mount soldering geek
  • Global NLG Site Moderator
  • NLG Member 501 to 10,000 Posts
  • *
  • Posts: 2472
  • Reputation Power: 174
  • channelmaniac Is an-NLG GOD!channelmaniac Is an-NLG GOD!channelmaniac Is an-NLG GOD!channelmaniac Is an-NLG GOD!channelmaniac Is an-NLG GOD!channelmaniac Is an-NLG GOD!channelmaniac Is an-NLG GOD!channelmaniac Is an-NLG GOD!channelmaniac Is an-NLG GOD!channelmaniac Is an-NLG GOD!channelmaniac Is an-NLG GOD!channelmaniac Is an-NLG GOD!
  • Few things are better than fixing an old game...
    • Arcadecomponents.com - Looking for hard to find chips?
How RAMs and ROMs are Read
« on: April 28, 2014, 08:13:35 PM »
If you take a look at a standard EPROM or SRAM IC's pinout (and even the data sheet if it's available!) you'll see pins like W*, OE*, and CE* - what do these do?

Well, to read an EPROM or to read and write to a static RAM and NOT to the other chips on the system requires a combination of signals to activate them.

A 6116 SRAM IC is 2k x 8. It has 2 power lines, 8 data lines, 3 control lines, and 11 address lines. If you have 2 of these connected to a CPU that has 16 address lines how do you get the correct one to give you back the data when they are both connected to the same address and data lines? Easy. Decode the upper 5 address lines so that certain combinations of them activate the control lines of the SRAM ICs so the correct one is enabled for data reads and writes at the proper place in the CPUs memory map.

Now when looking at the pinouts you'll see things like OE* (or "OE" with a bar over the top of the letters.) The * or bar over the letters signifies it's an "active low" signal. This means that to activate this line the voltage on the pin drops to a logic low condition - close to ground level voltages.

Let's look at the signals:
OE* = Output Enable. When this signal is low the chip will put it's data on the bus when read.
CE* = Chip Enable. When this signal is low the chip can be read (if OE* is low too) or written to (if W* is low at the same time)
W* = Write. When this signal is low the chip can be written to (if CE* is low too)

This information comes in handy when troubleshooting RAM/ROM problems on game boards. If the board reports the ROM as bad but the ROM checks good when read in an EPROM programmer then check those signal lines! If they aren't correct then the board won't be able to read it. Look for a bad socket (common on old games!), gouges/broken traces, or a bad IC.

Neo Geo MVS boards: Common for bad traces on the control signals for the backup SRAM. This will cause the board to not boot and give a click-click-click from the speakers. This is a "stuck in watchdog" problem. The CPU is getting whacked on the reset line continuously as the system tries to get it to boot. This is because the control signals for the backup SRAM aren't there which is causing the chip's control lines to "float." This float is causing spurious outputs from the backup SRAM chips. The problem is that it's connected directly to the CPU just like the CPU's 'work RAM' and the spurious outputs are causing the CPU to never boot. Fix the traces and the board will boot.

Enjoy!

RJ
I have too many hobbies! Electronics, gunsmithing, Miatas, arcade games, metal detecting, etc...

http://www.arcadecomponents.com

 

Cell Phone and Pad Mode

imode wap wap2

NLG Archives

Archives @ newlifegames.net Wayback Machine

Contact Us

NLG Shop 928 754-4147 Email Us 1788 Highway 95 30 BHC City AZ 86442
If you find this site helpful, please consider becoming a Contributing NLG Member with a monthly subscription to help cover the cost of pizza, coffee, aspirin, hosting, and bandwidth.
Contributing Members: get unlimited personal messages, can save topics and replies as drafts,
can post to the Classified ads, get unlimited access to the downloads, and also get this minty badge:



**Subscription Link** (Click Here) **Subscription Link**



           
If you would rather remain anonymous Thank You or just want to help support the site, please use this "make a donation" button:




From your entire NLG staff, thank you for supporting NLG.


New Life Games LLC 1788 HIGHWAY 95 UNIT 30 BULLHEAD CITY AZ 86442




Newlifegames.com     Newlifegames.net     Newlifegames.org

Newlifegame.com     Newlifegame.net     Newlifegame.org    Newlifegames.us

   New Life Games     NewLifeGames  NLG

 We Bring new Life to old Games    1-888-NLG-SLOTS

Are all Copyright and Trademarks of New Life Games LLC 1992 - 2022


FAIR USE NOTICE:



This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner.
We make such material available in an effort to advance awareness and understanding of the issues involved.
We believe this constitutes a fair use of any such copyrighted material as provided for in section 107 of the US Copyright Law.
In accordance with Title 17 U.S.C. Section 107, the material on this site is distributed without profit to those
who have expressed a prior interest in receiving the included information for research and educational purposes.

For more information please visit: http://www.law.cornell.edu/uscode/17/107.shtml
If you wish to use copyrighted material from this site for purposes of your own that go beyond fair use,
you must obtain permission directly from the copyright owner.




The NewLifeGames.com website is optimized for use with Firefox and a minimum screen resolution of 1600 x 900 pixels.

SimplePortal 2.3.5 © 2008-2012, SimplePortal