VOGONS


Reply 40 of 68, by pdw

User metadata
Rank Newbie
Rank
Newbie
Benedikt wrote on 2021-08-18, 11:23:

Is the programming model publicly documented, yet?

You can use these routines (for DOS compilers):
https://github.com/pdewacht/cmslpt/blob/maste … cmslpt/cmsout.c
https://github.com/pdewacht/cmslpt/blob/maste … mslpt/cmsinit.c

The CMS has two SAA1099 chips: the "cmslpt_first" routines control the first one, the "cmslpt_second" routines control the second one. Simple as that 😀

You can find the manual for the SAA1099 here: http://www.vgmpf.com/Wiki/index.php?title=SAA1099

Reply 41 of 68, by Benedikt

User metadata
Rank Oldbie
Rank
Oldbie

Thanks!
This is the kind of information I was looking for. (Mostly the relationship between CMS and CMSLPT)

Reply 42 of 68, by FreddyV

User metadata
Rank Oldbie
Rank
Oldbie
Benedikt wrote on 2021-08-18, 19:04:

This is the kind of information I was looking for. (Mostly the relationship between CMS and CMSLPT)

These are the files I use for Mod Master CMSLPT code, Just needed to do an ASM Version.

You are working on what ?

Reply 43 of 68, by Benedikt

User metadata
Rank Oldbie
Rank
Oldbie
FreddyV wrote on 2021-08-18, 20:35:
Benedikt wrote on 2021-08-18, 19:04:

This is the kind of information I was looking for. (Mostly the relationship between CMS and CMSLPT)

These are the files I use for Mod Master CMSLPT code, Just needed to do an ASM Version.

You are working on what ?

I've been working (on and off) on a support TSR that does Tandy-to-CMS translation for binaries that have been patched to use int 0c0h instead of out 0c0h,al.

Reply 44 of 68, by FreddyV

User metadata
Rank Oldbie
Rank
Oldbie
Benedikt wrote on 2021-08-19, 07:06:

I've been working (on and off) on a support TSR that does Tandy-to-CMS translation for binaries that have been patched to use int 0c0h instead of out 0c0h,al.

Nice, I would like to do the same.

CMSLPT Now work on Mod Master.

Reply 45 of 68, by Benedikt

User metadata
Rank Oldbie
Rank
Oldbie
FreddyV wrote on 2021-08-21, 13:53:
Benedikt wrote on 2021-08-19, 07:06:

I've been working (on and off) on a support TSR that does Tandy-to-CMS translation for binaries that have been patched to use int 0c0h instead of out 0c0h,al.

Nice, I would like to do the same.

CMSLPT Now work on Mod Master.

We could certainly share some code for the Tandy-to-CMS parameter translation.

Reply 46 of 68, by FreddyV

User metadata
Rank Oldbie
Rank
Oldbie
Benedikt wrote on 2021-08-21, 15:02:

We could certainly share some code for the Tandy-to-CMS parameter translation.

Are you doing it in ASM ? What code do you need ?

Doing this is simple, the more difficult are the Frequencies and volume conversion
(Linear to LOG) CAn be done with tables of course.

CMS Volume is Linear and frequency LOG (Octave + Period)
Tandy Volume is LOG and Frequency linear 😀 : 16 Values to convert, simple table

Reply 47 of 68, by Benedikt

User metadata
Rank Oldbie
Rank
Oldbie

I have mostly concentrated on precisely that frequency conversion, so far.
My code snippets use the nasm syntax, but do not use any fancy features that would prevent an adaptation for Turbo Pascal's inline assembler.

Reply 48 of 68, by FreddyV

User metadata
Rank Oldbie
Rank
Oldbie

My code us TASM and Turbo pascal 7

Reply 49 of 68, by FreddyV

User metadata
Rank Oldbie
Rank
Oldbie

Hi,

when I export some CMS game music in .VGM with DOSBOX, the files exported are huge.

So I wrote a .VGM Optimization code and It can divide these CMS .VGM files size by 10.

Reply 50 of 68, by AppleSauce

User metadata
Rank Oldbie
Rank
Oldbie

