GLX Player the only XT player ? Check Mod Master...

Discussion about old sound cards, MIDI devices and sound related accessories.

Re: GLX Player the only XT player ? Check Mod Master...

Postby root42 » 2019-7-12 @ 22:13

Just tested MODMXT4 and it works with SoundBlaster compatible cards. ;)
Soldering, retro game reviews and more on YouTube and Bonus videos
80386DX@25 MHz, 8 MiB RAM, Tseng ET4000 1 MiB, Jazz16, PC MIDI Card + SC55MkII + MT32, XT CF Lite, OSSC 1.6
User avatar
root42
Oldbie
 
Posts: 1280
Joined: 2018-1-27 @ 13:23

Re: GLX Player the only XT player ? Check Mod Master...

Postby FreddyV » 2019-7-12 @ 22:33

Hi.

Yes of course sound blaster support is still there.

It also support EMS. I have the lotech ems card and no time to test it so far.
Samples size is limited to 64k.

EMS is used to store samples only and bank switching is done with the ems interrupt. If the lotech card works I am Quite sure it will be fast.

I dit not full understand when you say I can change the history. What can I do for this ?

I am rewriting mod master code not USMPlay.
USMPlay is in 32 bit protected mode and full support xm and it.

For tandy 1000 i know a bout the interrupt but i wonder if there is a doc on direct programming
FreddyV
Member
 
Posts: 132
Joined: 2019-4-08 @ 11:58

Re: GLX Player the only XT player ? Check Mod Master...

Postby root42 » 2019-7-13 @ 05:15

Are there limits to s3m support? On my 386, when playing 2nd reality (skaven part I think) the sample „I am not an atomic playboy“ gets swallowed when mixing at 21 KHz. ScreamTracker plays it just fine at that mixing rate. So I guess the 386 is fast enough.
Soldering, retro game reviews and more on YouTube and Bonus videos
80386DX@25 MHz, 8 MiB RAM, Tseng ET4000 1 MiB, Jazz16, PC MIDI Card + SC55MkII + MT32, XT CF Lite, OSSC 1.6
User avatar
root42
Oldbie
 
Posts: 1280
Joined: 2018-1-27 @ 13:23

Re: GLX Player the only XT player ? Check Mod Master...

Postby Grzyb » 2019-7-13 @ 05:22

So it's dropping channels when there's not enough CPU power...
Consider lowering the mixing rate instead - that what eg. Visual Player does.
Grzyb
Member
 
Posts: 334
Joined: 2019-5-08 @ 13:47
Location: Poland

Re: GLX Player the only XT player ? Check Mod Master...

Postby root42 » 2019-7-13 @ 07:42

Ok. But since ScreamTracker manages not to drop or stutter at the same sampling rate I would have assumed that ModMaster is even more efficient.
Soldering, retro game reviews and more on YouTube and Bonus videos
80386DX@25 MHz, 8 MiB RAM, Tseng ET4000 1 MiB, Jazz16, PC MIDI Card + SC55MkII + MT32, XT CF Lite, OSSC 1.6
User avatar
root42
Oldbie
 
Posts: 1280
Joined: 2018-1-27 @ 13:23

Re: GLX Player the only XT player ? Check Mod Master...

Postby matze79 » 2019-7-13 @ 09:17

Can you add a Option for a DAC at Custom Adress (Specify I/O Port) ?

That would be very nice!
https://dosreloaded.de - The German Retro DOS PC Community
https://www.retroianer.de
matze79
Oldbie
 
Posts: 1613
Joined: 2014-12-12 @ 14:25
Location: Germany, Frankonia

Re: GLX Player the only XT player ? Check Mod Master...

Postby LABS » 2019-7-13 @ 10:18

matze79 wrote:Can you add a Option for a DAC at Custom Adress (Specify I/O Port) ?

That would be very nice!

Indeed, a good point.
User avatar
LABS
Member
 
Posts: 142
Joined: 2018-6-07 @ 16:49
Location: Riga, LV

Re: GLX Player the only XT player ? Check Mod Master...

Postby FreddyV » 2019-7-13 @ 13:28

Hi,

Are there limits to s3m support? On my 386, when playing 2nd reality (skaven part I think) the sample „I am not an atomic playboy“ gets swallowed when mixing at 21 KHz.


You are right, it was a bug in the Key Off command. I corrected it and it is working.

I tested it on my PC1640. I successfully added the EMS Board and It is now able to play this module with all the samples.
I also played a 800Mb 16 Channel S3M, at 11KHz.

