Okay, so I got the k005289 barely working, but plays only single note. The problem is when setting to ofs8data16, it doesn't produce any sound at all. but when setting the cmd_reg8_data8. it sounded just fine. ofs8_data8 is much worse. It sounded just like reg8, but it only plays one channel and not the other one.
I basically added the hex-dump proms into the code to make the wavetables work.
Adding K007232 support to libvgm. (and other soundchips too)
Technical discussion about the VGM format, and all the software you need to handle VGM files.
Moderator: Staff
- Mao (RN22) Offline
- Posts: 288
- Joined: 2020-10-13, 15:06:37
- Location: on the K007232 chip.
- Contact:
Re: Adding K007232 support to libvgm. (and other soundchips too)
- Attachments
-
- bin.rar
- (1.77 MiB) Downloaded 29 times
To-Do list:
?
Current Status: Implementing soundchips.
Tempo: 105.95%
Pitch: +1.00
Better Call Mao!

Please, check my WIP list for more updates.
?
Current Status: Implementing soundchips.
Tempo: 105.95%
Pitch: +1.00
Better Call Mao!

Please, check my WIP list for more updates.
- Mao (RN22) Offline
- Posts: 288
- Joined: 2020-10-13, 15:06:37
- Location: on the K007232 chip.
- Contact:
Re: Adding K007232 support to libvgm. (and other soundchips too)
I got the 005289 working!!!
The embedded proms inside the code is basically a temporary fix.
The embedded proms inside the code is basically a temporary fix.
- Attachments
-
- bin.7z
- (1.59 MiB) Downloaded 44 times
To-Do list:
?
Current Status: Implementing soundchips.
Tempo: 105.95%
Pitch: +1.00
Better Call Mao!

Please, check my WIP list for more updates.
?
Current Status: Implementing soundchips.
Tempo: 105.95%
Pitch: +1.00
Better Call Mao!

Please, check my WIP list for more updates.
- Mao (RN22) Offline
- Posts: 288
- Joined: 2020-10-13, 15:06:37
- Location: on the K007232 chip.
- Contact:
Re: Adding K007232 support to libvgm. (and other soundchips too)
Update: K005289 is in PR, (as well as ICS2115 by cam900(MATRIX)).
To-Do list:
?
Current Status: Implementing soundchips.
Tempo: 105.95%
Pitch: +1.00
Better Call Mao!

Please, check my WIP list for more updates.
?
Current Status: Implementing soundchips.
Tempo: 105.95%
Pitch: +1.00
Better Call Mao!

Please, check my WIP list for more updates.
- Mao (RN22) Offline
- Posts: 288
- Joined: 2020-10-13, 15:06:37
- Location: on the K007232 chip.
- Contact:
Re: Adding K007232 support to libvgm. (and other soundchips too)
Update: MSM5232 is fully implemented in libvgm.
ngl, this chip is quite easy to implement, except the capacitor farads tho.
ngl, this chip is quite easy to implement, except the capacitor farads tho.
- Attachments
-
- bin.rar
- (1.8 MiB) Downloaded 76 times
To-Do list:
?
Current Status: Implementing soundchips.
Tempo: 105.95%
Pitch: +1.00
Better Call Mao!

Please, check my WIP list for more updates.
?
Current Status: Implementing soundchips.
Tempo: 105.95%
Pitch: +1.00
Better Call Mao!

Please, check my WIP list for more updates.
- Mao (RN22) Offline
- Posts: 288
- Joined: 2020-10-13, 15:06:37
- Location: on the K007232 chip.
- Contact:
Re: Adding K007232 support to libvgm. (and other soundchips too)
so, about BSMT2K implementation. some of the vgm logs were having earrape when playing it, some were low on volume. I couldn't figure out why.
- Attachments
-
- bin.rar
- (4.47 MiB) Downloaded 64 times
To-Do list:
?
Current Status: Implementing soundchips.
Tempo: 105.95%
Pitch: +1.00
Better Call Mao!

Please, check my WIP list for more updates.
?
Current Status: Implementing soundchips.
Tempo: 105.95%
Pitch: +1.00
Better Call Mao!

Please, check my WIP list for more updates.
- Mao (RN22) Offline
- Posts: 288
- Joined: 2020-10-13, 15:06:37
- Location: on the K007232 chip.
- Contact:
Re: Adding K007232 support to libvgm. (and other soundchips too)
Update: BSMT2000 playback is now fixed!! thanks a lot cam900 (MATRIX) for the interpolation fix! but only there are few problems like Tattoo Assassins log which the samples are not playing properly since it uses 11 voice channels instead of 12.
- Attachments
-
- bin.rar
- (4.64 MiB) Downloaded 68 times
To-Do list:
?
Current Status: Implementing soundchips.
Tempo: 105.95%
Pitch: +1.00
Better Call Mao!

Please, check my WIP list for more updates.
?
Current Status: Implementing soundchips.
Tempo: 105.95%
Pitch: +1.00
Better Call Mao!

Please, check my WIP list for more updates.
- yoshi200213 Offline
- Posts: 32
- Joined: 2025-01-18, 0:58:16
Re: Adding K007232 support to libvgm. (and other soundchips too)
Can you please working for DMA-driven DAC support in libvgm
- Mao (RN22) Offline
- Posts: 288
- Joined: 2020-10-13, 15:06:37
- Location: on the K007232 chip.
- Contact:
Re: Adding K007232 support to libvgm. (and other soundchips too)
As for DMA-driven dac, It's just basically a ordinary dac that uses cpu to play the sample. I think you can log or stream dma dacs using pwm. e.g. mortal kombat 2 uses dma-dac to play the music, but they're only just a bunchs of cutted musics based on the source code that I have.yoshi200213 wrote: ↑2025-06-04, 20:45:09 Can you please working for DMA-driven DAC support in libvgm
To-Do list:
?
Current Status: Implementing soundchips.
Tempo: 105.95%
Pitch: +1.00
Better Call Mao!

Please, check my WIP list for more updates.
?
Current Status: Implementing soundchips.
Tempo: 105.95%
Pitch: +1.00
Better Call Mao!

Please, check my WIP list for more updates.
- Mao (RN22) Offline
- Posts: 288
- Joined: 2020-10-13, 15:06:37
- Location: on the K007232 chip.
- Contact:
Re: Adding K007232 support to libvgm. (and other soundchips too)
Here's some example on one of the bgms in MKII from the source code. To play this, use Audacity by selecting Import -> Raw Data. then choose detect.yoshi200213 wrote: ↑2025-06-04, 20:45:09 Can you please working for DMA-driven DAC support in libvgm
- Attachments
-
- SNDS.rar
- (832.38 KiB) Downloaded 21 times
To-Do list:
?
Current Status: Implementing soundchips.
Tempo: 105.95%
Pitch: +1.00
Better Call Mao!

Please, check my WIP list for more updates.
?
Current Status: Implementing soundchips.
Tempo: 105.95%
Pitch: +1.00
Better Call Mao!

Please, check my WIP list for more updates.