Category : BASIC Source Code
Archive   : QBFAQR01.ZIP
Filename : QBSPEAK1.QRM
BBS: PC Connect
Date: 07-16-92 (04:33) Number: 13513
From: RICH GELDREICH Refer#: NONE
To: ALL Recvd: NO
Subj: PC-SPEAKER ROUTINES Conf: (11) R-QBasic
---------------------------------------------------------------------------
Here is an assembly program, callable from QB or PDS, that plays signed
digitized samples in the background on the PC-Speaker. I've included
the .ASM source code and an assembled .OBJ file for those that aren't
lucky enough to have an assembler.
Just capture the next two messages or so, run them with in QB and unzip
the file "qbtweakr.zip".
DEFINT A-Z:FOR A=0 TO 6:P(A)=2^A:NEXT
OPEN "B",1,"qbtweakr.zip":B$=" ":I=1
FOR A=1 TO 7310:IF L=0 THEN GOSUB G: L=6
W=T\P(6-L)
DO WHILE L<8: GOSUB G: W=W OR T*P(L):L=L+6: LOOP
L=L-8:B$=CHR$(W AND 255):PUT #1,,B$:NEXT:END
G:IF I>LEN(W$) THEN READ W$: I=1
T=ASC(MID$(W$,I))-35:I=I+1:RETURN
DATA"3PW#'K####C$#7L+MFDD864$a*###'X#######0(W5(085*\G.%(W70+3#5/%(8;"
DATA"V0KHKI>V6$)+T''8O`9Ab6YWCQWE1XGA7J]5D)WL%5DI:3-XW19W%UF99Y59\9IGb)"
DATA"MS658WIY\%%DB]EYU%5\aY]5ZW]YUO_*9]%UY)9U9IM^S@OP?QSPOD@PH811RH>;@^"
DATA"?<&Z^Wa9ZO_1OEHPHX($^,<``@H>=L><)9T`5[`?J><>&Y.WXI00@R$\;&.>-A6931"
DATA"ZWA9Z-6:K`QPO+`0=#][@.^83:DNVVb:_]TUY]5)VbW3PB*W@\Ka+>JK(XK,XL7(G$"
DATA"PH=<\2L0(G;(HUOIX/(.RT=/$<2$,/X,+VETR0NTV>Fa7L3a1'62$,8B-+JL0/A28M"
DATA"97KC?b(CRL$[>3%ECZ1P19@(7F_(b^8%%N@71WJ1877b(aQIZWHU/*'RRTS^;1U7%5"
DATA"8?bYHVG)FB)26Ta8C.(EaPR0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D=`45`(84(+-7TF=C3LQ;.;\9M-F DATA"L__DHNM8QT_J\2UaP1a=I^=P]V.\Q&TTY#'7;Z&;_X3Z7;H`5ZXID6b%[WP>ZUR:0G"
DATA"N$bIFH%*B[:^V*5/IN]<'?]DTY,8,a0AY3_D>2?0`C^[NKA+TT5-P49ZBFHPVSQ,C%"
DATA"1$*O/_1+(`VMJ@_(/BT/R
'continued...
RBBS-UTI v2.0 :
PCRelay:BBSBBS -> #1551 RelayNet (tm)
4.11 -* BB's BBS from Atco, NJ (609)768-6585 *-
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/