Sound Blaster 16: Difference between revisions
[unchecked revision] | [unchecked revision] |
Content deleted Content added
Add the "QEMU support" section |
m fix typo |
||
Line 89:
# Send low bits of position to port 0x02(addr. port of channel 1) For example(see above) is 0x50.
# Send high bits of position to port 0x02(addr. port of channel 1) For example(see above) is 0x04.
# Send low bits of
# Send high bits of
# Enable channel by writing channel number to port 0x0A
Line 100:
# Send low bits of position to port 0xC4(addr. port of channel 5) For example(see above) is 0x50.
# Send high bits of position to port 0xC4(pos. port of channel 5) For example(see above) is 0x04.
# Send low bits of
# Send high bits of
# Enable channel by writing channel number to port 0xD4
Line 147:
# Write transfer mode to DSP
# Write type of sound data
# Write data
==Code==
Line 192:
OUTB 0x22C, 0xC0 ;8 bit sound
OUTB 0x22C, 0x00 ;mono and unsigned sound data
OUTB 0x22C, 0xFE ;COUNT LOW BIT - COUNT
OUTB 0x22C, 0x0F ;COUNT HIGH BIT - COUNT
;now transfer start -
</source>
|