Cartridge Slot

Discuss hardware-related topics, such as development cartridges, CopyNES, PowerPak, EPROMs, or whatever.

Moderators: B00daW, Moderators

lidnariq
Posts: 10677
Joined: Sun Apr 13, 2008 11:12 am
Location: Seattle

Re: Cartridge Slot

Post by lidnariq »

Memblers wrote:It would be, but the Game Genie does have some bugs [...] I actually made a build of ROM that fixes those bugs
Does it also restore the pulse sweep registers to power-on default, so that it doesn't do the weird thing with e.g. Megaman mumblemumble ?
I haven't yet tested blargg's bootloader that I put into it, not sure if I can duplicate his setup, so it's been put off until I write some PC-side software for it.
What's there to test? The original 256-byte bootloader schema seemed awfully bulletproof.
User avatar
Memblers
Site Admin
Posts: 3901
Joined: Mon Sep 20, 2004 6:04 am
Location: Indianapolis
Contact:

Re: Cartridge Slot

Post by Memblers »

lidnariq wrote:
Memblers wrote:It would be, but the Game Genie does have some bugs [...] I actually made a build of ROM that fixes those bugs
Does it also restore the pulse sweep registers to power-on default, so that it doesn't do the weird thing with e.g. Megaman mumblemumble ?
Yeah, I fixed that. I also changed $0D in the palette to $0F, though that hardly seems to affect anyone. I also shortened the time that it waits after it initializes the chip, I'm not sure why it waits so long, like 10 frames, it doesn't even touch the ASIC again until you press start (or rather, release start, in this version).
I haven't yet tested blargg's bootloader that I put into it, not sure if I can duplicate his setup, so it's been put off until I write some PC-side software for it.
What's there to test? The original 256-byte bootloader schema seemed awfully bulletproof.
The untested part is how best to determine whether to run the bootloader (which has no time-out or way to escape), or the Game Genie. Initially I wanted to use the break condition (transmit state opposite of idle), but I found out that's not universally supported among USB adapters. Using the CTS line would be ideal, but I'm having trouble sourcing cheap USB adapters that break out the flow control signals. I found one that I like, but I don't know where to get them now.. suppliers that sold it before now just have ones that only have TX and RX. Plus I know at least a small number of people have built adapters using NES controller cables, that don't have wiring for the extra signals. So the method I have in there now, which is completely untested, sets OUT0 high (so it repeatedly reads the A button if there's a controller) and waits for some time while checking D0 to see if it's state ever changes. When that times out, it runs the usual Game Genie program. So in theory, the PC-side program when you trigger an upload, would continually send a $55 byte or something and hope the NES sees the bits coming in, then would send the actual bootload program after it hears something back from the NES (was hoping the bootloader's CRC error response is enough). Or the user can press the A button during that time and hose everything up, but that's a small trade-off. There very little memory left to play with, I optimized the original program to barely fit all that in, and any additional optimizations will be hard-won.
User avatar
quentin.lamamy
Posts: 34
Joined: Sun Jul 01, 2012 7:48 am
Location: Lille (France)

Re: Cartridge Slot

Post by quentin.lamamy »

thenendo wrote: And simultaneously integrate the Game Genie functionality into the console. That would be cool.
I don't want tu use game genie so i need to use my own slot. But i'm lost, one says that A31721-ND works other say snot
User avatar
Memblers
Site Admin
Posts: 3901
Joined: Mon Sep 20, 2004 6:04 am
Location: Indianapolis
Contact:

Re: Cartridge Slot

Post by Memblers »

What I originally meant by bringing the Game Genie into this, is that you could remove the connector from the GG board and use it alone. It's 2.5mm pitch, while everything else is 2.54mm.

You said you bought one of the Digikey ones a while back, you can try it yourself by plugging a cart into it and use a multimeter to check to see if any adjacent pins shorted or not. In my experience, when it does short, it was always the pins nearest to the lockout chip.

The Digikey one is surprisingly safe. Everything from those cheap Yobo clones, to those ridiculously high-end $400-$500 NES clones are using 2.54mm pitch connectors.

edit: It does seem weird to me that I can make it short if I try, but during normal use, it seems to work fine. So the mixed-messages are understandable.
tepples
Posts: 22345
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: Cartridge Slot

Post by tepples »

Are these systems using a 2.54 mm pitch slot with or without the .7 mm cut out of the expansion area? The .7 mm compensates for much of the cumulative difference from one side to another, allowing PRG and CHR+CIC to be aligned separately. In theory, it can make shorting more difficult.
User avatar
Memblers
Site Admin
Posts: 3901
Joined: Mon Sep 20, 2004 6:04 am
Location: Indianapolis
Contact:

Re: Cartridge Slot

Post by Memblers »

tepples wrote:Are these systems using a 2.54 mm pitch slot with or without the .7 mm cut out of the expansion area? The .7 mm compensates for much of the cumulative difference from one side to another, allowing PRG and CHR+CIC to be aligned separately. In theory, it can make shorting more difficult.
I doubt it, for production if they were going to customize the body of the connector like that, I wouldn't think there would be much advantage to doing that vs just making it 2.5mm all around. I should note too, that I don't have any of these clone systems myself, I'm just going by what I've heard.

I've thought about getting a quote from a connector manufacturer about getting some made for some of the project ideas I've had, but I seriously doubt it would be economical without getting into some impossibly huge quantities.
qwertymodo
Posts: 775
Joined: Mon Jul 02, 2012 7:46 am

Re: Cartridge Slot

Post by qwertymodo »

Byuu tried to ask around for SNES expansion slot connectors and couldn't even get anyone to give him a quote. The only person I know of that's ever been successful with something like that is the guy that made the Retrode, though now that I say that, I'm not even 100% sure he actually did get a 2.5mm connector made, maybe he used a 2.54mm one. I know TE Connectivity makes a 2.54mm one the right size for SNES (overall slot size-wise, obviously it's still iffy getting the pitch lined up right, but you can do it if you're reeeeeally careful, and if you ignore the expansion pins, the normal carts line up pretty easily).
Post Reply