VOGONS


First post, by wiebermensch

User metadata
Rank Newbie
Rank
Newbie

At http://ourworld.compuserve.com/homepages/Rocc … zo/rutils20.zip
I downloaded sample programs.
I executed UTILS\playrsb.exe
I disassembled it like this:
Debug playrsb.exe laserzap.rsb
and... guess what!

It is very strange!! It doesn't contain any DSP intializing code!!
It contains only one OUT instruction:
55) push bp
8BEC) mov bp, sp
8B5606) mov dx, [bp+06]
8A4608) mov al , [bp+08]
EE) out dx, al (OUT 022C,08)
B400) mov ah, 00
5D) pop bp
CB) retf

I searched the web, but I still don't know what DSP command 08 means. Do you guys have some idea?
I consulted next sites:
http://faculty.petra.ac.id/irwankj/ap2/sb16doc.html
http://the.earth.li/~tfm/oldpage/sb_dsp.html
http://www.chez.com/titan/DriversLinux/SBlive/hwmnl.pdf

Reply 1 of 1, by wiebermensch

User metadata
Rank Newbie
Rank
Newbie

You can find Soundblaster programming guide on the internet,
but I made and easy manual including source code.
I hope it is helpful.
Contents:
sbmanual.htm - DSP commands manual
dataarea.htm, codearea.txt, example.com - VOC manual and source
VOCman.exe, VOCman.java - VOC body is consisted of PCM(Pulse Code Modulation) bytes.
Use this java application to understand it NAIVELY(i.e, The graph does NOT
represent EXACT waveform. But you can recognize that high frequency
makes high sound). Java SDK should be installed on your computer.
example.com - This is very simple example program which plays sample
sound. On Windows, you should use VDMSound or DOSBox to hear sound.
sdlexample.exe, sdlexample.cpp - Example demonstrating usage of
SDL audio callback function
SDL.dll, *.class, *.java, computer.gif

Attachments

  • Filename
    sbstudy.zip
    File size
    166.29 KiB
    Downloads
    1605 downloads
    File comment
    SoundBlaster and DSP and PCM
    and SDL manuals and examples
    File license
    Fair use/fair dealing exception