972
edits
[unchecked revision] | [unchecked revision] |
m (Bot: Replace deprecated source tag with syntaxhighlight) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 80:
===Programming DMA===
You can get more info about
Programming 8 bit transfers throught channel 1 (channel number is 1):
Line 150:
==Code==
<
%macro OUTB 2
mov dx, %1
Line 196:
;now transfer start - don't forget to handle irq
</syntaxhighlight>
==QEMU support==
Line 214:
## Add any sound card to the VM
## In virt-manager's Edit -> Preferences menu check the "Enable XML editing" box.
## Open VM's hardware and after selecting the sound card, click on the XML tab and replace its contents with:<
# Run the OS using QEMU's <code>-curses</code> option or use QEMU's <code>-kernel</code> and <code>-nographic</code> (serial console): in this case, there will be no "freeze", but there still be some flickering in the audio.
|