home *** CD-ROM | disk | FTP | other *** search
- SHELL "SBFMDRV.COM"
- SCREEN 13
- FOR d = 0 TO 1000: NEXT d
-
- begin:
- CLS
- FOR c = 16 TO 31 STEP 1
- LINE (0 + c, 0 + c)-(320 - c, 200 - c), c, BF
- CIRCLE (0, 0), 20, c: PAINT (1, 1), c
- CIRCLE (320, 0), 20, c: PAINT (319, 1), c
- NEXT c
- LINE (0 + c, 0 + c)-(320 - c, 200 - c), 0, BF
- FOR d = 0 TO 3000: NEXT d
- FOR c = 16 TO 31 STEP .2
- NEXT c
- COLOR 48: LOCATE 5, 5: PRINT " Q-SOUND! Ver 1.0"; CHR$(145)
- COLOR 4: LOCATE 8, 12: PRINT "P>lay F>ast Forward"
- LOCATE 12, 12: PRINT "R>ecord E<X>it"
- LOCATE 16, 12: PRINT "H>elp me dammit!"
- LOCATE 18, 9: PRINT "D>irectory of current dir"
-
- st:
- A$ = INKEY$: IF A$ = "" THEN GOTO st
- IF A$ = "p" OR A$ = "P" THEN GOSUB pl
- IF A$ = "f" OR A$ = "F" THEN GOSUB ff
- IF A$ = "r" OR A$ = "R" THEN GOSUB rec
- IF A$ = "x" OR A$ = "X" THEN GOSUB xit
- IF A$ = "h" OR A$ = "H" THEN GOSUB helpmedammit
- IF A$ = "d" OR A$ = "D" THEN GOSUB directory
- GOTO st
-
- pl:
- LOCATE 24, 1: INPUT "Filename"; f$: LOCATE 24, 1: PRINT "Playing..."
- SHELL "PLAY " + f$ + " /Q"
- LOCATE 24, 1: PRINT "....Done....": GOTO begin
-
- ff:
- LOCATE 24, 1: INPUT "Change directory"; cd$: LOCATE 24, 1: PRINT STRING$(20, 32)
- SHELL "CD \" + cd$
- GOTO begin
-
- rec:
- FOR d = 0 TO 2500: NEXT d
- CLS
- LOCATE 4, 4: PRINT "Sorry, you gotta register to do this!"
- PRINT "See REGISTER.GIF with a .GIF based file viewer"
- PRINT " -OR-"
- INPUT " Do you want to view it now"; vr$
- IF LEFT$(vr$, 1) = "y" OR LEFT$(vr$, 1) = "Y" THEN SHELL "CD\QPLAY": SHELL "BITMAP REGISTER.GIF"
- GOTO begin
-
- helpmedammit:
- CLS
- PRINT " Main Menu Stuff"
- PRINT "Play- Plays any sound files you have (or included ones!)"
- PRINT "FastForward- Changes to directory you specify"
- PRINT "Record- (Registered Version) Records sounds thru MIC at up to"
- PRINT "15.160KHz"
- PRINT "Exit- Exits the program and returns to that great ol' C:\> prompt!"
- INPUT "PRESS ENTER..."; A$
- CLS
- PRINT "Helpmedammit!- The help screen you are (hopefully) viewing now"
- PRINT "Sounds- Plays any .VOC, .WAV, .MID, or .CMF sound file"
- PRINT ".VOC- Creative Labs VOICE file format"
- PRINT ".WAV- Windows WAVE file format"
- PRINT ".MID- MIDI sound file format"
- INPUT "PRESS ENTER..."; A$
- CLS
- PRINT "KHz- KiloHertz, rate at which a sound is recorded,"
- PRINT "samples per second. The bigger the number, the higher"
- PRINT "the quality of the recorded sound, but results in a much"
- PRINT "bigger file (15 sec @ 44.1KHz ≈ 660k!!)"
- PRINT "Pretty Darn HELPful, eh?"
- PRINT
- INPUT "I'm ready to go back to the nifty menu..."; m$: GOTO begin
-
- directory:
- SHELL "DIR /P "
- GOTO begin
-
- xit:
- LOCATE 24, 1: INPUT "Sure"; xit$
- IF LEFT$(xit$, 1) = "y" OR LEFT$(xit$, 1) = "Y" THEN PLAY "ALIENEN.WAV": SYSTEM
- LOCATE 24, 1: PRINT STRING$(20, 32)
- RETURN
-
-
-