Sound Blaster 16: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content deleted Content added
Line 76: | Line 76: | ||
==Playing sound== |
==Playing sound== |
||
# |
# Reset DSP |
||
# Load sound data to memory |
# Load sound data to memory |
||
# Turn speaker on |
|||
# Program ISA DMA |
# Program ISA DMA to transfer |
||
⚫ | |||
# Set time constant |
|||
⚫ | |||
⚫ | |||
⚫ | |||
# Write type of sound data |
|||
# Write data lenght to DSP(Low byte/High byte) |
# Write data lenght to DSP(Low byte/High byte) |
||
===Programming DMA=== |
|||
{| {{wikitable}} |
|||
! Port |
|||
! Description |
|||
|- |
|||
| 0xC4 || Address |
|||
|- |
|||
| 0xC6 || Count |
|||
|- |
|||
| 0x8B || Page |
|||
|- |
|||
| 0xD4 || Single mask |
|||
|- |
|||
| 0xD6 || Transfer mode |
|||
|- |
|||
| 0xD8 || Clear pointer |
|||
|- |
|||
|} |
|||
==Code== |
==Code== |