home *** CD-ROM | disk | FTP | other *** search
- # Morse Tutor 1.4
- # Copyright 1997, John Newgas
- # email: jnewgas@cix.compulink.co.uk
- # Packet AX25: G7LTQ@GB7UWS.#32.GBR.EU
- # Working on it . . . . .
- # Personal Use allowed as freeware
- # All rights reserved.
- #
- #
- #
- new
- # opt int
- 100 gosub 900
- 110 gosub 800
- 200 gosub 700
- 210 sound FREQ,CWPM,VOL64,WD$,FWPM
- 220 dprint WD$
- 225 RESP= fn 39
- 226 if RESP = 0 then end
- 227 v=fn 20
- 228 if v<250 then dprint 'Low battery'
- 230 goto 200
- 700 WD$=""
- 710 for W=1 to NUMWD
- 720 for C=0 to 4
- 730 if NMB then WD$=WD$+chr$(48+rnd(10))
- 731 if not NMB then WD$=WD$+chr$(65+rnd(26))
- 740 next C
- 750 WD$=WD$+" "
- 760 next W
- 770 return
- 800 FREQ=val(s$(5)):VOL64=val(s$(7))
- 810 CWPM=val(s$(1)):FWPM=val(s$(3))
- 830 NUMWD=val(s$(9)): NMB=val(s$(11))
- 840 return
- 900 s$(0)="Char Speed": s$(1)="13"
- 910 s$(2)="Farnsworth": s$(3)="10"
- 920 s$(4)="Tone (Hz)" : s$(5)="600"
- 930 s$(6)="Vol(1-64)" : s$(7)="32"
- 940 s$(8)="Words/blk" : s$(9)="3"
- 950 s$(10)="Numbers" : s$(11)="0"
- 960 reply= fn 30
- 970 if reply = 0 then end
- 980 if reply > 1 then goto 900
- 990 return
- run
-
-