From: Julius Schwartzenberg <julius@zgod.cjb.net>
To: linux-msdos@vger.kernel.org
Subject: Re: Sound support (2), using hardware directly
Date: Sun, 24 Jul 2005 17:13:04 +0200 [thread overview]
Message-ID: <42E3B000.40909@zgod.cjb.net> (raw)
In-Reply-To: <42E2981A.609@aknet.ru>
Stas Sergeev wrote:
>> Do you think it would be possible to allow complete direct access to
>> the Sound Blaster card in Dosemu, so that I could set the mixer from
>> Dosemu?
>
> Yes, this must be possible.
> You won't hear any sound in
> most cases, but the mixer will
> work, and so will the OPL3. Just
> don't forget to tell your DOS
> programs that it is the Adlib,
> not SB, or the detection will fail.
> Actually, even the sound will
> work in some very old games like
> "Another World", which do not use
> the DMA.
I've been trying to get this to work, but I haven't succeded so far.
I've added an extra $_ports line for the 0x220 range of ports and I'm
passing IRQ 5. (At boot-up I see this one is assigned to the card.) It
seems that the card still needs some extra initialization before it will
work though. I've got the DOS driver working on a Dos partition, but
loading Linux after that with linld (loadlin doesn't seems to work with
my kernel), the sound is gone again in Dosemu. The mixer I'm using isn't
able to detect the card anymore.
I don't know if it would be possible to do the initialization from
within Dosemu, but I think that would require to much direct hardware
access.
Julius
next prev parent reply other threads:[~2005-07-24 15:13 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-23 19:18 Sound support (2), using hardware directly Stas Sergeev
2005-07-24 15:13 ` Julius Schwartzenberg [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-07-23 12:30 Stas Sergeev
2005-07-23 12:27 Stas Sergeev
2005-07-23 18:16 ` Julius Schwartzenberg
2005-07-23 9:45 Stas Sergeev
2005-07-23 11:16 ` Julius Schwartzenberg
2005-07-23 12:19 ` John R. Sowden
2005-07-22 17:56 Stas Sergeev
2005-07-22 18:20 ` Julius Schwartzenberg
2005-07-22 4:03 Stas Sergeev
2005-07-22 13:11 ` Julius Schwartzenberg
2005-07-19 12:54 Stas Sergeev
2005-07-21 20:17 ` Julius Schwartzenberg
2005-07-19 4:18 Stas Sergeev
2005-07-19 11:11 ` Julius Schwartzenberg
2005-07-18 19:25 Julius Schwartzenberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42E3B000.40909@zgod.cjb.net \
--to=julius@zgod.cjb.net \
--cc=linux-msdos@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox