IBM PS/1 Audio Card.

Developer's Forum, for discussion of bugs, code, and other developmental aspects of DOSBox.

Re: IBM PS/1 Audio Card.

Postby Great Hierophant » 2013-3-21 @ 16:50

It sounds like someone is going to have to use an oscilloscope to find the base frequency of this card or find the IBM Technical Reference or programming materials for the card.
http://nerdlypleasures.blogspot.com/ - Nerdly Pleasures - My Retro Gaming, Computing & Tech Blog
User avatar
Great Hierophant
l33t
 
Posts: 2362
Joined: 2003-4-27 @ 08:20

Re: IBM PS/1 Audio Card.

Postby VileRancour » 2013-3-21 @ 17:42

Or you could run a frequency analyzer on the recordings. You'd need long, clean single notes, so the Silpheed ones aren't ideal, but the values I get from Audacity hover around a x1.11 difference in frequency (i.e. the PS/1's pitch is 1.11 times higher than the Tandy emulation)... that works out to 180 cents or so, which is actually slightly *less* than a full step, but with these recordings that's far from conclusive.
web  /   (NEW) blog   /   tube
User avatar
VileRancour
Oldbie
 
Posts: 1610
Joined: 2003-5-14 @ 22:11
Location: 1-01-80 0:00a

Re: IBM PS/1 Audio Card.

Postby Great Hierophant » 2013-3-21 @ 18:38

VileRancour wrote:Or you could run a frequency analyzer on the recordings. You'd need long, clean single notes, so the Silpheed ones aren't ideal, but the values I get from Audacity hover around a x1.11 difference in frequency (i.e. the PS/1's pitch is 1.11 times higher than the Tandy emulation)... that works out to 180 cents or so, which is actually slightly *less* than a full step, but with these recordings that's far from conclusive.


I guess you could write a value to the PS/1's PSG representing a known square wave frequency. Assuming the dividers are the same between IBM's version and the SN76496, you should be able to get a much better approximation of the base frequency. The lowest frequency the chip can output using the 3.579MHz clock is 874.76Hz. Perhaps a comparison of the raw Silpheed music data would be instructive. Might it be that the PS/1 chip is using a 4.00MHz base frequency?
http://nerdlypleasures.blogspot.com/ - Nerdly Pleasures - My Retro Gaming, Computing & Tech Blog
User avatar
Great Hierophant
l33t
 
Posts: 2362
Joined: 2003-4-27 @ 08:20

Re: IBM PS/1 Audio Card.

Postby Myloch » 2013-3-26 @ 21:17

sorry if this sounds like a noob question but can we make a change to the source code to customize the frequency?
User avatar
Myloch
Member
 
Posts: 425
Joined: 2007-4-18 @ 22:13

Re: IBM PS/1 Audio Card.

Postby hottobar » 2014-4-21 @ 17:28

I really would like to see the emulation of this audio card completed.
Unfortunately I don't have the needed knowledge to contribute to the Dosbox code.

But I found a copy of the Technical Reference book for the PS/1 model 2011.
In the appendix there's some documentation about this audio card.

You can find it at ps1stuff.wordpress.com

Also, I've got a real PS/1 2011 with the audio option installed, if it's needed.

I hope this will help.
User avatar
hottobar
Newbie
 
Posts: 48
Joined: 2014-4-21 @ 17:00

Re: IBM PS/1 Audio Card.

Postby Great Hierophant » 2014-4-21 @ 19:27

The Technical Reference gives 125KHz as the base frequency for the tone generators for the PS/1 Audio/Game Card. For a IBM PCjr. or Tandy 1000, the base frequency is 111.86078125KHz. Thus the pitch for the PS/1 is about 12% higher than for the Tandy/PCjr.
http://nerdlypleasures.blogspot.com/ - Nerdly Pleasures - My Retro Gaming, Computing & Tech Blog
User avatar
Great Hierophant
l33t
 
Posts: 2362
Joined: 2003-4-27 @ 08:20

Re: IBM PS/1 Audio Card.

Postby Myloch » 2014-4-29 @ 19:03

Nice to see this topic raised from the dead! :-) However unfortunately I doubt the original driver programmer will ever popup again here to fix that. And it's also good to see that my memory of the childhood and my hearing quality gave me the correct impressions, when I first talked here about the pitch that seemed wrong to me. Thankfully a nice user found the technical sheet.

*edit* Ykhwong fixed the chip frequency emulation in the latest build. Pitch is good now.
Thanks to hottobar for finding the soundcard tech docs, this made the change possible. :)
"Gamer & collector for passion, I firmly believe in the preservation and the diffusion of old/rare software, against all personal egoisms"
User avatar
Myloch
Member
 
