The switched duty bug on clones - an evidence
Moderator: Moderators
The switched duty bug on clones - an evidence
I heard about it many times here, but never observed the problem in real life, although I saw really many Famiclones in the past, like hundreds. Now here is an evidence created by Eugene.S and HardWareMan. I think it is a good thing to have certain information about this posted on the forum, so if someone else became interested in this in the future, he'll be able to find it.
The bug is observed on UA6527P, HA6527P and some other early 2A03 clones, except for TA-03NP1-6527P. I often heard that the bug is common for newer clones, but in fact these chips are found in really old ones, newer were all-SoC (a glop or integrated CPU+PPU T1818P and UM6561) and didn't have the bug.
Here is a recording (53MB, FLAC) of songs from Bucky O'Hare and first level of Batman. It was done from a clone with one of the buggy chips, with good audio output, and SB X-Fi soundcard on PC, without any additional processing.
Here is a test program and recordings (8MB) that were made with 6 different chips.
The bug is observed on UA6527P, HA6527P and some other early 2A03 clones, except for TA-03NP1-6527P. I often heard that the bug is common for newer clones, but in fact these chips are found in really old ones, newer were all-SoC (a glop or integrated CPU+PPU T1818P and UM6561) and didn't have the bug.
Here is a recording (53MB, FLAC) of songs from Bucky O'Hare and first level of Batman. It was done from a clone with one of the buggy chips, with good audio output, and SB X-Fi soundcard on PC, without any additional processing.
Here is a test program and recordings (8MB) that were made with 6 different chips.
Last edited by Shiru on Tue Nov 08, 2011 2:44 am, edited 1 time in total.
Hey, it's pretty interesting to have an evidence, I already heard about the duty cycle swapping bug, but hearing tracks with swapped duty cycles is definitely more interesting.
Apparently, duty cycle 0 (87.5%) is emulated right, while 1 sounds like 2 (50%) and 2 sounds like 1 (75%), and 3 sounds like 1 anyways so you don't care if it's 25% or 75% (WHY Nindendo ?? They could have added one more duty cycle instead and it would increase the musical possibilities of the console !! Oh well...)
So yeah it's fun to hear the music with duty cycles swapped.
Is there an emulator that can optionally enable duty cycle swapping ?
Apparently, duty cycle 0 (87.5%) is emulated right, while 1 sounds like 2 (50%) and 2 sounds like 1 (75%), and 3 sounds like 1 anyways so you don't care if it's 25% or 75% (WHY Nindendo ?? They could have added one more duty cycle instead and it would increase the musical possibilities of the console !! Oh well...)
So yeah it's fun to hear the music with duty cycles swapped.
Is there an emulator that can optionally enable duty cycle swapping ?
Useless, lumbering half-wits don't scare us.
Well, in many games this swap is surprisingly unnoticeable. Many modern NES games switch duty cycles quickly during notes anyways, so this make the swap less noticeable than in old games where the just use plain notes of the same duty cycle for a whole song.
Where the swap the most noticeable is in Mega Man games and Mario games. In Mega Man games I find it actually makes sound effects better.
Where the swap the most noticeable is in Mega Man games and Mario games. In Mega Man games I find it actually makes sound effects better.
Useless, lumbering half-wits don't scare us.
That's too bad. For fun though I added an option to my own emulator to swap duty cycles on the fly. As I remember with the HandiFamiEight clone I had, SMB1 has odd sound effects with swapped duty cycles. I really don't understand how anyone could have missed that mistake. Maybe they knew it but didn't bother to fix it. It's a shame since I've heard the clones are basically exact clones otherwise.
Technically a game genie style device COULD detect writes to $4000 and $4004 and invert D6 and D7 on those writes.
But I find it kind of fun how they messed up, like if this was here to say it loud "I'm a pirated game".
It's not like this changed gameplay, or even music, significantly. The more noticeable part is sound effects in SMB and Mega Man as I've said.
But I find it kind of fun how they messed up, like if this was here to say it loud "I'm a pirated game".
It's not like this changed gameplay, or even music, significantly. The more noticeable part is sound effects in SMB and Mega Man as I've said.
Useless, lumbering half-wits don't scare us.
How would a Game Genie change writes to the APU? The data goes from A inside the CPU to the APU ports inside the CPU. It'd have to intercept the instrument data and change that before it gets into the CPU.
It'd be possible to "say it loud" more literally. Make a 1-bit PCM sample (not the same as 1-bit DPCM). Play it back with zeroes alternating rapidly between 50% (1/3) and 12.5% (2/3) and ones at 25%. If you can hear it, you're on a problematic clone. I'd make a demo myself, but the clones that have this problem also tend not to work with a PowerPak.Bregalad wrote:But I find it kind of fun how they messed up, like if this was here to say it loud "I'm a pirated game".
Does this one have that issue?
Gold Leopard King famiclone: http://www.goear.com/listen/5e9d115/int ... lk-unknown
Original PAL NES: http://www.goear.com/listen/b7dfd64/int ... es-unknown

(on top, the original NES. On the bottom this famiclone)
Actually I prefer the "happier" sound from the Famiclone
Gold Leopard King famiclone: http://www.goear.com/listen/5e9d115/int ... lk-unknown
Original PAL NES: http://www.goear.com/listen/b7dfd64/int ... es-unknown

(on top, the original NES. On the bottom this famiclone)
Actually I prefer the "happier" sound from the Famiclone