mnelson@vmsa.oac.uci.edu (11/22/89)
good morning, all. for quite a while now, i've been trying to figure out how to read the audio digitizer on my A1000 from a Modula-2 program. unfortunately, i have had only limited success. as i dont have a hardware reference manual, i used as a launching point a fragment of C code supplied by the good folks who manufactured the digitizer. their code goes directly into the i/o chip to do it's thing, so i dont really understand the code, since it reads/writes to lots of memory locations with which i am not familiar. to make things worse, my M2 program is having trouble modifying some of those locations (according to the debugger...). actually i have gotten some samples out of the thing, but only after completely negating the logic of the C code, resulting in lots of crap spewing out of the printer during the sampling. something is very wrong. my real question is this: does anybody have any information on reading an audio digitizer (a parallel one)? would anybody be willing to contribute a fragment of code to my effort (preferably M2, but anything is ok)? the specific set-up is a Future Sound digitizer (mono, printer switch, anybody remember this one?), i'm using Benchmark Modula-2, and the above-mentioned C fragment is something the guys at Applied Vision call 'C Porter', with a routine 'Get_Funky'. any information on reading this thing in any way would be mucho appreciated. i think that these things have quite a bit of hobby potential, and have been frustrated for quite a while on this. many thanx in advance. -matt