VGM Player w/multi chip support

327 views
Skip to first unread message

Marco Maccaferri

unread,
Feb 13, 2021, 3:20:02 AM2/13/21
to RC2014-Z80
Hello,

To test the sound drivers for my P8X180 computer I found the vgmplayer
from the SN76489 sound card by J.B. Langston and partially rewrote it to
adapt to my needs. While doing that I also added support for dual-chip
music supporting both SN76489 and AY-3-8910 chips.

Attached is the source code, the CP/M binary file (rename .BIN to .COM)
and some example music downloaded from https://vgmrips.net/packs/

This player doesn't require the TMS9918 card and doesn't use interrupts,
just delay loops. The delays should be trimmed for a standard RC2014
running at 7.3728 MHz however I haven't done any math, they just sound
good enough for me. Z180 or different clock speeds needs to adjust the
delay accordingly.

Beware that there are very few controls and VGM files can be very big,
the player is limited to the TPA area size (54-55k depending on the CP/M
instance) and should work with up to version 1.51 files (not much tested).

Enjoy!

Best regards,
Marco
VGMPLAY.ZIP

Wesley Isacks

unread,
Feb 14, 2021, 3:34:48 PM2/14/21
to RC2014-Z80
This is fantastic! I've been looking for something just like this.
-Wesley

Phillip Summers

unread,
Mar 31, 2021, 10:02:18 AM3/31/21
to RC2014-Z80
Hi Marco, 

I'm attempting to build a sound card for my Retrobrew ECB computer. with dual SN76489 + YM2612

This worked great for testing the SN76489 section.

Thank you!

Marco Maccaferri

unread,
Mar 31, 2021, 11:06:49 AM3/31/21
to rc201...@googlegroups.com
Il 31/03/21 16:02, Phillip Summers ha scritto:


> I'm attempting to build a sound card for my Retrobrew ECB computer.
> with dual SN76489 + YM2612
>
> This worked great for testing the SN76489 section.

Very good, thank you.

Best regards,
Marco

Phillip Summers

unread,
Nov 7, 2021, 9:48:11 AM11/7/21
to RC2014-Z80
Reply all
Reply to author
Forward
0 new messages