EMS is Fast because the card for XT is an hardware bank switching with some I/O.

Yes I will add DAC to any port, simple :)

LABS, Something that can help a lot and is simple to add in your board is to play a signed buffer.
There are commands for this in the sound blaster 16.
It require extra time to convert the mixed buffer.

Of course if you can find a way to mix multiple buffer with a volume…
Last edited by FreddyV on 2019-7-13 @ 13:32, edited 1 time in total.
FreddyV
Member
 
Posts: 132
Joined: 2019-4-08 @ 11:58

Re: GLX Player the only XT player ? Check Mod Master...

Postby matze79 » 2019-7-13 @ 13:31

It supports EMS ? Nice.

i have a Above Board in my XT with 2Mb EMS :)
i will try it!

Thanks for adding Custom DAC Support ! :)
https://dosreloaded.de - The German Retro DOS PC Community
https://www.retroianer.de
matze79
Oldbie
 
Posts: 1613
Joined: 2014-12-12 @ 14:25
Location: Germany, Frankonia

Re: GLX Player the only XT player ? Check Mod Master...

Postby LABS » 2019-7-13 @ 14:01

Where do you get these files? 800Mb S3M, 1Gb XM...?
User avatar
LABS
Member
 
Posts: 142
Joined: 2018-6-07 @ 16:49
Location: Riga, LV

Re: GLX Player the only XT player ? Check Mod Master...

Postby matze79 » 2019-7-13 @ 15:25

https://dosreloaded.de - The German Retro DOS PC Community
https://www.retroianer.de
matze79
Oldbie
 
Posts: 1613
Joined: 2014-12-12 @ 14:25
Location: Germany, Frankonia

Re: GLX Player the only XT player ? Check Mod Master...

Postby MobyGamer » 2019-7-14 @ 21:41

FreddyV wrote:For tandy 1000 i know a bout the interrupt but i wonder if there is a doc on direct programming


Same doc I referenced before. But the BIOS is ok to use, you don't have to do direct programming. It lets you set up the buffer in ping-pong mode, playing continuously, you don't need to touch the BIOS after that.
User avatar
MobyGamer
Member
 
Posts: 247
Joined: 2006-1-18 @ 04:30

Re: GLX Player the only XT player ? Check Mod Master...

Postby root42 » 2019-7-15 @ 21:51

I tried ModMaster again with the Blasterboard. It runs at 45KHz and plays 2nd Reality / PM quite well (apart from the known bug).

https://youtu.be/uc2bDuaD2So

However I can't play any MOD. I always get this error:

Bildschirmfoto 2019-07-15 um 23.46.53.png
Soldering, retro game reviews and more on YouTube and Bonus videos
80386DX@25 MHz, 8 MiB RAM, Tseng ET4000 1 MiB, Jazz16, PC MIDI Card + SC55MkII + MT32, XT CF Lite, OSSC 1.6
User avatar
root42
Oldbie
 
Posts: 1280
Joined: 2018-1-27 @ 13:23

Re: GLX Player the only XT player ? Check Mod Master...

Postby LABS » 2019-7-15 @ 22:22

root42 wrote:It runs at 45KHz and plays 2nd Reality / PM quite well (apart from the known bug).

I don't hear any clicks at all, do you?
On this video you can actually hear how silent the output is, don't be too modest, I was working to achieve this for months :happy:
BB's max rate is 62500Hz (F0h time constant). It can be checked by running "quake -sspeed 62500" and may be supported by ModMaster in the future :wink:

EDIT:
@FreddyV BlasterBoard can be detected by issuing a BlasterBoard-specific E5h command which will respond with 2 bytes - major and minor version numbers of the firmware. No response - no BlasterBoard.
User avatar
LABS
Member
 
Posts: 142
Joined: 2018-6-07 @ 16:49
Location: Riga, LV

Re: GLX Player the only XT player ? Check Mod Master...

Postby FreddyV » 2019-7-16 @ 04:59

Root42,
Thanks for the video. It sounds like DosBox.
The volume level on the st3 video is higher.
Did you adjust the volume level on mod master ?

With this module you can put 75%

I Will send the version without the bug so that you can redo the video.

Regarding the mod files but. Is it the same at a lower fréquence ?
Can you try after removing mod.cfg ?

I never had this kind of problem. It is of course the same replay code for both format.
FreddyV
Member
 
Posts: 132
Joined: 2019-4-08 @ 11:58

Re: GLX Player the only XT player ? Check Mod Master...

