VOGONS

Common searches


multitasking dos 6.22

Topic actions

First post, by rgart

User metadata
Rank Oldbie
Rank
Oldbie

i have always used dos 6.22 on my retro machines and never tried dr dos, pc dos or dos 7.x etc. Often im using a dos console and wishing i could play a midi file through the mt32 or sc55 and crash back to my command prompt with it playing in the background. Is there a program that allows this? Why hasnt someone mastered the dos code and given us multiple command prompts similar to liunx with the alt-fx keys. I dont want to do a full blown win 9x install.

Reply 3 of 22, by Jorpho

User metadata
Rank l33t++
Rank
l33t++
rgart wrote:

i have always used dos 6.22 on my retro machines and never tried dr dos, pc dos or dos 7.x etc. Often im using a dos console and wishing i could play a midi file through the mt32 or sc55 and crash back to my command prompt with it playing in the background. Is there a program that allows this? Why hasnt someone mastered the dos code and given us multiple command prompts similar to liunx with the alt-fx keys.

And this is not what DOS is designed to do. There are unspeakably terrible hacks out there that might get the job done, but you can expect that things will not run at all smoothly if you try to use them.

The old MS-DOS Shell introduced in DOS 5, for instance, incorporated rudimentary task switching.

Reply 4 of 22, by Stiletto

User metadata
Rank l33t++
Rank
l33t++

Or the official, mythical multitasking MS-DOS 4.0 from 1985...
http://www.os2museum.com/wp/?p=1769

"I see a little silhouette-o of a man, Scaramouche, Scaramouche, will you
do the Fandango!" - Queen

Stiletto

Reply 6 of 22, by Jorpho

User metadata
Rank l33t++
Rank
l33t++

There's also "Multiuser DOS", which had various incarnations:
http://en.wikipedia.org/wiki/Multiuser_DOS

That reminds me, I think some of the later versions of DR-DOS had some kind of task switcher as well.

Reply 7 of 22, by rgart

User metadata
Rank Oldbie
Rank
Oldbie

Thanks for the links. Fascinating.

I cant be the only one doing a large xcopy and itching to check a readme.txt at the same time......

Last edited by rgart on 2013-05-15, 05:18. Edited 1 time in total.

Reply 9 of 22, by SquallStrife

User metadata
Rank l33t
Rank
l33t
rgart wrote:

Thanks for the links. Fascinating.

I cant be the only one doing a large xcopy and itching to check a readme.txt at the same time......

You're not.

But DOS is a fundamentally different OS than Windows or Linux. What you're looking at is not a virtual terminal or anything of the sort. It's the READY prompt of a single process running in a single memory space in a single thread with the CPU in real mode. (Notwithstanding EMM386 or QEMM putting you in V86 mode)

Unless you're running a DOS Shell within something else like DOSSHELL, Windows, Desqview, etc. But in those cases, technically the multitasking environment becomes the OS, managing the scheduling of thread execution, memory pages, etc.

VogonsDrivers.com | Link | News Thread

Reply 10 of 22, by rfnagel

User metadata
Rank Oldbie
Rank
Oldbie

Hey rgart,

You might find these handy. The ZIP contains a MIDI file player (as well as a CMF file player, simply for completeness sake) that came with the Creative Labs sound cards back in the day.

I'm not 100%, but you just MIGHT require a true Sound Blaster card for these to work, but then again, maybe not. Note that each player requires it's own small-footprint driver loaded in order to use the players.

Creative MIDI Driver Version 1.23
---------------------------------
Copyright (c) Creative Labs, Inc., 1990-1993. All rights reserved.

SB16 / SB Pro 2 / SB Pro 2 MCV Version

Usage: SBMIDI [/X] | [/Y] | [/U] | [/?]

Where:

[/X]: /G - General MIDI.
/E - Extended MIDI (default).
/B - Basic MIDI.

[/Y]: /1 - Sound Blaster Music synthesizer (default).
/2 - External Music Synthesizer.
/3 - External Music Synthesizer (MPU401 Interface).

[/U]: Unload the driver.

[/?]: Display this help message.

Example: SBMIDI /G /3
Creative MIDI File Player Version 1.03
--------------------------------------
Copyright (c) Creative Labs, Inc., 1992. All rights reserved.

Usage: PLAYMIDI midi-filename [switches]

Available switches:

/Q : set quiet mode.
/S:command : execute the command specified.
/FMT:type : set MIDI format type. By default follow the
current format type set by the MIDI driver SBMIDI.
"type" specifies General/Extended/Basic MIDI.
/DRUM:nn : set drum channel. By default is channel 10.
"nn" specifies the drum channel, 1 to 16.
/? : display this help message.

Example: PLAYMIDI MUSIC.MID /S:COMMAND.COM
Creative Sound Blaster FM-Driver Version 1.32
---------------------------------------------
Copyright (c) Creative Labs, Inc., 1990-1991. All rights reserved.

SB Pro 2 / SB Pro MCV Version

Usage: SBFMDRV [/U]

/U : unload driver

Example: SBFMDRV /U
Creative Music File Player Version 1.05
---------------------------------------
Copyright (c) Creative Labs, Inc., 1990-1993. All rights reserved.

Usage: PLAYCMF music-filename [/Q] [/S="execution command"]

/Q : set quiet mode
/S : execute the execution command specified.

Example: PLAYCMF MUSIC.CMF /S=COMMAND.COM

Anyhow, the "COMMAND.COM" command line for the players is what does the magic... start the player, and it will start a new instance of "COMMAND.COM", where you can then do whatever you wish 😀 Of course, you'll have to EXIT <ENTER> when the song stops playing though.

