What's new
Well, good to know for the future :)

Programmed the GAL and Espgaluda's been up and running for about half an hour now. Took a run through the first two stages, and it's been on attract ever since without issue.

Bunch of stuff to do today and get caught up with for other folks, so I'm not sure if I'll get to Ketsui today too, but hopefully!!
 
Espgaluda runs perfectly with the new gal.

Ketsui now doesn't crash with the new gal (but I can't select Trap mode, right?). But the audio is super distorted. Put back the old gal and I've realized that audio is distorted only in normal Ketsui, but perfect in Trap mode. So one step forward, and one step back?
 
Yes, the new GAL removes the input for the jumper. What I guess is happening is that the input is not correctly pulled up, and the game randomly switches between the top and bottom half of the EPROM. For Espgaluda it crashes as soon as it happens, as the second half is just $FFFF, for Ketsui it crashes as soon as there is a difference between Normal and Trap. If you have a scope you could trace the highest address line for noise.

I double checked the data sheet, and it doesn't look like the pull up is a programmable option that could be different depending on which programmer you use. You could verify the voltage across the GAL, in case it drops too much as system load increases. Though I expect you've got a better power supply than me, and voltage drops would probably cause bigger problems. I don't think it is a GAL quality or "fake chip" problem either if you bought from Digikey.

If you want the jumper to work you could try the pull-up resistor mentioned above. Otherwise, does anyone who has done this for longer have any idea? If the external pull up resistors work I can integrate them into the layout, so people can populate them if necessary.

The Trap version of Ketsui uses exactly the same sound EPROMs, and the bus configuration doesn't change. I assume you tried cleaning contacts, wiggle the cartridge?
 
The Trap version of Ketsui uses exactly the same sound EPROMs, and the bus configuration doesn't change. I assume you tried cleaning contacts, wiggle the cartridge?
I think it was an insertion issue. Like I just happened to reinsert it wrong only when on normal Ketsui a few times in a row last night but perfectly for each Trap attempt. Today I booted it up in trap, then swapped the jumper over without removing the PCB and everything works fine sound-wise. Still crashes of course. Ha.


To understand fully regarding the resistor: if I put the pull-up resistor on while using the new GAL it should force it into trap instead of standard? And at that point I'd have to use the resistor to swap back and forth?
 
No, the new GAL is hardcoded to use the lower half of the EPROM:
Code:
PA20_I = PA20;
PA21_I = 'b'0; <===
If you changed that to
Code:
PA21_I = 'b'1; <===
and made a new GAL it would force the upper half.

To make the jumper work you need the original GAL. If the resistor fixes the problem you can use the jumper (or a small switch) to switch between versions.
To test, you need to open the jumper, and connect pin 1 of the jumper (the one that is NOT connected to ground) or pin 8 of the GAL with a pull-up resistor to +5V.
 
To make the jumper work you need the original GAL. If the resistor fixes the problem you can use the jumper (or a small switch) to switch between versions.
Got it. Original gal, add resistor, hopefully everything works as expected originally.

I will give it a shot in a little bit here.

Thank you for all your help getting these up and running. Not sure why I'm having issues where others aren't, but I'm glad there seems to be a light at the end of the tunnel!!
 
Basically what you want to achieve is this:
511568b6ce395f1b40000000.jpg

(https://learn.sparkfun.com/tutorials/pull-up-resistors/all if the link fails.)
 
Would a modified plexi work? Has somebody tried it and also has laser cut files for modified plexi? thx
 
So I finally got around to putting my PCBs together. Ketsui and Espgaluda work fine. I am having trouble with DDP. Basically it goes to the PGM test menu and won't load the game. I have tried burning both ddojbl and DOJDUAL P1 ROMs, and I've tried both PGM_RG_U5_DDP and PGM_RG_U5 using a combination of jumpers and no dice.
 
So I finally got around to putting my PCBs together. Ketsui and Espgaluda work fine. I am having trouble with DDP. Basically it goes to the PGM test menu and won't load the game. I have tried burning both ddojbl and DOJDUAL P1 ROMs, and I've tried both PGM_RG_U5_DDP and PGM_RG_U5 using a combination of jumpers and no dice.
Did you burn the DDP P1 ROM as it is prepared by my script? The normal Mame ROM is encrypted, as it is used on PCBs that pass the M68k bus through the ASIC.
 
No, both versions play fine for me. But a lot of folks complain about A crashing on stage 5 I think. Is that where it crashed? Mostly people complain about A/vanilla crashing with the old AMB bootlegs. it’s not due to fluffy’s cart in other words, it’s the rom.

Mine works fine. No idea if anyone’s figured out what’s up, maybe it’s a motherboard revision thing or I’m just really lucky
 
Last edited:
Back
Top