> >> You can read the ADC directly. I don't remember the port number, but it
> >was
> >> somewhere around 10. It produces 8-bit sample values.
> >> The timing may be difficult, because you have to poll it at the right
> >> frequency.
> >
> >The timing is the whole problem.
>
> What are exactly those timing issues, btw? I'm real good at synchronous
coding.

Well, this is the mainloop:
Take 1 sample and store - wait x time - loop

On the turboR, a timing interrupt is generated. On a normal MSX you will
need to do this by putting NOPs or short loops at the place where you must
wait. On other MSX-computers, I can time the amount of NOPs, ofcourse,
simple calculations. But that wouldn't work on MSX-computers of differing
speeds.

Another possibility: calibrating (I do this in my SIMPL WAV player, if you
want to know how it's done ask me), which works correct on all
MSX-computers, but it isn't as accurate as the first method. Also, the
calibrating needs some time, but that's not a problem because it has to be
done only once at the start of the program (it needs about 3 secs, if you
use a waveform for the calibrating this gives a very cool effect)...

So it IS possible, but not ideal. It won't be the EXACT frequency needed,
and besides, it is not easy to program. I'd rather prefer an interrupt or a
bit which flips at a frequency or n Hertz.

Main reason for wanting such a new cartridge is that I don't have a Philips
MusicModule, which will cost me about 100 (Dutch) bucks, and which I would
only use for recording. Such a cartridge as I described would be cheaper.


~Grauw



****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)
****

Reply via email to