Opened 14 years ago

Closed 14 years ago

Last modified 5 years ago

#9109 closed patch

LOOM: Sound player for PC-Engine

Reported by: SF/tobigun Owned by: Kirben
Priority: normal Component: Engine: SCUMM
Version: Keywords:
Cc: Game: Loom


Now that the Loom PC-Engine is finally playable it still misses the distaff and some other sounds. This patch adds support for them.

It is not a final version, rather a preview, but at least it works.

The player uses a stripped down version of the APU/PSG emulation code (psg.h/psg.cpp) from the mednafen PC-Engine emulator. psg.cpp depends on Blip_Buffer by Shay Green for sound interpolation. I think it is possible to replace it with classes from ScummVM. Same applies to my ringbuffer class.

The sounds are hardcoded as they are not stored inside a resource.

Ticket imported from: #2898231. Ticket imported from: patches/1214.

Attachments (1)

pce_player.patch (29.6 KB ) - added by SF/tobigun 14 years ago.
PC-Engine sound player (version 2)

Download all attachments as: .zip

Change History (6)

comment:1 by SF/tobigun, 14 years ago

I have updated the sound player a bit: - the HuC6280 sound chip emulator has been changed to the one used in MESS based on code from Charles MacDonald. This emulator is much smaller and does not depend on other libraries such as the blip_buffer. Everything that is not used by Loom PCE has been removed. The remains have been moved into the sound player files. - the blip_buffer (due to the new emulator) and ringbuffer dependencies have been removed. - the player now consists only of the two files player_pce.cpp/.h.

by SF/tobigun, 14 years ago

Attachment: pce_player.patch added

PC-Engine sound player (version 2)

comment:2 by SF/kaminari, 14 years ago

You might eventually have a look at the HuC6230/6280 source code from Ootake, one of the best PC Engine emulators available (especially in the sound department). The source files are packed within the main archive.

comment:3 by Kirben, 14 years ago

Owner: set to Kirben
Status: newclosed

comment:4 by Kirben, 14 years ago

Thanks, I added patch to ScummVM SVN.

The PCE version of Loom is complete now, thanks to your great work.

comment:5 by digitall, 5 years ago

Component: Engine: SCUMM
Game: Loom
Note: See TracTickets for help on using tickets.