How can I play sound through the PC speaker?
How can I play sound through the PC speaker?
I'm trying to implement a simple audio driver for my os. I tried using some codes on the OSDev wiki but it didn't work for QEMU.
Re: How can I play sound through the PC speaker?
If you want sound from QEMU, you must use option -soundhw pcspk
PC speaker driver can seem like https://github.com/Klaykap/BleskOS/blob ... peaker.asm
Code: Select all
qemu-system-i386 -soundhw pcspk -hda youros.img