MSX Audio BIOS v1.2 - Beta testers wanted

ページ 1/2
| 2

By sd_snatcher

Prophet (3642)

sd_snatcher さんの画像

18-10-2007, 03:14

Hi all!

I have some news I hope you like. I'm working on a new version of the MSX-Audio BIOS and I now need some beta testers.

What's new:
1) Support for the E6h system-timer (aka Turbo-R timer). Now you'll be able to use the MSX-Audio in R800 mode, just like the MSX-Music;
2) Separate BIOS versions for the FS-CA1, NMS-1205 and HX-MU900. The HX-MU900 is the generic and most standard one. The other versions have specific portions of code to work-around their out-of-standard maker choices:
2.1) NMS-1205 proprietary mute-switch;
2.2) FS-CA1 proprietary mute-switch;
2.3) More elegant work-around than Panasonic did to "fix" their mistake on the MK-port pinout of the FS-CA1;

Note: The HX-MU900 has a standard mute-switch (SP-OFF based);

3) NMS-1160 Music Keyboard support;
4) Music Keyboard auto-detection between the HX-MU901 (49 keys) and NMS-1160 (61 keys);

The auto-detection routine will discover the Music Keyboard type and change the keymap accordingly. To use it:

  • On a 49 keys keyboard: just press the last key.
  • On a 61 keys keyboard: just slide your finger on at least 5 consecutive white keys in any direction.

I myself don't have any of those two music keyboards, so I'm pretty much coding in the dark, based on the NMS-1205 and HX-MU901 service manuals (tks, HansO!).

I believe this BIOS should also work fine on a FS-A1WSX/WX on 5MHz mode even without the system-timer. I'm not sure if it will work on any MSX with a 7MHz Z80 without a system-timer. Please note that the system-timer is detected without requiring a MSX Turbo-R. This means anyone can fit a homemade system-timer on a Z80 turbo MSX to get its benefits.

I tested my BIOS on a expanded HX-MU900 (256KB SampleRAM) connected to two *real hardware* configurations:

1) Panasonic FS-A1ST (512KB RAM)
2) Gradiente Expert 1.1 (64KB RAM) + floppy interface (with Adriano's excellent Fast!ROM)

What needs to be tested:

1) Music keyboards HX-MU900 and NMS-1160 (*1)
1.2) Hot swapping between music-keyboards. Auto-detection must work (just follow the procedures described above)
2) Extensive tests on BASIC musics with as many configurations as possible
3) Turbo Z80 MSXzes (either 5MHz or 7MHz)

*1: The HX-MU901 cannot be directly connected to a NMS-1205 without an adapter. The same applies to the NMS-1160 to be connected to either the HX-M900 or the FS-CA1. Those adapters are simple to build and I can publish its schematics if anybody wants.

Now, the files:

http://frs.badcoffee.info/files/MSXAUDIO12_NMS-1205.ROM.zip
http://frs.badcoffee.info/files/MSXAUDIO12_HX-MU900.ROM.zip

The FS-CA1 version still have some bugs I'll need to iron out before releasing it.

Best regards,
FRS

ログイン/登録して投稿

By msd

Paragon (1510)

msd さんの画像

18-10-2007, 09:49

I think you still have another problem with z80 running on other freq's than 3.54Mhz. The 7.16Mhz kits also put 7.16Mhz on the bus. This freq is than used by the msx-audio chip te generate sound. The opl4 is the only sound chip used on msx which has his own osc and doesn't suffer from distorted sound if the bus freq changes. Or did I mis something?

By sd_snatcher

Prophet (3642)

sd_snatcher さんの画像

18-10-2007, 16:09

I was thinking about native turbo machines, like the FS-A1WSX/WX or the Expert3. In those machines there's no such problem. For the 7.16MHz kits, there's nothing I can do. It's a hardware problem. PSG and YM2413 probably will also be distorted on those machines.

By Yukio

Paragon (1540)

Yukio さんの画像

18-10-2007, 18:16

What's this?
Is this some software upgrade that you could load into a SCC cartridge (Snatcher or SD Snatcher) to play MSX-Audio BASIC musics using a external Philips Music Module?

By sd_snatcher

Prophet (3642)

sd_snatcher さんの画像

18-10-2007, 23:40

What's this?
Is this some software upgrade that you could load into a SCC cartridge (Snatcher or SD Snatcher) to play MSX-Audio BASIC musics using a external Philips Music Module?

Nope. Much better. Smile

It's new BIOS to be used on a Music Module (NMS-1250), Panasonic MSX-Audio (FS-CA1) or Toshiba MSX-Audio (HX-MU900).
On a Panasonic one, it's a drop-in replacement. Remove the old EPROM, put the new one.

