6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Nov 23, 2024 11:30 pm

All times are UTC




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: DIY Rom Emulator?
PostPosted: Thu Feb 05, 2015 2:01 am 
Offline

Joined: Wed Feb 12, 2014 1:39 am
Posts: 173
Location: Sweden
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?


Top
 Profile  
Reply with quote  
 Post subject: Re: DIY Rom Emulator?
PostPosted: Thu Feb 05, 2015 4:07 pm 
Offline

Joined: Mon Mar 25, 2013 9:26 pm
Posts: 183
Location: Germany
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: DIY Rom Emulator?
PostPosted: Sat Feb 07, 2015 6:21 am 
Offline
User avatar

Joined: Mon Aug 08, 2011 2:48 pm
Posts: 808
Location: Croatia
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: DIY Rom Emulator?
PostPosted: Sat Feb 07, 2015 8:39 am 
Offline

Joined: Fri Jan 17, 2014 6:39 pm
Posts: 47
Location: Poland
http://atarionline.pl/pliki/zenon_schematy_ramcart.7z?PHPSESSID=72f38ff128d9ce37ccb8f92869fcd241


Top
 Profile  
Reply with quote  
 Post subject: Re: DIY Rom Emulator?
PostPosted: Sat Feb 07, 2015 6:27 pm 
Offline
User avatar

Joined: Sun Oct 13, 2013 2:58 pm
Posts: 491
Location: Switzerland
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: DIY Rom Emulator?
PostPosted: Sat Feb 07, 2015 11:52 pm 
Offline
User avatar

Joined: Mon Aug 08, 2011 2:48 pm
Posts: 808
Location: Croatia
I can't find any info anywhere about the IDT7174 .


Top
 Profile  
Reply with quote  
 Post subject: Re: DIY Rom Emulator?
PostPosted: Sun Feb 08, 2015 12:42 am 
Online
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8546
Location: Southern California
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?


Top
 Profile  
Reply with quote  
 Post subject: Re: DIY Rom Emulator?
PostPosted: Sun Feb 08, 2015 8:05 pm 
Offline
User avatar

Joined: Sun Oct 13, 2013 2:58 pm
Posts: 491
Location: Switzerland
Sorry my bad. What I use is a IDT7134. This is a 4k x 8bit DP-SRAM available in PDIP48.


Top
 Profile  
Reply with quote  
 Post subject: Re: DIY Rom Emulator?
PostPosted: Thu Feb 19, 2015 12:47 pm 
Offline

Joined: Wed Feb 12, 2014 1:39 am
Posts: 173
Location: Sweden
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


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 68 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: