@ECHO OFF REM ------------------------------------------------------------ REM NOIZE.BAT - by Neil Rubenking REM REM Enter a frequency as its command line parameter and it REM starts a note of that frequency. Enter NO parameter and it REM shuts the speaker up. REM ------------------------------------------------------------ IF '%1'=='' GOTO Stop STRINGS inv=DIV 1193180,%1 STRINGS inv=CONVERT %inv%,16 STRINGS inv=RIGHT 0000%inv%,4 STRINGS Hi=LEFT %inv%,2 STRINGS Lo=RIGHT %inv%,2 STRINGS /b16 OUT 43,B6 STRINGS /b16 OUT 42,%lo% STRINGS /b16 OUT 42,%hi% STRINGS /b16 AL=IN 61 STRINGS /b16 AL=OR %AL%,3 STRINGS /b16 OUT 61,%AL% GOTO End :Stop STRINGS /b16 AL=IN 61 STRINGS /b16 AL=AND %AL%,FC STRINGS /b16 OUT 61,%AL% :End SET al= SET inv= SET hi= SET lo= @ECHO OFF REM ------------------------------------------------------------ REM MARY.BAT - by Neil Rubenking REM REM Plays a familar tune REM ------------------------------------------------------------ STRINGS /I /Q CALL NOIZE 330 CALL NOIZE 294 CALL NOIZE 262 CALL NOIZE 294 CALL NOIZE 330 CALL NOIZE 330 CALL NOIZE 330 CALL NOIZE 330 CALL NOIZE 294 CALL NOIZE 294 CALL NOIZE 294 CALL NOIZE 294 CALL NOIZE 330 CALL NOIZE 392 CALL NOIZE 392 CALL NOIZE 392 CALL NOIZE STRINGS /U /Q
file: /Techref/DOS/command/strings/NOIZE.BAT, 1KB, , updated: 1992/11/11 21:42, local time: 2024/11/22 10:07,
18.117.154.134:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://sxlist.com/techref/DOS/command/strings/NOIZE.BAT"> DOS command strings NOIZE</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.