NLMSX 0.47

by snout on 03-06-2003, 00:05
Topic: Emulation
Languages:

A few minutes ago a new version of the very popular MSX emulator NLMSX was released. In this new version support for emulating the Sunrise Moonsound cartridge has been implemented. However, it is likely to improve in future releases. Other changes:

  • Sprite colour table fix (xmas demo 2002 works perfect now)
  • Removed disk logging, fixed.
  • Some game controls refused to work with the mouse in port 1, fixed
  • Fixed a bug with ASCII MegaROM mappers, games like Animal Land, Ikari, Hole in 1 Special, Eggerland 2, and several others are working now
  • Support for several unique memory types: Cross Blaim, Harry Fox Yki No Maoh, R-Type, Super Lode Runner, Holy Qu'ran, and the pirate Korean multigame ROMs (thanks to Saeba, Martos and Sean Young)
  • The default configuration set was updated a little bit: removed several subslotted slots
  • From now on, NLMSX is released with a ROM database, located in the 'DB' directory. Known ROMs will be auto detected to their specific mapper type
  • Sunrise MoonSound support. As this is the first version of NLMSX with MoonSound, it is not yet as good as on a real MSX. You can get the wavetable ROM here, put it in the 'ROMS' directory for it to work.

You can get your version of this accurate and user-friendly MSX Emulator on the NLMSX Website.

Relevant link: NLMSX Website

Comments (4)

By wolf_

Ambassador_ (9906)

wolf_'s picture

03-06-2003, 15:59

I tested mbwave in the new nlmsx..

I sampled some instruments in in the background of nlmsx, to see what happens..:

- The sound is dc shifted
- So sound is very lo-fi, a S/H of 16 sample on a 44.100 rate!

Is the 12bit stuff converted correctly, I ask myself?

Or am I doing something wrong ? Smile

Nonetheless, funny&cool that the opl4 is supported anyway!

By Arjan

Paladin (747)

Arjan's picture

03-06-2003, 22:19

Wolf, the rom has been ripped correctly (I'm responsible for that Smile ). However, the code used for OPL4-emulation is far from perfect since it lacks a lot of features:

1) Vibrato / Tremolo / Low Frequency Oscillator
2) Pseudo Reverb
3) Damping
4) Level Direct (change to new volume can be done at once or by interpolating)
5) The attack/decay/sustain/release rates seem to be incorrect (noticed it first when playing reverse cymbal, attack was way too fast)

I am currently improving the code. I've added the first three points now, and although emulation isn't perfect, it sounds way better now. LFO isn't perfect yet (thought I implemented it correctly but it was too fast, fixed that and the highest oscillation speed is correct now, have to check for others though). Also, the decay rate when entering pseudo reverb mode hasn't been documented. It sounds nice now though.

I haven't implemented 4 yet but I will definately do that. However I'm more concerned with 5, attack rate seems to be 2 times as fast as it should be.

I've also fixed some minor bugs in the code. When the key on bit is set, a new sample was triggered even when the keyon was already set! This made the link command useless... Also fixed some bugs regarding pseudoreverb and vibrato settings, but since they weren't emulated in sound generation nobody could ever notice Smile

At the moment, 16 bit samples don't seem to be working bit that could also be a problem with my (bombaman)replayer.

And finally, the DC offset is zero here, could be a problem with the emulator itself??

By wolf_

Ambassador_ (9906)

wolf_'s picture

04-06-2003, 00:34

Yeah, but what causes the lo-fi sounds? The things on your list don't have anything to do with that lo-fi sound..!

about the DC shift.. it's better to find the fault doing this, but until then, a highpassfilter at the final stage, wiping all below 20hz, should do the trick..
(I guess you can't use your moonsound to create LFE for your cinema music then, but then again, does anyone do so? Smile )

By Arjan

Paladin (747)

Arjan's picture

04-06-2003, 21:44

ok, these things weren't causing the lo-fi sound in NLMSX. Just got NLMSX 0.47 running to try the moonsound emulation and for some reason the sound is messed up. This is _not_ the case with the original ymf278 emulation source code! So NLMSX is doing stuff incorrectly...