Posts: 425
Joined: 2007-4-18 @ 22:13

Re: IBM PS/1 Audio Card.

Postby pleonard » 2015-10-31 @ 22:24

Just wanted to resurrect this thread to say I also have a PS/1 2121-B82 with this obscure card. I can do recordings if anyone would like. Been playing around with the Sierra patcher disk that adds in support for various SCI games. Interestingly the patcher almost works with King's Quest IV -- the opening fanfare sounds but not the rest of the credits music.

Excited to try hooking up my MT-32 to this as well, which Sierra's driver also supports...
pleonard
Newbie
 
Posts: 39
Joined: 2014-4-26 @ 17:59

Re: IBM PS/1 Audio Card.

Postby Beegle » 2015-11-01 @ 00:39

pleonard wrote:I can do recordings if anyone would like.

Yes, please!

Also, is it a physical card separate from the motherboard? If yes, pictures would be appreciated. Thank you!
The more sound cards, the better.
AdLib documentary: Official Thread
User avatar
Beegle
Member
 
Posts: 412
Joined: 2013-12-01 @ 02:15
Location: Canada

Re: IBM PS/1 Audio Card.

Postby pleonard » 2015-11-01 @ 02:02

Moloch has some nice pictures in this post:

viewtopic.php?p=134345#p134345

Let's try a quick SoundCloud link -- the intro theme to Police Quest II:

https://soundcloud.com/pl212-522135920/ ... audio-card

There's a YouTube video with both the AdLib and the MT-32 here for comparison: https://www.youtube.com/watch?v=bZXVqrSo7AA

I would say the IBM card does a passable job here of maintaining the beat of the intro (as compared with much more capable cards) Only occasionally does it have to drop (or otherwise modify) the underlying rhythm beat to follow the melody completely. If anything, the beat track is less annoying than the AdLib, which sounds unintentionally like a malfunctioning dot-matrix printer in the beat track.
pleonard
Newbie
 
Posts: 39
Joined: 2014-4-26 @ 17:59

Re: IBM PS/1 Audio Card.

Postby pleonard » 2015-11-01 @ 02:40

Let's try some tracks from The Colonel's Bequest. I've split up the intro into three bite-sized pieces: The signing of the will, the introduction of the characters on the stage, and then the cutscene where Laura is sitting outside on the Tulane campus:

Will signing

Stage

Tulane

I realize now this thread is in the DOSBox Development forum -- perhaps I should move my posts to Marvin...?
pleonard
Newbie
 
Posts: 39
Joined: 2014-4-26 @ 17:59

Re: IBM PS/1 Audio Card.

Postby pleonard » 2015-11-06 @ 03:22

pleonard wrote:Been playing around with the Sierra patcher disk that adds in support for various SCI games. Interestingly the patcher almost works with King's Quest IV -- the opening fanfare sounds but not the rest of the credits music.


Turns out this was the same problem mentioned by Great Hierophant here:

http://nerdlypleasures.blogspot.com/201 ... patch.html

Another benefit to the newer versions is that you can hear the IBM Music Feature Adapter music from the Yamaha FB-01. The Yamaha FB-01 is supported if you copy a driver over from another game. The old versions use slightly different sound drivers and all Yamaha FB-01 drivers are too new to work with the old versions.


KQ IV 1.000.111 won't work with the PS/1 driver (AUDIOJOY.DRV), whereas 1.006.003 works just fine. A shame, given the worse graphics of the newer version....
pleonard
Newbie
 
Posts: 39
Joined: 2014-4-26 @ 17:59

Re: IBM PS/1 Audio Card.

Postby Myloch » 2017-3-22 @ 17:29

Great Hierophant wrote:
Myloch wrote:there is an inaccuracy in the gamelist: King's quest 5 also uses DAC, start a game and go 2 or 3 screens to the west (where there are the gypsies) and wait, you'll hear a cow bellow sometimes.