Postby root42 » 2019-7-16 @ 07:06

LABS wrote:
root42 wrote:It runs at 45KHz and plays 2nd Reality / PM quite well (apart from the known bug).

I don't hear any clicks at all, do you?


No, the clicks are gone in ModMaster. I think the clicks in DoTT are just in the sound itself.
Soldering, retro game reviews and more on YouTube and Bonus videos
80386DX@25 MHz, 8 MiB RAM, Tseng ET4000 1 MiB, Jazz16, PC MIDI Card + SC55MkII + MT32, XT CF Lite, OSSC 1.6
User avatar
root42
Oldbie
 
Posts: 1280
Joined: 2018-1-27 @ 13:23

Re: GLX Player the only XT player ? Check Mod Master...

Postby root42 » 2019-7-16 @ 07:07

FreddyV wrote:Root42,
Thanks for the video. It sounds like DosBox.
The volume level on the st3 video is higher.
Did you adjust the volume level on mod master ?

With this module you can put 75%

I Will send the version without the bug so that you can redo the video.

Regarding the mod files but. Is it the same at a lower fréquence ?
Can you try after removing mod.cfg ?

I never had this kind of problem. It is of course the same replay code for both format.


I did not increase the volume in ModMaster. All defaults, apart from the 45kHz mixing rate.

Mod files: Doesn't matter, they all just don't load, even with defaults. Work fine in Scream Tracker. I will try removing mod.cfg tonight.
Soldering, retro game reviews and more on YouTube and Bonus videos
80386DX@25 MHz, 8 MiB RAM, Tseng ET4000 1 MiB, Jazz16, PC MIDI Card + SC55MkII + MT32, XT CF Lite, OSSC 1.6
User avatar
root42
Oldbie
 
Posts: 1280
Joined: 2018-1-27 @ 13:23

Re: GLX Player the only XT player ? Check Mod Master...

Postby Scali » 2019-7-16 @ 07:58

FreddyV wrote:Yes I will add DAC to any port, simple :)


Perhaps you also want to add support for 'pseudo DAC' devices?
They aren't quite as simple as writing a byte to a port, but not too much different.
You can play sample data on:
- PC speaker, using PWM. This requires a simple translation table from 8-bit PCM samples to PWM samples, which are dependent on the sample rate. So it would be best to include the code to generate the table on-the-fly when you select a sample rate (this seems to be where many players go wrong, resulting in distortion. When done correctly, PC speaker can sound quite clear and crisp).
- AdLib, by modifying the volume. The volume is 6-bit, on a non-linear scale. So again a simple translation table from 8-bit PCM to AdLib volume would do the job.
- SN76489 (Tandy/PCjr), by modifying the volume. The volume is 4-bit non-linear, so similar to AdLib, but using a different table.
- SAA1099 (CMS/GameBlaster), by modifying the volume, again 4-bit non-linear.

In all cases, you need to set up the device once to get it in the correct state to play samples. After that, just writing each sample should be enough, with a simple routine.
Scali
l33t
 
Posts: 4513
Joined: 2014-12-13 @ 14:24

Re: GLX Player the only XT player ? Check Mod Master...

Postby root42 » 2019-7-16 @ 09:27

Is it possible to use the C/MS channels for primitive mixing? I.e. no software mixing, but rather writing out individual samples to each channel? Also C/MS would be nice to have for stereo support...
Soldering, retro game reviews and more on YouTube and Bonus videos
80386DX@25 MHz, 8 MiB RAM, Tseng ET4000 1 MiB, Jazz16, PC MIDI Card + SC55MkII + MT32, XT CF Lite, OSSC 1.6
User avatar
root42
Oldbie
 
Posts: 1280
Joined: 2018-1-27 @ 13:23

Re: GLX Player the only XT player ? Check Mod Master...

Postby Scali » 2019-7-16 @ 09:32

root42 wrote:Is it possible to use the C/MS channels for primitive mixing? I.e. no software mixing, but rather writing out individual samples to each channel? Also C/MS would be nice to have for stereo support...


Yes, that should be possible. The trick for playing samples only takes one channel. You have 12 channels in total, so in theory you can play 12 samples at a time.
The same goes for SN76489, but it only has 3 squarewave channels, so not enough for even a standard 4ch mod.
Scali
l33t
 
Posts: 4513
Joined: 2014-12-13 @ 14:24

PreviousNext

Return to Sound

Who is online

Users browsing this forum: Dusko and 4 guests