IIRC, they both support loading multiple music files on the command line. But, I don't really remember if you have to exit the second instance of the command shell in order for the next song to advance.

Attachments

Rich ¥Weeds¥ Nagel
http://www.richnagel.net

Reply 11 of 22, by Malik

User metadata
Rank l33t
Rank
l33t

Heh, I still remember the jug.cmf file. Yeah, I have a faint recollection of trying to play a cmf file and doing something else, just for the sake of it, since doing two things at the same time in DOS seems "new" and "interesting" at that time.

I think I was playing a CMF file and editing my config.sys or autoexec.bat file at the same time. Just maybe. Can't remember well.

5476332566_7480a12517_t.jpgSB Dos Drivers

Reply 12 of 22, by Jorpho

User metadata
Rank l33t++
Rank
l33t++

For the sake of completeness, it is probably worth pointing out that it is fairly trivial even in DOS to start playing an audio CD and keep it playing while doing other things, as that's just a feature of the CD-ROM hardware.

Reply 13 of 22, by rfnagel

User metadata
Rank Oldbie
Rank
Oldbie
Malik wrote:

Heh, I still remember the jug.cmf file.

Hehe... 'da-da-da da da da' 🤣! Man, those were the days... I myself am a bit partial torwards "THECLOUD.CMF" though 😀

(Edit) (re: the topic at hand) You know, I do seem to recall a DOS TSR MIDI player though, but I can't for the life of me remember what it was called.

Rich ¥Weeds¥ Nagel
http://www.richnagel.net

Reply 14 of 22, by ratco

User metadata
Rank Newbie
Rank
Newbie

Hey guys. Sorry for resurrecting an old thread, but I gave a try at the TSR midi player posted above by rfnagel, and even though I got it to work, the midi files I tried either didn't play (some didn't, most did) or sounded not very good. I suspect a different player could maybe give better results (could be wrong). Does anyone knows of any other music player (midi, mp3, whatever) that will work in the background, allowing for us to do something else at the same time? TSR or not.

Thanks!

Reply 15 of 22, by firage

User metadata
Rank Oldbie
Rank
Oldbie
Jorpho wrote:

For the sake of completeness, it is probably worth pointing out that it is fairly trivial even in DOS to start playing an audio CD and keep it playing while doing other things, as that's just a feature of the CD-ROM hardware.

Yeah. The cool thing is that you can start playback in DOS, then reboot the system, enter BIOS and what not, and it won't stop the disc from playing until power is cut. 😀

My big-red-switch 486

Reply 16 of 22, by ratco

User metadata
Rank Newbie
Rank
Newbie
firage wrote:
Jorpho wrote:

For the sake of completeness, it is probably worth pointing out that it is fairly trivial even in DOS to start playing an audio CD and keep it playing while doing other things, as that's just a feature of the CD-ROM hardware.

Yeah. The cool thing is that you can start playback in DOS, then reboot the system, enter BIOS and what not, and it won't stop the disc from playing until power is cut. 😀

Uncool thing is it requires you to use the CD drive. If your machine has no CD drive or you don't want/can't burn your musics to a CD, you require a background player. But, yeah, I used to play CD's a lot back in the day too 😉

Reply 17 of 22, by Jo22

User metadata
Rank l33t++
Rank
l33t++
Jorpho wrote:

There's also "Multiuser DOS", which had various incarnations:
http://en.wikipedia.org/wiki/Multiuser_DOS

That reminds me, I think some of the later versions of DR-DOS had some kind of task switcher as well.

Cool! My dad used PC/MOS 386 way back in the 80s.. ^^
If I recall correctly, DOS Plus also had some rudimentarty multi-tasking capabilities, thanks to its CP/M-86 nature (multi-tasking stuff borrowed from MP/M).
And then, there's also OS/2. It was orginally meant as some kind of hi-end DOS, so it isn't that unrelated. 😉

"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//

Reply 18 of 22, by lightmaster

User metadata
Rank Oldbie
Rank
Oldbie
ratco wrote:

Hey guys. Sorry for resurrecting an old thread, but I gave a try at the TSR midi player posted above by rfnagel, and even though I got it to work, the midi files I tried either didn't play (some didn't, most did) or sounded not very good. I suspect a different player could maybe give better results (could be wrong). Does anyone knows of any other music player (midi, mp3, whatever) that will work in the background, allowing for us to do something else at the same time? TSR or not.

Thanks!

Hey:
Those are ancient tsr midi players.
Game Midis Help @ Mirsoft
Cheers

25071588525_735097840e_b.jpg

Reply 19 of 22, by ratco

User metadata
Rank Newbie
Rank
Newbie
lightmaster wrote:
Hey: Those are ancient tsr midi players. Game Midis Help @ Mirsoft Cheers […]
Show full quote
ratco wrote:

Hey guys. Sorry for resurrecting an old thread, but I gave a try at the TSR midi player posted above by rfnagel, and even though I got it to work, the midi files I tried either didn't play (some didn't, most did) or sounded not very good. I suspect a different player could maybe give better results (could be wrong). Does anyone knows of any other music player (midi, mp3, whatever) that will work in the background, allowing for us to do something else at the same time? TSR or not.

Thanks!

Hey:
Those are ancient tsr midi players.
Game Midis Help @ Mirsoft
Cheers

Hum... what do you mean? I know they are old, but that is not to say that they are not good. It's just a shame we don't have more TSR players outthere 😀