Re: Need sound blaster in

 BBS: Inland Empire Archive
Date: 11-19-92 (05:48)             Number: 327
From: RICH GELDREICH               Refer#: NONE
  To: VICTOR YIU                    Recvd: NO  
Subj: Re: Need sound blaster in      Conf: (2) Quik_Bas
> Sorry for getting slightly off topic, but I was, about 3 months ago,
> making a DAC converter connected to my parallel port for my MOD
> players. After hours and hours of soldering, removing, testing, and
> such, I still can't get it to work.  (Sigh.)  All it gives me is
> static like-sound -- more static
> when sound is loud -- and in the higher frequencies...

    Either you weren't connecting the resistors in the correct fashion,
or some of the 8 data lines where either in the wrong order, or some
weren't connected.

    To test out such a device, I made up a small QB program that pulsed
a certain pin of the printer port.

    Something like:

    DEFINT A-Z
    DO
         OUT &H378, 1
         FOR T=1 to 500:NEXT
         OUT &H378, 0
         FOR T=1 to 500:NEXT
    LOOP UNTIL LEN(INKEY$)

    I then tested out each data line. After I got a small flutter out of
the first line, I changed the "OUT &H378, 1" to "OUT &H378, 2", and
tested out the second line. Then 4, 8, 16, 32, etc. all the way up to
128. As you increase the number by a power of 2, the flutter should get
loader and loader, linearly by a facter of 2(the second line creates a
flutter twice as load as the first line, the 3rd twice as load as the
2nd, etc.). This technique works very well for me- give it a try!

    Hope I helped some!

    Rich

--- MsgToss 2.0b
 * Origin: Computer Co-Op - Voorhees, NJ | Ted Hare (1:266/29)
Outer Court
Echo Basic Postings

Books at Amazon:

Back to BASIC: The History, Corruption, and Future of the Language

Hackers: Heroes of the Computer Revolution (including Tiny BASIC)

Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution

The Advent of the Algorithm: The Idea that Rules the World

Moths in the Machine: The Power and Perils of Programming

Mastering Visual Basic .NET