Re: [Freedos-user] How to have sound with freedos under virtual box?
On 9/5/22, tauro via Freedos-user wrote: > >>> I read somewhere that virtualbox under linux supported Speaker, but no >>> good, just soundblaster >>> >> I also found something that also suggested VirtualBox could emulate >> the PC Speaker, but I haven't been able to get it to work either. > > On Linux hosts you can use the hardware speaker (if you have one). > > Example > VBoxManage setextradata FreeDOS > "VBoxInternal/Devices/i8254/0/Config/PassthroughSpeaker" 1 > > Read > https://www.virtualbox.org/manual/UserManual.html#pcspeaker_passthrough > > Tauro > > > ___ > Freedos-user mailing list > Freedos-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freedos-user > Hello. I have speaker, been there since my pentium case, don't have floppy because the doesn't have a connection and the case no place for it. I'll give it a go. -- João Morais ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] How to have sound with freedos under virtual box?
I read somewhere that virtualbox under linux supported Speaker, but no good, just soundblaster I also found something that also suggested VirtualBox could emulate the PC Speaker, but I haven't been able to get it to work either. On Linux hosts you can use the hardware speaker (if you have one). Example VBoxManage setextradata FreeDOS "VBoxInternal/Devices/i8254/0/Config/PassthroughSpeaker" 1 Read https://www.virtualbox.org/manual/UserManual.html#pcspeaker_passthrough Tauro ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] How to have sound with freedos under virtual box?
Hello. I'll try. thank you, i'll let you know how it went. On Sat, Sep 3, 2022 at 7:05 PM Jim Hall wrote: > On Sat, Sep 3, 2022 at 12:07 PM Joao Silva wrote: > > > > Hello Jim. > > > > I tryed Qemu under Linux, never managed to get it running... > > > > This is the command line I use to run QEMU on Linux: > > qemu-system-x86_64 -name FreeDOS -enable-kvm -cpu host -m $memory > -boot menu=on -hda $hda -cdrom $cdrom -device sb16 -device adlib > -soundhw pcspk -vga cirrus -display sdl -usbdevice mouse > > Replace $hda with a hard disk image, and $cdrom with the FreeDOS > LiveCD ISO image. > > Note "-soundhw pcspk" emulates the PC Speaker. > > > > I read somewhere that virtualbox under linux supported Speaker, but no > good, just soundblaster > > > > I also found something that also suggested VirtualBox could emulate > the PC Speaker, but I haven't been able to get it to work either. > > > Jim > > > ___ > Freedos-user mailing list > Freedos-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freedos-user > ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] How to have sound with freedos under virtual box?
On Sat, Sep 3, 2022 at 12:07 PM Joao Silva wrote: > > Hello Jim. > > I tryed Qemu under Linux, never managed to get it running... > This is the command line I use to run QEMU on Linux: qemu-system-x86_64 -name FreeDOS -enable-kvm -cpu host -m $memory -boot menu=on -hda $hda -cdrom $cdrom -device sb16 -device adlib -soundhw pcspk -vga cirrus -display sdl -usbdevice mouse Replace $hda with a hard disk image, and $cdrom with the FreeDOS LiveCD ISO image. Note "-soundhw pcspk" emulates the PC Speaker. > I read somewhere that virtualbox under linux supported Speaker, but no good, > just soundblaster > I also found something that also suggested VirtualBox could emulate the PC Speaker, but I haven't been able to get it to work either. Jim ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] How to have sound with freedos under virtual box?
Hello Jim. I tryed Qemu under Linux, never managed to get it running... I read somewhere that virtualbox under linux supported Speaker, but no good, just soundblaster On Sat, Sep 3, 2022 at 1:36 PM Jim Hall wrote: > On Sat, Sep 3, 2022 at 7:03 AM wrote: > > > > > > I really want to have minimal sound, beeps would be enough for some > > software. > > > > But i tried all settings in virtualbox and get no sound. > > > > Is it a correct assumption to configure soundblaster on each (freedos > > and virtualbox) and you should hear sound? > > My mainboard is a ASUSZ690M-PLUS D4 and of course the host has working > > sound. > > > > Can you give hints? Perhaps someone solved this problem and can give > > advice? > > > > > VirtualBox can emulate a SoundBlaster16, but does not emulate the PC > Speaker. So you won't hear beeps, since those are produced by the > internal PC Speaker and not through SoundBlaster. This is a limitation > with VirtualBox. > > I use VirtualBox to boot FreeDOS on my Linux system. But if I need PC > Speaker output (such as standard DOS "beeps" and other monotones) then > I have to boot FreeDOS in QEMU, which can emulate the PC Speaker. > > > Jim > > > ___ > Freedos-user mailing list > Freedos-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freedos-user > ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] How to have sound with freedos under virtual box?
Hi Wolf. I think it must be some kind of emulation for MS-DOS/Free DOS games, but virtualbox will detect your inboard soundcard since we no longer use external sound cards althoug i have see some from Creative on stores where in Portugal. The prodominant is external sound cards... I don't use much virtualbox for DOS because of the speaker issue, just to tryout. For DOS gaming i try my luck with dosbox or the variant X because of the CPU types. The alternative is to get my 286 to play On Sat, Sep 3, 2022 at 1:32 PM wrote: > Hi Joao. > The most important is speed for a simulation. Then comes sound in > priority, but is important also. > What does mean " support only soundblaster"? I know i can configure it > under virtualbox, but i have no real soundblaster, thats why i wrote > what mainboard i have, with its soundchip.Would it be possible to buy a > Soundblaster, perhaps an "USB soundblaster device" if it exists, and > then i would have SB sound under freedos SUPPORTED BY virtualbox? > Any concrete hint would be appreciated. > Aim is to achieve to have sound in freedos under virtualbox on this host > (Windows 10 wit the ASUS Z690) > > Am 03.09.2022 um 14:12 schrieb Joao Silva: > > You don't. > > Vbox doesn't have speaker support only soundblaster. > > For games use Dosbox or it variants. > > //lists.sourceforge.net/lists/listinfo/freedos-user > > > ___ > Freedos-user mailing list > Freedos-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freedos-user > ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] How to have sound with freedos under virtual box?
> Am 03.09.2022 um 14:12 schrieb Joao Silva: > > You don't. > > Vbox doesn't have speaker support only soundblaster. > > For games use Dosbox or it variants. > > //lists.sourceforge.net/lists/listinfo/freedos-user On Sat, Sep 3, 2022 at 7:30 AM wrote: > > Hi Joao. > The most important is speed for a simulation. Then comes sound in > priority, but is important also. > What does mean " support only soundblaster"? I know i can configure it > under virtualbox, but i have no real soundblaster, thats why i wrote > what mainboard i have, with its soundchip.Would it be possible to buy a > Soundblaster, perhaps an "USB soundblaster device" if it exists, and > then i would have SB sound under freedos SUPPORTED BY virtualbox? > Any concrete hint would be appreciated. > Aim is to achieve to have sound in freedos under virtualbox on this host > (Windows 10 wit the ASUS Z690) Hi Wolf, See my other email. VirtualBox (like any virtualization) provides a layer of abstraction between the "guest" and the "host." The host is the operating system where you run VirtualBox, the guest is the operating system you run inside VirtualBox. In your case, the host is Windows and the guest is FreeDOS. VirtualBox has to emulate any hardware presented to the guest. That's how the guest can "see" a hard drive that only it can use, because VirtualBox has presented a virtual hard drive for it to use. Same for the other hardware on the system, including sound devices. If VirtualBox doesn't emulate some part of the hardware (such as the PC Speaker) then it's as if that hardware doesn't exist for the guest. It doesn't matter what the host has, it's all about what VirtualBox emulates for the guest. VirtualBox emulates a SoundBlaster16, so you can play games like Doom (and a bunch of others) that use the SB16 for sound. To over-simplify, VirtualBox emulates the SoundBlaster16 by "translating" the sound waves that would have gone to the SB16 and playing them back on the host's native sound system. Unfortunately, VirtualBox does not emulate the PC Speaker. To be clear, the PC Speaker was a special piece of hardware that used to be included on early PC motherboards. The "PC Speaker" here doesn't mean the speakers connected to your computer; the "PC Speaker" refers to the internal speaker that generated beeps and other monotones. Early games like Commander Keen also used the PC Speaker to generate sounds. Short version of that is: VirtualBox emulates a SoundBlaster16 but not the PC Speaker. So you won't hear "DOS system beeps" when booting FreeDOS or any DOS under VirtualBox. Because VirtualBox doesn't support it. Jim ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] How to have sound with freedos under virtual box?
On Sat, Sep 3, 2022 at 7:03 AM wrote: > > > I really want to have minimal sound, beeps would be enough for some > software. > > But i tried all settings in virtualbox and get no sound. > > Is it a correct assumption to configure soundblaster on each (freedos > and virtualbox) and you should hear sound? > My mainboard is a ASUSZ690M-PLUS D4 and of course the host has working > sound. > > Can you give hints? Perhaps someone solved this problem and can give > advice? > VirtualBox can emulate a SoundBlaster16, but does not emulate the PC Speaker. So you won't hear beeps, since those are produced by the internal PC Speaker and not through SoundBlaster. This is a limitation with VirtualBox. I use VirtualBox to boot FreeDOS on my Linux system. But if I need PC Speaker output (such as standard DOS "beeps" and other monotones) then I have to boot FreeDOS in QEMU, which can emulate the PC Speaker. Jim ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] How to have sound with freedos under virtual box?
Hi Joao. The most important is speed for a simulation. Then comes sound in priority, but is important also. What does mean " support only soundblaster"? I know i can configure it under virtualbox, but i have no real soundblaster, thats why i wrote what mainboard i have, with its soundchip.Would it be possible to buy a Soundblaster, perhaps an "USB soundblaster device" if it exists, and then i would have SB sound under freedos SUPPORTED BY virtualbox? Any concrete hint would be appreciated. Aim is to achieve to have sound in freedos under virtualbox on this host (Windows 10 wit the ASUS Z690) Am 03.09.2022 um 14:12 schrieb Joao Silva: > You don't. > Vbox doesn't have speaker support only soundblaster. > For games use Dosbox or it variants. > //lists.sourceforge.net/lists/listinfo/freedos-user ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] How to have sound with freedos under virtual box?
You don't. Vbox doesn't have speaker support only soundblaster. For games use Dosbox or it variants. On Sat, Sep 3, 2022 at 1:06 PM wrote: > > I really want to have minimal sound, beeps would be enough for some > software. > > But i tried all settings in virtualbox and get no sound. > > Is it a correct assumption to configure soundblaster on each (freedos > and virtualbox) and you should hear sound? > My mainboard is a ASUSZ690M-PLUS D4 and of course the host has working > sound. > > > Can you give hints? Perhaps someone solved this problem and can give > advice? > > > > ___ > Freedos-user mailing list > Freedos-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freedos-user > ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user