DIY Rom Emulator?

For discussing the 65xx hardware itself or electronics projects.
Post Reply
LIV2
Posts: 173
Joined: 12 Feb 2014
Location: Sweden

DIY Rom Emulator?

Post by LIV2 »

Hi,

What would be the best way to make a ROM emulator, i.e SRAM being programmed In-System.

I was thinking of using 74HC245s to isolate the SRAM from the system while programming so that my programmer doesn't try to drive the bus etc.

Is this a good idea? or is there a better way to do this?
mkl0815
Posts: 183
Joined: 25 Mar 2013
Location: Germany
Contact:

Re: DIY Rom Emulator?

Post by mkl0815 »

We are currently working on a circuit for an old video game (Interton VC 4000) that uses exactly this configuration. An Arduino is used to write data to an SRAM via 3 74HC595 shift registers. The advantage of those parts is, that you can put their putputs in high impedance mode.
The data and address bus between the SRAM and the console bus is connected through 74LS245 bus transceivers. becasue of the smaller address bus of the SRAM (13 lines) there are some inputs left to connect /CE and R/W also through the 74LS245.
Mario.
How should I know what I think, until I hear what I've said.
User avatar
Dajgoro
Posts: 808
Joined: 08 Aug 2011
Location: Croatia
Contact:

Re: DIY Rom Emulator?

Post by Dajgoro »

I built one for myself with a pic16f877 and 74 series 8 bit latches to hold the address while data is being written to the sram.
grzeg
Posts: 47
Joined: 17 Jan 2014
Location: Poland

Re: DIY Rom Emulator?

Post by grzeg »

User avatar
cbscpe
Posts: 491
Joined: 13 Oct 2013
Location: Switzerland
Contact:

Re: DIY Rom Emulator?

Post by cbscpe »

I use a dual-port SRAM (IDT7174) and a ATMEGA32. I think that gives you the lowest chip count. I use that combination on my breadboards.
User avatar
Dajgoro
Posts: 808
Joined: 08 Aug 2011
Location: Croatia
Contact:

Re: DIY Rom Emulator?

Post by Dajgoro »

I can't find any info anywhere about the IDT7174 .
User avatar
GARTHWILSON
Forum Moderator
Posts: 8773
Joined: 30 Aug 2002
Location: Southern California
Contact:

Re: DIY Rom Emulator?

Post by GARTHWILSON »

Dajgoro wrote:
I can't find any info anywhere about the IDT7174 .
If there's an error in one digit, maybe it's something on this page.
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
User avatar
cbscpe
Posts: 491
Joined: 13 Oct 2013
Location: Switzerland
Contact:

Re: DIY Rom Emulator?

Post by cbscpe »

Sorry my bad. What I use is a IDT7134. This is a 4k x 8bit DP-SRAM available in PDIP48.
LIV2
Posts: 173
Joined: 12 Feb 2014
Location: Sweden

Re: DIY Rom Emulator?

Post by LIV2 »

Thanks guys

I had a couple of 245s and an AS6C6264 already so I went with that, the dual-port SRAM would be much better though I'd say.

I had a hell of a time getting it to work though.. I had connected the OE pin from the buffers to a pulldown with my mcu pulling it high during programming, which meant my computer didn't work at all because the buffer was driving the bus even when the ROM wasn't selected.

OR'ing the ROM CS with the signal from the programmer fixed this.

My current circuit looks like this
Post Reply