PGM single game PCB assembly and troubleshooting

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Fluffy wrote:

      Ah, sorry, you'll need WinCUPL:
      microchip.com/design-centers/f…plds/pld-design-resources
      I'll make a JED file a bit later.
      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!!
      On the hunt for: Dinoking, Mushiking, Love & Berry, Egret 29, and an SNK SC-25.

      Shameless plug: Rewrite's Recaps - Your monitor and PSU recapping service center
    • 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?
      On the hunt for: Dinoking, Mushiking, Love & Berry, Egret 29, and an SNK SC-25.

      Shameless plug: Rewrite's Recaps - Your monitor and PSU recapping service center
    • 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?
    • New

      Fluffy wrote:

      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?
      On the hunt for: Dinoking, Mushiking, Love & Berry, Egret 29, and an SNK SC-25.

      Shameless plug: Rewrite's Recaps - Your monitor and PSU recapping service center
    • New

      No, the new GAL is hardcoded to use the lower half of the EPROM:

      Source Code

      1. PA20_I = PA20;
      2. PA21_I = 'b'0; <===
      If you changed that to

      Source Code

      1. 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.
    • New

      Fluffy wrote:

      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!!
      On the hunt for: Dinoking, Mushiking, Love & Berry, Egret 29, and an SNK SC-25.

      Shameless plug: Rewrite's Recaps - Your monitor and PSU recapping service center