Newsgroups: comp.sys.sinclair
Path: ulke.hiMolde.no!trane.uninett.no!sunic!uunet!zeus.ieee.org!lll-winken.llnl.gov!uwm.edu!news.alpha.net!news.mathworks.com!udel!gatech!swrinde!pipex!uknet!comlab.ox.ac.uk!imc
From: imc@comlab.ox.ac.uk (Ian Collier)
Subject: Re: ZX81 myth???
Message-ID: <6021.imc@uk.ac.ox.prg>
X-Local-Date: Monday, 6th February 1995 at 2:41pm GMT
Originator: imc@msc1.comlab
Organization: Oxford University Computing Laboratory
References: <1995Feb3.113524.25901@leeds.ac.uk> <D3Ftys.7yA@cix.compulink.co.uk>
Date: Mon, 6 Feb 1995 14:41:42 GMT
Lines: 35

In article <D3Ftys.7yA@cix.compulink.co.uk>, cmeeks@cix.compulink.co.uk ("Colin Meeks") wrote:
>I remember a variation of this being done, by switching the ZX81 from 
>Slow mode, to Fast mode and back again.  Depending on the amount of time 
>you did this, depended on the not you got.  Sound quality wasn't 
>brilliant, but you could get a tune out of it.

I think "Your Computer" had a listing which said something like...

  10 IF INKEY$="" THEN GOTO 10
  20 SLOW
  30 FAST
  40 IF INKEY$="1" THEN GOTO 20
  50 SLOW
  60 FAST
  70 IF INKEY$="2" THEN GOTO 50
  80 SLOW
  90 FAST

  ...etc...

1000 GOTO 10

Since the speed of GOTO depends on the target line number, this should
produce a different note for each key.  No idea whether it works
though...

Ian Collier - Departmental Lecturer (and perpetual postgrad student) -
imc@comlab.ox.ac.uk - Oxford University Computing Laboratory, Wolfson
Building, Parks Road, Oxford OX1 3QD - WWW Home Page (including Spectrum
section): http://www.comlab.ox.ac.uk/oucl/users/ian.collier/index.html

New to this group?  Answers to frequently-asked questions can be had from
http://www.nvg.unit.no/spectrum/ .
>New< - Visit the Sam Coup FAQ at:
http://whirligig.ecs.soton.ac.uk/~tsp93/Coupe/FAQ.txt .