For the Music Module and the Toshiba MSX-Audio, the following upgrades are required:

http://www.msx.org/MSX-AUDIO-BIOS-for-Philips-Music-Module.newspost2931.html
http://www.msx.org/256KB-SampleRAM-and-MSX-Audio-BIOS-on-Toshiba-HX-MU900.newspost4458.html

By sd_snatcher

Prophet (3642)

sd_snatcher さんの画像

19-10-2007, 03:56

Here's the FS-CA1 version, now working fine:

http://frs.badcoffee.info/files/MSXAUDIO12_FS-CA1.ROM.zip

By Pentarou

Champion (506)

Pentarou さんの画像

19-10-2007, 23:05

I can't download the files Crying

By sd_snatcher

Prophet (3642)

sd_snatcher さんの画像

19-10-2007, 23:36

I can't download the files Crying

Oops. Mistake corrected. You can now download the files. Sorry.

By NYYRIKKI

Enlighted (6016)

NYYRIKKI さんの画像

19-10-2007, 23:40

So... Do I understand correctly, that this BIOS does not work if you don't have 256KB sample RAM?

I saw that many have requested CALL MUSIC command support. Maybe you could add something like CALL FAKEMUS to enable full MSX-Music emulation... Or maybe you could add MSX-Music detection that would enable CALL MUSIC in case MSX-Music is not present.

BTW does this BIOS support following CALL-commands?
APPEND MK
APEEK
APOKE
CONT MK
COPY PCM
CONVP
CONVA
INMK
KEY ON
KEY OFF
LOAD PCM
MK VOICE
MK VEL
MK VOL
MK TEMPO
MK STAT
MK PCM
REC PCM
SET PCM
SAVE PCM
SYNTHE
PLAY PCM
PCM FREQ
PCM VOL
PLAY MK

By sd_snatcher

Prophet (3642)

sd_snatcher さんの画像

20-10-2007, 05:13

Hi, NYYRIKKI!

So... Do I understand correctly, that this BIOS does not work if you don't have 256KB sample RAM?

Weird. I never heard of that. My tests are being done on my HX-MU900 with 256Kb SampleRAM and it works perfectly fine. I also once (about 2 years ago) tested the MSX-Audio BIOS 1.0 on a Music Module expanded to 128KB SampleRAM and it also worked fine.

Do you have more details on this problem?


I saw that many have requested CALL MUSIC command support. Maybe you could add something like CALL FAKEMUS to enable full MSX-Music emulation... Or maybe you could add MSX-Music detection that would enable CALL MUSIC in case MSX-Music is not present.

Hummm. I left this topic behind once BiFi published his _MUS2AUD tool.
It is theoretically possible to implement it. But I'll only spend time coding this if the MSX community shows interest in the project. Otherwise I feel compelled to follow my own route.
Please note that it will not be an emulation, but just it could answer the CALL MUSIC command after, as you suggested, the CALL FAKEMUS command.

Full MSX-Music support would be possible with an OPL3 onboard.


BTW does this BIOS support following CALL-commands?
<snip>

All of them are fully supported, after all this BIOS is the real thing. On the MSX-Music BIOS many of those commands are explicitly blocked.

There are only two difference an user will notice from the original Panasonic FS-CA1:

1) The lack of the AudioROM (*1). The BIOS automatically detects this, so the "#" parameter to the CALL COPY PCM command will return an "illegal function call".

2) There's no CALL SYNTHE. This is the built-in editor Panasonic bought from Toshiba to fit in the ROM. It's not part of the MSX-Audio specification. The CALL SYNTHE is to the MSX-Audio BIOS an proprietary extension just like the CALL FMPAC is to the MSX-Music. Both are not even commands in a strict sense, but just a way to invoke a program.

*1: Please note that the AudioROM is not the same as a SampleROM. Both are detected and supported by the MSX-Audio BIOS and have different characteristics. The Panasonic FS-CA1 only has the AudioROM.

  • AudioROM: MegaROM connected to the Z80 bus. Can contain PCM or ADPCM samples, but it cannot be directly accessed by the Y8950. I believe it can hold up to 7MB of samples.
  • SampleROM: ROM connected to the Y8950 memory bus. Can only contain ADPCM samples, but the Y8950 can play its samples directly with hardware acceleration. It can contain up to 256KB of Samples.

By Manuel

Ascended (19270)

Manuel さんの画像

20-10-2007, 12:07

FRS, I think you misunderstood NYYRIKKI's remark about 256kB sampleRAM. He asked if the BIOS *needs* 256kB sampleRAM, or if it also works with unexpanded MSX-AUDIO carts.

ページ 1/2
| 2