Actually, I do not think the cow bellow sound effect is a digital effect but an FM effect, because it can be heard using the Adlib driver as well as the Sound Blaster driver. I cannot hear the cow bellow using either the PS/1 Audiocard or Tandy TL/SL/RL driver.

After A LONG time, I managed to solve this mistery: french, italian and other more recent floppy versions (000.000.148/9) added some new effects like cow bellow and a lot of other effects are different like water, doors, the rattlesnake...), you can hear them with ps1 too, unlike with older english only versions. However there is an annoying short static sound when whatever effect starts, and some of them like the ding effect is totally garbled (the one played when getting objects or making some points). Bug of the game or bug in ps1 dac part emulator. Someone with real hardware should check...
"Gamer & collector for passion, I firmly believe in the preservation and the diffusion of old/rare software, against all personal egoisms"
User avatar
Myloch
Member
 
Posts: 425
Joined: 2007-4-18 @ 22:13

Re: IBM PS/1 Audio Card.

Postby Great Hierophant » 2017-3-23 @ 00:00

Myloch wrote:After A LONG time, I managed to solve this mistery: french, italian and other more recent floppy versions (000.000.148/9) added some new effects like cow bellow and a lot of other effects are different like water, doors, the rattlesnake...), you can hear them with ps1 too, unlike with older english only versions. However there is an annoying short static sound when whatever effect starts, and some of them like the ding effect is totally garbled (the one played when getting objects or making some points). Bug of the game or bug in ps1 dac part emulator. Someone with real hardware should check...


Good find. Fortunately the digital sounds play with the Sound Blaster driver. They appear to play with the Tandy DAC driver as well, but DOSBox frequently crashes. The foreign language versions appear to be using the same interpreter as the CD-ROM version, and use the same sound effects as well. The interface appears to be between the original English versions and the CD-ROM version, it lacks the multi-colored icons and embossed text.
http://nerdlypleasures.blogspot.com/ - Nerdly Pleasures - My Retro Gaming, Computing & Tech Blog
User avatar
Great Hierophant
l33t
 
Posts: 2362
Joined: 2003-4-27 @ 08:20

Re: IBM PS/1 Audio Card.

Postby Kaiser76 » 2017-3-25 @ 20:41

Can i ask if any mod player support this card or midi box is easy to find
User avatar
Kaiser76
Newbie
 
Posts: 68
Joined: 2014-1-20 @ 23:35

Re: IBM PS/1 Audio Card.

Postby fjk61011 » 2017-9-06 @ 14:58

Managed to get a PS/1 Audio Card running under WfW.
fjk61011
Newbie
 
Posts: 27
Joined: 2012-4-09 @ 11:54
Location: Ireland

Re: IBM PS/1 Audio Card.

Postby pleonard » 2017-9-06 @ 19:16

Interesting... what driver did you use?
pleonard
Newbie
 
Posts: 39
Joined: 2014-4-26 @ 17:59

Re: IBM PS/1 Audio Card.

Postby fjk61011 » 2017-9-06 @ 19:36

pleonard wrote:Interesting... what driver did you use?


There was a self extracting file on an IBM bbs site, ps1audwd.exe. Expanded it gave a ps1.dll, minidd.sys,ibmmme.drv, audiover.exe.
fjk61011
Newbie
 
Posts: 27
Joined: 2012-4-09 @ 11:54
Location: Ireland

Re: IBM PS/1 Audio Card.

Postby Myloch » 2017-10-20 @ 10:40

if someone can test a dos game with real ps1 card hardware, please contact me privately.

Here is a video explaining the bug I previously found in kq5 it-fr-ge-sp floppy releases (000.000.148/9 or similar).
When dealing with dosbox-x ps1 emulation, this happens when getting objects: fuckin ugly garbled sound, see the video here. Game bug or ps1 emulation flaw? This is why a check with real hardware is essential.
"Gamer & collector for passion, I firmly believe in the preservation and the diffusion of old/rare software, against all personal egoisms"
User avatar
Myloch
Member
 
Posts: 425
Joined: 2007-4-18 @ 22:13

Previous

Return to DOSBox Development

Who is online

Users browsing this forum: No registered users and 3 guests