Can a QL do donkey Kong sounds?

Anything QL Software or Programming Related.
Post Reply
User avatar
Jbizzel
Chuggy Microdrive
Posts: 67
Joined: Mon Jun 19, 2023 9:56 pm
Contact:

Can a QL do donkey Kong sounds?

Post by Jbizzel »

Can a bbql make these sounds?

I understand the donkey Kong arcade machine uses the same chip as the QL to drive the sound, so maybe this is possible?

https://youtu.be/Pp2aMs38ERY?feature=shared[/youtube]


__________________


And beyond it, the deep blue air, that shows
Nothing, and is nowhere, and is endless.

https://jbizzel.itch.io/
Derek_Stewart
Font of All Knowledge
Posts: 3975
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: Can a QL do donkey Kong sounds?

Post by Derek_Stewart »

Just need the source code to the game and port it to the QL.


Regards,

Derek
User avatar
Andrew
Aurora
Posts: 796
Joined: Tue Jul 17, 2018 9:10 pm

Re: Can a QL do donkey Kong sounds?

Post by Andrew »

Jbizzel wrote: Sun Mar 10, 2024 1:01 pm Can a bbql make these sounds?

I understand the donkey Kong arcade machine uses the same chip as the QL to drive the sound, so maybe this is possible?
I'm pretty sure it's not possible. This is what I found on a forum about the Donkey Kong arcade machine sound:

Kef Schecter
Follow
video game history enthusiast and retrogamer3y
Wow, I was practically born to answer this question. A few years ago I reverse-engineered a good chunk of Donkey Kong’s sound program, you see. https://github.com/furrykef/dkdasm/blob ... ng-snd.asm

Donkey Kong’s music and a few sound effects are produced using an MCS-48 chip, specifically a clone of an Intel 8035. This is a CPU much like any other, though it is a very simple one—what we call a microcontroller. The program for this chip takes as input what sounds to play, and it generates the waveform in real time as output.

There’s just one problem with outputting a waveform that way: it hogs the CPU. This meant that the program could only handle two sound channels at a time. Because of this, and possibly other limitations, they added a few TTL circuits to produce additional sound effects, like the sound of DK beating his chest or the sound of Mario jumping. By TTL, I mean these sound effects are produced using pure logic gates, like AND and OR gates. No doubt this required a lot of chips, and indeed, you’ll see a lot of chips on the motherboard. (If you ever looked at the game’s specs in MAME and wondered what “discrete sound” meant, it’s talking about this.)

Donkey Kong Jr.’s sound hardware is the same as Donkey Kong’s, except different TTL circuits are used in order to produce different sound effects. Mario Bros. also uses much the same hardware, except it uses a different, faster MCS-48 chip and its TTL sounds are different yet again.


Derek_Stewart
Font of All Knowledge
Posts: 3975
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: Can a QL do donkey Kong sounds?

Post by Derek_Stewart »

You could look at this web site:https://mrcook.uk/arcade-game-source-code


The challenge would be to convert the Z80, 6502 or other CPU to 68000. Then make run on a QL.


Regards,

Derek
Post Reply