From 360a8e13c9072fa8624fef3914e273086bfc7130 Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Fri, 17 Mar 2017 22:55:31 +0900 Subject: forgot to add readme --- README.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..789e484 --- /dev/null +++ b/README.md @@ -0,0 +1,33 @@ +# Fmplayer (beta) +PC-98 FM driver emulation (very early version) + +## Current status: +* Supported formats: PMD, FMP(PLAY6) +* PMD: FM, SSG, Rhythm part supported; ADPCM, PPZ8 not supported yet +* FMP: FM, SSG, Rhythm, ADPCM, PPZ8, PDZF supported +* This is just a byproduct of reverse-engineering formats, and its emulation is much worse than PMDWin, WinFMP +* FM always generated in 55467Hz (closest integer to 7987200 / 144), SSG always generated in 249600Hz and downsampled with sinc filter (Never linear interpolates harmonics-rich signal like square wave) +* SSGEG, Hardware LFO not supported +* PPZ8: linear interpolation only (same as PMDWin/WinFMP, much better than original ppz8.com which only did nearest-neighbor interpolation) + +## Installation/Usage (not very usable yet) +### gtk +Uses gtk3, portaudio +``` +$ cd gtk +$ autoreconf -i +$ ./configure +$ make +$ ./fmplayer +``` +Reads drum sample from `$HOME/.local/share/fmplayer/ym2608_adpcm_rom.bin` (same format as MAME). +Currently needs `$HOME/.local/share/fmplayer/font.rom` to display titles/comments. + +### win32 +Uses MinGW-w64 to compile. +``` +$ cd win32/x86 +$ make +``` +Reads drum sample from the directory in which `fmplayer.exe` is placed. +Uses DirectSound (WinMM if there is no DirectSound) to output sound. This works on Windows 2000, so it is theoretically possible to run this on a real PC-98. (But it was too heavy for my PC-9821V12 which only has Pentium 120MHz) -- cgit v1.2.3