It is currently Wed Aug 16, 2017 6:55 pm

All times are UTC - 7 hours



Forum rules


1. NO BLATANT PIRACY. This includes reproducing homebrew less than 10 years old, with the exception of free software.
2. No advertising your reproductions, with the exception of free software.
3. Be nice. See RFC 1855 if you aren't sure what this means.



Post new topic Reply to topic  [ 51 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
PostPosted: Sun Mar 06, 2016 2:39 pm 
Online

Joined: Sun Apr 13, 2008 11:12 am
Posts: 6026
Location: Seattle
How expensive are random electronic components to you? I might be able to figure out something to implement the mirroring control using programmable logic (GAL20V8, 22V10, or maybe random 74xx parts), but whether that's worthwhile depends on what you have easy and affordable access to.


Top
 Profile  
 
PostPosted: Sun Mar 06, 2016 3:23 pm 
Offline
User avatar

Joined: Sat Jul 04, 2015 9:58 am
Posts: 470
Location: -29.794229 -55.795374
It depends of the parts.
Most stuff I have made are from parts I got from old peripherals or even junk.
Most parts are expensive here, since where I live is essentially a rural area.
The PAL chips need to be programmed, right? How hard is to do it?
I ask because for writting the flash ROMs I use an old PC motherboard.
Could this be used to write the PAL chips?
Maybe the best way would be with random 74xx logic.
If you help me, I'll be very happy!
I just took a look at the docs and can't even imagine how that stuff could be implemented!
Thanks in advance!


Top
 Profile  
 
PostPosted: Sun Mar 06, 2016 4:54 pm 
Online

Joined: Sun Apr 13, 2008 11:12 am
Posts: 6026
Location: Seattle
Fisher wrote:
The PAL chips need to be programmed, right? How hard is to do it?
It's not too hard, but you would probably need to build special hardware for it, e.g. http://www.etc.tuiasi.ro/cin/Downloads/ ... atics.html
Quote:
I ask because for writting the flash ROMs I use an old PC motherboard.
Could this be used to write the PAL chips?
Probably not; most flash ROMs only require a single voltage to program, but GALs always required multiple.
Quote:
Maybe the best way would be with random 74xx logic.
Uh, well, try this, I guess:
Attachment:
mmc1-mirroring-control.png
mmc1-mirroring-control.png [ 2.19 KiB | Viewed 1702 times ]


Top
 Profile  
 
PostPosted: Mon Mar 07, 2016 3:52 am 
Offline
User avatar

Joined: Sat Jul 04, 2015 9:58 am
Posts: 470
Location: -29.794229 -55.795374
Chip hunting season!! :lol:
As soon as I have some results I'll post here, as usual.
Many thanks for now!!

@Tepples:
Sorry. I've read the manual, but I just could not diferentiate traces from dots. :roll:
Looks like I need to train my ears at least to know who is who.
Anyways, I would like thank you, for this awesome program!!


Top
 Profile  
 
PostPosted: Mon Mar 07, 2016 12:32 pm 
Online

Joined: Sun Apr 13, 2008 11:12 am
Posts: 6026
Location: Seattle
As far as availability goes, there's a lot of available substitutions.

You can replace the 4002/74'4002 with a 74'138, 74'139, 74'23, or 74'25.
You can replace the the 74'164 with a 74'96, 74'198, 74'199, 74'299, &c
You can replace the 74'153 with a 74'253, 74'151, 74'153, &c.

I don't know whether mixing technologies from radically different eras (e.g. 74F with 74ACT) will work.


Top
 Profile  
 
PostPosted: Fri Mar 11, 2016 6:02 pm 
Offline
User avatar

Joined: Sat Jul 04, 2015 9:58 am
Posts: 470
Location: -29.794229 -55.795374
Well, I just can't get the 74'164 or similar.
Seems to not be much used on old PC motherboards.
I thought in trying to make something similar witn an 74'374 or maybe 2x 74'175, but the complexity of the circuit would be greater.
I'll try to order from Aliexpress... let's see if I can get the things before 3 months...

Anyway, looks like I've found another MMC3 clone.
I'll open another thread to discuss this.
Thanks for now. I'll try to build this as soon as I get all components.


Top
 Profile  
 
PostPosted: Fri Mar 11, 2016 6:19 pm 
Online

Joined: Sun Apr 13, 2008 11:12 am
Posts: 6026
Location: Seattle
I think we could probably get away with using an ordinary D-register (e.g. three 74'74, a 74'176, a 74'374, &c) as long as we have at least five bits of storage.


Top
 Profile  
 
PostPosted: Fri Apr 08, 2016 9:34 am 
Offline
User avatar

Joined: Sat Jul 04, 2015 9:58 am
Posts: 470
Location: -29.794229 -55.795374
I'm worried about putting too many ICs on this.
First, because I'm doing a "spider" kind of assembly, second because I'm not sure of how many ICs can be powered safely on a NES cartridge?
I already have the ROM, 2SRAMs, the MMC1's clone, the decoding and protection circuit.
It's 6 ICs!!
If I add 6 more: 4x 74'74, a 74'138 and a 74'153 I'll have a very nice rat's nest and a cartridge that may consume too much power.
I've ried an 74'374 without success, it may be deffective... I just plugged the outputs on the inputs, plugging the last output on the first input. Is this idea correct?
Can somehing like this be made with an 74'373? I think Ican get one of these from an old NES that should be working...


Top
 Profile  
 
PostPosted: Fri Apr 08, 2016 10:32 am 
Online

Joined: Sun Apr 13, 2008 11:12 am
Posts: 6026
Location: Seattle
Fisher wrote:
I'm not sure of how many ICs can be powered safely on a NES cartridge?
Depends on the specific technology of the 74xxx parts you're using. 74HC or 74AC you should be able to use a whole bunch. Plain no-letter variants, not so many.

Note that GALs are already much more thirsty than discrete logic, and some boards use multiple GALs or many many 74xx ICs, so I think this particular issue is unlikely to come up.

The standard front-loading US NES has a 1A 5V power supply, and uses 350mA of that for the CPU/PPU/&c. Obviously whatever you're using could vary...

Quote:
I've tried an 74'374 without success, it may be deffective... I just plugged the outputs on the inputs, plugging the last output on the first input. Is this idea correct?
Uh, maybe? Plugging 2D into 1Q, 3D into 2Q, &c, to make a shift register? That should work.
Quote:
Can somehing like this be made with an 74'373? I think Ican get one of these from an old NES that should be working...
No; the '373 is a transparent latch; when its +LATCH signal is high the value will just shoot right through all eight bits. This really needs registers with their clock input.


Top
 Profile  
 
PostPosted: Fri Apr 15, 2016 8:48 am 
Offline
User avatar

Joined: Sat Jul 04, 2015 9:58 am
Posts: 470
Location: -29.794229 -55.795374
WOW!! That's quite a lot of random logic!! :o
I finally could draw the schematics of what I intend to do.
I'm trying Eagle, if you know a better/easier software that's Linux frienly please let me know.

Could this possibly work?
Attachment:
mmc mirror.png
mmc mirror.png [ 12.45 KiB | Viewed 1488 times ]

Looks like a little messed up.
I'm not sure who would be the A output, so I'm throwing a little guess...
I really like Lidnariq's design, it's a lot cleaner!!
Any chance I could get some free sample ICs from any manufacturer?


Top
 Profile  
 
PostPosted: Fri Apr 15, 2016 11:14 am 
Online

Joined: Sun Apr 13, 2008 11:12 am
Posts: 6026
Location: Seattle
'374 should always be enabled.
CPU D0 should go to '374 1D.

You don't care about faked shift register after the two bits that go into the multiplexer. Since it's a register, you could even safely leave 6D..8D floating (but you should probably tie them to ground or +5V)

Otherwise looks right.
---

I keep on trying to like KiCAD, but I keep on finding it unusable. GEDA is ... better, but I still like Eagle more. Xfig and Xcircuit are ancient passable solution for schematics, but don't do layout at all. LTSpice (via wine) won't do layout, but does let you simulate things.


You're extremely unlikely to get free samples of any legacy part (like 74xx). You might be able to scavenge a GAL for free, though... but you'll have to find/borrow a programmer.


Top
 Profile  
 
PostPosted: Thu Jul 28, 2016 8:11 am 
Offline
User avatar

Joined: Sat Jul 04, 2015 9:58 am
Posts: 470
Location: -29.794229 -55.795374
Back on this old topic again!!
Made the corrections as you told.
I'm having trouble drawing the PCB, it don't show the Vcc connection on the ICs.
What am I missing?
Attachment:
File comment: New schematics.
edited mmc1 mirror.png
edited mmc1 mirror.png [ 12.63 KiB | Viewed 1320 times ]


Top
 Profile  
 
PostPosted: Thu Jul 28, 2016 10:10 am 
Online

Joined: Sun Apr 13, 2008 11:12 am
Posts: 6026
Location: Seattle
Don't tie the '374 outputs to ground: leave them floating.

This looks like Eagle? If so, the 74xx ICs should have an implicit connection to "Vcc" and "Gnd" nets, and their power pins should already be connected to each other.


Top
 Profile  
 
PostPosted: Tue Sep 06, 2016 6:10 pm 
Offline
User avatar

Joined: Sat Jul 04, 2015 9:58 am
Posts: 470
Location: -29.794229 -55.795374
Sorry for the long delay, but this project is driving me nuts!!
I've built the circuit over 10 times and I always find to have one or two defective parts!! :cry:
Is there a way to know if a game uses this kind of mirroring switching before trying it on the real hardware?
I've tried Megaman 2 and some graphics appear glitched on the intro :-(
I think this may be the same cause.
The idea of buying a cheap JRPG to do this mod is starting to appear good...
Anyway, thanks for the support, you're great!!


Top
 Profile  
 
PostPosted: Tue Sep 06, 2016 6:48 pm 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 18790
Location: NE Indiana, USA (NTSC)
You can assume that anything using SGROM uses mirroring switching, as it's the only significant difference in overall capability compared to UNROM or BN/AOROM.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 51 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 2 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:  
Powered by phpBB® Forum Software © phpBB Group