|
Post by Tom Maneiro on Jan 19, 2011 23:04:29 GMT -5
Why i would want to overclock my P4 oven into a nuclear plant anyway? In the GG code input screen, my adapter registers ~4 bad syncs per second, although the rate is quite higher in the startup sequence... Anyway, i'm thinking something: Offer a "i will enter my codes by hand" switch/mode, as a debugging aid or something...
|
|
oompa loompa
I AM THE GOVERNATOR
"Git 'Er Dun!"
Posts: 1,301
|
Post by oompa loompa on Jan 20, 2011 3:17:44 GMT -5
How many good syncs? Is it 0? 4 bad syncs per second is not good. You are suppose to have both good and bad syncs . If you have 0 good syncs, then there is something wrong with the circuit. Even entering the codes correctly will not work. The LAKABAJO needs to be perfectly synced to work.
|
|
|
Post by Tom Maneiro on Jan 20, 2011 14:19:24 GMT -5
Indeed, in most of the runs, the good syncs stay at zero While on some other runs, the good sync counter increases, but at a slower rate than the bad ones... But if start mashing buttons (A/B/C/Start, but not the D-pad), the good sync counter DOES increase... Maybe should i try spying on my parport? I will try to find a port sniffer that doesn't require some kustom expensive box... Scratch that, free parport sniffers totally screw up the sync counters. and even worse, they log NOTHING! Feel free to add this feature too: data logger
|
|
oompa loompa
I AM THE GOVERNATOR
"Git 'Er Dun!"
Posts: 1,301
|
Post by oompa loompa on Jan 20, 2011 15:43:35 GMT -5
Yeah man, your Flip-Flop circuit is broken. There is definitely a short somewhere. You are suppose to have good syncs . Zero good syncs means circuit is broken. A data logger is not going to help debug a broken circuit
|
|
|
Post by Tom Maneiro on Jan 20, 2011 16:32:34 GMT -5
OK, i've rechecked AGAIN (for 9000th time!) the damn cables: found a few of cold joints (and one broken wire), reworked a bit the PCB, rechecked continuity on the bastard 'LS74 (mine is an HD74LS74A, if anyone cares), and now... - The bad sync count no longer skyrockets. I'm still getting some bad syncs, but the number is MUCH, MUCH lower, and i'm getting truckloads of good syncs... - However, U/D still generates a lot of badsyncs. Since these go straight from the parport to the pad connector, we can't blame the flip-flop there... - The uploader now stalls at "Waiting for Game Genie...". Skipping the power detection, it stays at "Entering GG codez..."
|
|
oompa loompa
I AM THE GOVERNATOR
"Git 'Er Dun!"
Posts: 1,301
|
Post by oompa loompa on Jan 20, 2011 16:44:45 GMT -5
U/D is shorting out the flip flop circuit somewhere then because normally that's not suppose to happen When you skip power detection, make sure the GG is already booted up, and is at the code-input screen I guarantee you, you are super super close to getting homebrew working
|
|
|
Post by Mairtrus on Jan 20, 2011 16:58:58 GMT -5
mine is an HD74LS74A, if anyone cares I'm 99% sure that there's your problem. I had similar troubles when I used that flip-flop(HD74LS74AP, seems to be the same one), since the signals Clear and Preset are not inverted. Just bend (or cut) the pins 1,4,10 & 13.
|
|
|
Post by Tom Maneiro on Jan 20, 2011 17:35:06 GMT -5
Yup, forgot the extra "P" at the end. Blame Hitachi/Renesas? EDIT: Tried bending those pins... no changes at all uploader STILL stalls at the GG input screen (and eventually dies with a timing error). No changes in the good/bad sync counters (lots of good ones, a few bad ones, smash U/D for extra of fail syncs)
|
|
oompa loompa
I AM THE GOVERNATOR
"Git 'Er Dun!"
Posts: 1,301
|
Post by oompa loompa on Jan 20, 2011 17:59:54 GMT -5
I tell you, there is something that you are overlooking , and there still is a short somewhere. I think U/D might be shorting out Select from the joypad port
|
|
oompa loompa
I AM THE GOVERNATOR
"Git 'Er Dun!"
Posts: 1,301
|
Post by oompa loompa on Jan 21, 2011 2:32:25 GMT -5
Try this new version of LAKABAJO devster.monkeeh.com/sega/lakabajo/lakabajo.exe. I added one more thing to the test mode. Tell me what the last line in test mode says when you're in the Game Genie screen. For example: Console: ON , Good: 796, Bad: 0, Total: 796, FPS: 62.00, [BCDA] Post your results when you don't have U/D pressed, and then when you have U/D pressed . I also used Windows API to handle kepresses for test mode
|
|
|
Post by Tom Maneiro on Jan 21, 2011 11:12:53 GMT -5
Nice, a testing version A few trial runs pressing anything BUT U/D: Console: ON , Good: 79, Bad: 16, Total: 95, FPS: 4.00, [BCDC] Console: ON , Good: 138, Bad: 26, Total: 164, FPS: 16.00, [CDCD] Console: ON , Good: 77, Bad: 15, Total: 92, FPS: 4.00, [ABCD] ...and a few others using U/D Console: ON , Good: 83, Bad: 123, Total: 206, FPS: 30.00, [CACA] Console: ON , Good: 349, Bad: 280, Total: 629, FPS: 8.00, [ACAC] Console: ON , Good: 606, Bad: 391, Total: 997, FPS: 14.00, [ACAC] Hope this helps!
|
|
oompa loompa
I AM THE GOVERNATOR
"Git 'Er Dun!"
Posts: 1,301
|
Post by oompa loompa on Jan 21, 2011 13:32:25 GMT -5
Yes this does help The characters encapsulated in [....] tells me the sync order. Sync order has to constantly be: [ABCD], [BCDA], [CDAB], [DABC] to be working correctly. If it's something like [ACAC], [CACA], [BDBD], [DBDB], etc, then there's a short Aha this is not a program bug . Your circuit is shorted . Something is shorting your Flip-Flop circuit. The circuit is still working and toggling when you press U/D, but something's still not right. Recheck your circuit or do some rework. I don't know, but you also have quite a few bad sync to good sync ratio. A good circuit is the one I showed you "Console: ON , Good: 796, Bad: 0, Total: 796, FPS: 62.00, [BCDA]". I would say you would need 1 bad sync per 100 good syncs for a good working circuit
|
|
|
Post by Mairtrus on Jan 22, 2011 11:38:36 GMT -5
I know it's a bit late now, but here is the proofs that the hot-swapping is possible(I delayed a lot because the Vcc cable is cut constantly and I have to resolder it again...) The program running is my buggybuggybuggy cart dumper, but is still usefull for check the cart's header(click in the images for enlarge): The Sonic 2's header is here, but then, power off the GG, unplug the cart WITHOUT the GG, insert the new cart, and voilà Powering off the GG is really important, since (when powered) the GG seems to check when a new cartridge is inserted, and resets the console. Anyway, you need to insert the cartridge at the first attempt, or else... (I ignore why this happens) @devster: Is possible to make the uploader be a bit more flexible with the timing errors? Because, like 2/5 of the times, it crashes inmediatly after the SEGA screen starts. Or is because I'm using Sonic 2?
|
|
|
Post by Tom Maneiro on Jan 22, 2011 16:55:27 GMT -5
Yes this does help The characters encapsulated in [....] tells me the sync order. Sync order has to constantly be: [ABCD], [BCDA], [CDAB], [DABC] to be working correctly. If it's something like [ACAC], [CACA], [BDBD], [DBDB], etc, then there's a short Aha this is not a program bug . Your circuit is shorted . Something is shorting your Flip-Flop circuit. The circuit is still working and toggling when you press U/D, but something's still not right. Recheck your circuit or do some rework I also got lots of [CDCB], [DCAD] and friends (where only a single "letter" is out of the sequence) I'm starting to think that my HD74LS74AP are FUBAR or something... Will try finding a part from another manufacturer - i'm sure that i should have one or two soldered to any of my junk motherboards, or something... At least i was able to play a full Sonic act on the hardware testing with a good/bad sync ratio of 50:1 If not, well, board V3, here we go!
|
|
oompa loompa
I AM THE GOVERNATOR
"Git 'Er Dun!"
Posts: 1,301
|
Post by oompa loompa on Jan 22, 2011 17:38:02 GMT -5
CDCB or whatever with one repeating character means a bad sync If you're going to make a V3, I suggest you build the Flip Flop portion of the circuit first. Then test the sync with the test utility, while running any game, and see how many bad syncs you can get. And uhm, I wouldn't clean board with alcohol. A lot of the alcohols out there have impurities that can leave behind residues
|
|