It is currently Mon Dec 18, 2017 7:57 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Tue Jul 08, 2014 2:58 pm 
Offline
User avatar

Joined: Thu Sep 07, 2006 1:08 pm
Posts: 549
Location: United States
I can't seem to find any information about the K053260 chip anywhere.

From what I know, it's a sample-based sound chip used by Konami that goes along the YM2151 sound chip in Asterix, Sunset Riders, Turtles in Time, and other arcade games from the same time period.

I'd like to know how many channels this contains and what quality samples it supports.

Anyone know where I can find this out?

_________________
Ruling the World One Bean™ at a Time...


Top
 Profile  
 
PostPosted: Tue Jul 08, 2014 3:49 pm 
Offline

Joined: Sun Apr 13, 2008 11:12 am
Posts: 6540
Location: Seattle
MAME's source has an implementation. Looks like four 8-bit DACs with some kind of compressed format feeding it.


Top
 Profile  
 
PostPosted: Wed Jul 09, 2014 2:54 pm 
Offline

Joined: Mon Sep 27, 2004 2:57 pm
Posts: 1248
A lot of arcade machines use an OKI chip for digital samples, which uses a 4-bit (I think) adpcm format; same as the .vox format. Without looking at the implementation, this could be the compression scheme.


Top
 Profile  
 
PostPosted: Sat Jul 12, 2014 9:39 am 
Offline
User avatar

Joined: Thu Sep 07, 2006 1:08 pm
Posts: 549
Location: United States
Thanks.

Those MAME pages came up, but I didn't know what I was looking at.

_________________
Ruling the World One Bean™ at a Time...


Top
 Profile  
 
PostPosted: Sat Jul 12, 2014 10:38 am 
Offline

Joined: Sun Apr 13, 2008 11:12 am
Posts: 6540
Location: Seattle
Jedi QuestMaster wrote:
Those MAME pages came up, but I didn't know what I was looking at.


http://mamedev.org/source/src/emu/sound/k053260.c.html wrote:
Code:
   39      k053260_channel             channels[4];
→ 4 channels
Quote:
Code:
  169                              if ( ppcm_data[i] > 127 )
  170                                  ppcm_data[i] = 127;
  171                              else
  172                                  if ( ppcm_data[i] < -128 )
  173                                      ppcm_data[i] = -128;
→ 8 bit DAC
Quote:
Code:
  361              case 7: /* volume is 7 bits. Convert to 8 bits now. */
[...]
  378          case 0x2c: /* pan */
  379              ic->channels[0].pan = v & 7;
  380              ic->channels[1].pan = ( v >> 3 ) & 7;
→ 7 bit volume control and 3 bits panning per channel

Various things I find odd:
1-the packed PCM (a more advanced DPCM than the NES uses, closer to conventional ADPCM) is signed but the raw PCM is unsigned. The IC probably converts the unsigned data to signed before volume and panning.
2-the panning code doesn't provide the ability to pan things hard left. It seems more likely to me that the IC doesn't provide the ability to pan things dead center


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: Shonumi and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group