Home Creators Posts Import Register Favorites Logout

Downloads

Content

Konami's K054539 chip is a PCM sound generator with digital signal processing (DSP) features. You have already seen it in three JT cores compatible with Konami's X-Men, Premier Soccer, and Run and Gun. This chip is not well understood and there is no faithful emulation available for it. Furrtek has published schematics for it, but it is a large chip and hard to understand.

The first beta for Premier Soccer came out with a lot of sound problems. The beta for Run'n Gun was a bit better, but if you played long enough you could eventually run into some noise. There were also some incorrect sounds in the X-Men game.

After 2 or 3 weeks working on it, I have been able to integrate some of the findings from Furrtek's schematics into my jt539 sound module. Now these three games have much better sound, without going into noise loops or playing wrong samples. One of the most interesting features implemented is routing a secondary sound chip through the K054539. This auxiliary input can be connected either to Yamaha chips, using Yamaha encoding, or to a general raw 16-bit stereo sound. Because the chip applies additional gain to the auxiliary signal internally, doing this correctly means that the balance of the different instruments and sound effects becomes correct. Other features that are now implemented correctly are stereo pan effects—including the disabling bit—and the different types of PCM encoding. All these enhancements are not available in emulation as of today.

There is one big aspect still missing, though: DSP effects. These seem to come in two flavours. They can use an external RAM memory, probably to implement echo effects. They can also work without it by feeding back the previous output, maybe for some sort of IIR filter. This is the most obscure feature of the chip and the biggest difference with real hardware at the moment. We will continue working on it, so stay tuned!

Other Updates

Apart from the JT539 sound chip work, the Neo Geo Pocket has got the focus with the new year. We are working on enabling game saves. This is actually needed in order to be able to finish some games, so it is an important feature. As game saves are not common on arcade games, we do not have experience setting this up and we need to learn a lot about how MiSTer and Analogue Pocket deal with this. This work will take another 1–2 weeks to have it ready on MiSTer and then probably another week to have it ready on the Analogue Pocket. Bear with us.

After making the CPU required for Caliber 50, the next item needed in that core is the PCM chip. One much easier than the K054539, though!

The CPS cores still need a bit of re-architecting to guarantee accurate speed under all conditions. This work will require about 1–2 weeks of effort and it may only affect a couple of games, but because this core is very important to the gaming scene we will do it.

About CPS3, I am still at the architecture design step, so I still cannot share anything concrete. The work done for Run'n Gun shows important limits of the SDRAM architecture of the MiSTer. Similarly, the issue I mentioned about CPS accuracy is related to SDRAM congestion too. So I am a bit worried about whether everything will run nicely or not. I need to explore this further.

Thanks to your continuous support, we have decided to hire a new team member to help with schematic extraction. This is a fundamental part of development and has brought up a lot of unknown features in games in the past. It is quite expensive, though, as converting a single PCB may take a full month. We always publish our schematics, so your funding is helping the preservation of actual hardware in the long run too.

Thanks!

Files

Comments

José Antonio cano regajo

Gracias, me ha gustado mucho la frase..la financiación contribuye también a la conservación real de las placas a largo plazo...sigue en esta dinámica , es la acertada y yo por lo menos os seguiré apoyando.

pubjoe

Thanks for the update. I joined your Patreon five years ago to support work on Capcom games so I'm always happy for focus to go on CPS. I can only speak for myself but I suspect many others feel the same. I've not even turned the MiSTer on for years 🤦🏻‍♂️ but I'm happy to add my small donation to your great work.

Mat Azel

thank you for chasing accuracy, this is indeed needed for future preservation of our arcade boards too :) welcome to the new team member!

ronalvel .

Gracias por el esfuerzo y seguir mejorando los cores !!!

Ian Guebert

Sorry to play the "I didn't listen/read" person here, but where does the beta file go for Analogue Pocket users?

Daniel Thomas Stack

Good Luck with the save states. Emulators have it easier when it comes to saving progress because its forcing all the tasks into a relatively serial path and resuming that is easier than getting multiple paths back to the same condition to resume where you left off. Consider that X-Men sound chip when in the instructions are you executing just to have the sound on the save resume correctly you described 3 potential branches just in the sound execution chip and that was simplifying it. A proper mid game save restores everything to the moment of the save for resumption. With the parallels in arcades its a lot of effort.

Ian Kester-Haney

I love these updates. I'm glad my membership goes towards preserving these titles. Keep up the good work.

ER

Really great update. Man all these arcade boards all had to do their own special weird things to make it extra hard to preserve decades later :). It's like every board developer was told "ignore all the other arcade boards, just come up with your own custom architecture, use whatever combination of chips you feel like using, make sure the combination has never been used before, and if possible find some unique dsp or ram or cpu no one else has ever used in the arcade and throw that in there also."

Retro Games Mania

After the last update performed yesterday ... the games of street figther II gran master is many others , are not displayed from the HDMI output . The strange thing is that on a 4/3 LCD monitor you can’t see anything, while before the update you could see it, while with a 2008 sharp LCD TV you can see it even after the update. Obviously the oldest monitor. Another thing, always after the update, even the video capture card does not hook up the video signal but only the audio. I don’t understand what happened.

Holger Lagerfeldt

Audio, an often overlooked part of emulation. Thanks for doing it.

JOTEGO

We have already responded to you individually, but we are glad to hear the situation has been resolved.

SegaSnatcher

Nice work, but maybe its just me, but the background music balance in X-Men seems drowned out compared to effects. Don't own an actual X-Men arcade, so I'm assuming this is expected.

Polyh3dron

IIRC the game in a cabinet is the same. So many arcade games from this era have terrible audio, particularly when it comes to mixing of PCM and synth audio.

Eric Wittliff

I like the last betta better. This one is missing more audio. It's missing all the mid-tones.

How Pop Music Works

The cabinets actually have lower effects. It’s something emulation has never gotten right. The original hardware has a great balance between the two/the music is fully audible the whole time. From Jotego’s work so far, it’s an internal channel/mixing issue. In MAME, for example, the individual channel(s) that are dedicated to sound effects are louder than they should be, and lowering the PCM channels as a whole doesn’t work because there are music channels in there as well.

How Pop Music Works

Hey Jotego. The recent Limited Run release didn’t fix any of the existing MAME sound issues, so you are still on track to have the most accurate core if you can crack it. The Limited Run still has: - Sound effects too loud/music too quiet - No reverb - Stage music cuts out abruptly instead of fading out when a boss appears. Added: I listened to the most recent core and sent you a DM with some thoughts.