BBS: Inland Empire Archive Date: 05-17-92 (23:30) Number: 161 From: RICH GELDREICH Refer#: NONE To: SCOTT STOUFFER Recvd: NO Subj: Re:sound Source?? Conf: (2) Quik_Bas
> Is there any way to program the Disney Sound Source from Quick > Basic?? > > Scott, > > Yes, there certaintly is. You have to output bytes to ports 0378h, & 037Ah [assuming that the sound source is in LPT1]. I have some code to do it, and I'll see if I can find it for you. Rich Geldreich --- RBBSMAIL 17.2A * Origin: Computer Co-Op RBBS HST, 609-784-9404 Voorhees NJ (RBBS-PC 1:266/29) 23/49: Line Printer blues Name: Jack Hudgions #60 @9443 Date: Sat May 09 00:49:49 1992 From: Life Arts Network BBS [904-656-3433] Reply to: Hyperion #37 @5312 H| I need a suggestion for my printout. I need more than 80 columns, so I have | set the printer to condensed (132) print, but QB45 only sends 80 chrs per | line, then wraps to the next line. If you're using LPRINT statements, inserting the line WIDTH LPRINT 255 will do the trick. Make sure it's executed before your first LPRINT. Actually, 132 instead of 255 would work, but I recommend this for all QB programs which use LPRINT - QB's line wrapping can be a real pain, and this gets rid of it. If you're opening a file and printing to it, you have a couple of options. The best is to use WIDTH #n, 255 - where n is the number of the file. Place it right after the OPEN statement for that file. It will not have any effect if the output is going to a disk file - only if it's going to the printer, which should be what you'd want. You can also specify a device instead of a file number, but this isn't as reliable if you allow your users to select the output device. * OLX 2.2 * A BBSer's telephone bill knows no bounds... [נננ Life Arts Network BBS נננננננננננננננננננננננננננננננננננננננננננננננננ] [נננ WWIVnet @9443 נ QWK Packet Compatible נ v.32bis נ 904-656-3433 ננננננננ]
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