Hey , I've got a question since I've been thinking of getting one of these , from what I've read the original gameblaster had a chip labeled CT1302A.
That chip did some sort of detection routine for games , does the TSR for this device circumvent/replace that chip?
And does the CMSLPT work with pretty much any cms/gameblaster game?

Reply 51 of 68, by AppleSauce

User metadata
Rank Oldbie
Rank
Oldbie

Also one other question , for the power it uses a usb cable , could I plug it into my pentium 1's usb 1.1 port or would I need some kind of usb power adapter?

Reply 52 of 68, by dreamblaster

User metadata
Rank Oldbie
Rank
Oldbie
AppleSauce wrote on 2022-03-22, 01:12:

That chip did some sort of detection routine for games , does the TSR for this device circumvent/replace that chip?

The TSR does the heavy lifting here.

AppleSauce wrote on 2022-03-23, 03:31:

Also one other question , for the power it uses a usb cable , could I plug it into my pentium 1's usb 1.1 port or would I need some kind of usb power adapter?

Yes

Visit http://www.serdashop.com for retro sound cards, video converters, ...
DreamBlaster X2, S2, S2P, HDD Clicker, ... many projects !
New X2GS SE & X16GS sound card : https://www.serdashop.com/X2GS-SE ,
Thanks for your support !

Reply 53 of 68, by AppleSauce

User metadata
Rank Oldbie
Rank
Oldbie

Alright well I bought one and connected it but no games seem to detect it though the test music player works.

Police quest 2 for example just gives me an error.

The attachment 20220405_180707.jpg is no longer available

Reply 54 of 68, by AppleSauce

User metadata
Rank Oldbie
Rank
Oldbie
dreamblaster wrote on 2022-03-23, 18:10:
The TSR does the heavy lifting here. […]
Show full quote
AppleSauce wrote on 2022-03-22, 01:12:

That chip did some sort of detection routine for games , does the TSR for this device circumvent/replace that chip?

The TSR does the heavy lifting here.

AppleSauce wrote on 2022-03-23, 03:31:

Also one other question , for the power it uses a usb cable , could I plug it into my pentium 1's usb 1.1 port or would I need some kind of usb power adapter?

Yes

Could it be a conflict issue with my sound blaster pro 2?
I tried the sb option in the tsr but that didnt work either.

Reply 55 of 68, by bjwil1991

User metadata
Rank l33t
Rank
l33t

Set the HW address on the CMSLPT to 210 and change the HW address for Sierra On-Line and Lucasarts (Money Island) games (there is a patch somewhere and I cannot recall exactly).

I had the same exact issues with my 486 with an Aztech Sound Galaxy NX Pro 16 at 220h and the patch/address change for the games and setting the HW address as 210h in the TSR program fixed my issues hands down.

Discord: https://discord.gg/U5dJw7x
Systems from the Compaq Portable 1 to Ryzen 9 5950X
Twitch: https://twitch.tv/retropcuser

Reply 56 of 68, by AppleSauce

User metadata
Rank Oldbie
Rank
Oldbie
bjwil1991 wrote on 2022-04-06, 09:59:

Set the HW address on the CMSLPT to 210 and change the HW address for Sierra On-Line and Lucasarts (Money Island) games (there is a patch somewhere and I cannot recall exactly).

I had the same exact issues with my 486 with an Aztech Sound Galaxy NX Pro 16 at 220h and the patch/address change for the games and setting the HW address as 210h in the TSR program fixed my issues hands down.

Well I tried patching some games after referring to this thread
CMS/Game Blaster game patching and setting a new standard!

pretty sure I did the patch for colonels bequest right but its still not working.

Reply 57 of 68, by AppleSauce

User metadata
Rank Oldbie
Rank
Oldbie

Yeah I've tried a buncha other games no dice.
I've also got a gravis in the pc and it's using irq 7 I think , would that cause it to not work if it conflicted with the printer port? I didn't initialise it but that didn't help either.

I've tried setting the cmslpt to 210 but it doesn't make a difference.

Reply 59 of 68, by AppleSauce

User metadata
Rank Oldbie
Rank
Oldbie
bjwil1991 wrote on 2022-04-09, 06:20:

Set the GUS to a different HW address. That there's a conflict.

I tried but no luck.