Dear Adam User;

     Bob Hendrickson has been kind enough as to release a program
which he has put together for accessing the SmartCLOCK product
offered by TRISYD VIDEO GAMES.  Bob's desire was to incorporate
the clock display into his own program so as to trigger an event
at specified times.  The program below is a direct extract from
the articles published in AIM and N.I.A.D.  It suffers from
catering to the internal version of SmartCLOCK.  The external
version or digitizer version, places the machine language overlay
at a different memory address.  For this reason, Dave McIntosh
wrote to me asking why Bob's program wouldn't work with his
Digitizer clock.  Please note the program below then read the
letter afterwards which has been sent to Dave. 


* Thanks for sharing this information with us all Bob!


10 REM  HELLO PROGRAM
20 LOMEM :29000: POKE 16150,255
30 PRINT CHR$(4); "Bload clocki"
40 POKE 64885,145 : CALL 28000
50 LOMEM :27407
60 PRINT CHR$(7),CHR$(7)
70 PRINT "Welcome to Bob's BASIC"
80 PRINT "press 'undo' key"
90 GET KEY$: TEXT
100 PRINT
110 PRINT CHR$(4); "RUN TIME"

10 REM  TIME
20 LET t$ =""
30 TEXT
40 FOR n = 0 TO 22
50 LET t$ = t$+CHR$(PEEK(56344+n))
60 NEXT n
70 PRINT " "; t$
80 NEW

10 REM  TIME
20 GOSUB 120
25 IF r <> 0 THEN GOTO 68
30 PRINT MID$(a$, 1, 16)
40 PRINT MID$(a$, 19, 5); "  START"
68 LET t$ = ""
69 FOR n = 0 TO 2
70 LET t$ = t$+CHR$(PEEK(56366+N))
75 NEXT n
80 IF t$ ="5:0" THEN PRINT MID$(a$, 19, 4)+LEFT$(t$, 1);:GOSUB 98
85 GOSUB 120
90 IF t$ ="0:0" THEN PRINT MID$(a$, 19, 4)+LEFT$(t$, 1);:GOSUB 98
96 GOSUB 120
97 GOTO 68
98 LET r = 0
100 FOR n = 0 TO 4000
102 LET r = r+RND(1)
103 NEXT n
104 PRINT TAB(10); INT(r)
110 RETURN
120 LET a$ = ""
140 FOR n = 0 TO 25
150 LET a$ = a$+CHR$(PEEK(56344+N))
160 NEXT n
190 RETURN



                                 Nov 17, 1990

Hello Dave,

It's good to hear from you again.  We don't communicate enough
considering your close by in Adam community terms.  In regards to
your letter dated Nov 8th, Robert Hendrickson's program was
written for the internal clock version.  This is why he
references the "clocki" machine language overlay file.

Since you have the digitizer version, your overlay files are
named "clockd", d representing for digitizer.  There is a
difference between the two clocks.  The difference is where the
machine language overlay relocates itself after being installed. 
As you can see, in Bob's "Hello" program, he installs the clock
then in line 50 he resets the lomem to 27407.  This is not
possible in your model since it remains in lower memory.  The
internal clock overlay file relocates to upper memory, occupying
the second 1k DCB area normally reserved for your second open
file.  Since most people only work with 1 file at a time, the
choice of limiting the amount of open files is marginal compared
to the extra memory freed.  For reference purposes, the overlay
file is reloaded into memory 56320.

The overlay file used with your digitizer remains at it's load
location.  That being 28000.  Therefore by simply removing line
50 in Bob's "Hello" program (To allow the overlay file to remain
in memory without being clobbered by incoming program loads) and
changing all references of memory loc 56344 to 28024 and 56366 to
28046, Bob's program should work.

You may wonder why the difference between the two clocks.  This
is because accessing the digitizer clock requires bank switching
upper memory space to that of the game cartridge.  Since upper
memory is not accessible then at this time, it would require a
lot of ping ponging before the entire time could be read and
stored into memory.  For this reason I keep the overlay file in
lower memory and eliminate the problem.  The sacrifice in memory
is less than 1k plus you get full use of open files.

As for the Dynomite Sound Digitizer, no updates have been
released as of yet.  I am working on compression routines at this
time.  The promise of an 8:1 ratio looks good.  This and other
sound related software have kept me busy.  Tips re the
digitizer...  Hmm...  well consider that voice will digitize much
better than music, if you have control over the tone of your
input then reduce the bass a bit to provide some crispness, use a
quality audio source.

             **** Nice hearing from you, see ya at ACON 03 ****


Note:  SmartCLOCK is a product offered by Trisyd Video Games.  It
is available through N.I.A.D., AIM, Adamlink of Utah or direct
from Trisyd Video Games.
       Dynomite Sound Digitizer is an audio sampling device which
allows audio signals (such as your voice) to be captured and
saved onto tape/disk.  The resultant file can be played back
through Adam's own sound chip with amazing clarity.  No hardware
is required to reproduce the audio thus making the sound samples
portable to others who don't own a digitizer.
       N.I.A.D. is an Adam users group/ product support business
operating out of Chicago Il.  The contact there is Jim Notini who
frequents Compuserve.  You can write to them at:
     Compu Kingdom
     6460 College Road
     Lisle, Illinois
     U.S.A.  60532       (708) 961-3529

     AIM is an Adam support business operating out of Pearland
Texas.  The contact there is Terry Fowler.  Their address is:
     AIM
     Route 2, Box 2756
     Pearland, Texas
     77581               (713) 482-5040 M-S 9am-6pm

     Adamlink of Utah is another support business which operates
out of Utah.  The contact person there is Alan Neeley.  Alan also
frequents Compuserve.  You can write to him at:
     Adam Link of Utah
     2337 South 600 East
     Salt Lake City, UT
     84106               (801) 484-5114

     Dave McIntosh is an active Adam user who operates out of
London Ontario.  He has assisted with the preparation of Adamcon
01 and 02 in respect to producing the meal tickets using power
paint on his Adam.  Robert Hendrickson's address or where abouts
is unknown.  When he wrote to me back around February I was so
swamped with getting products ready that I neglected to keep his
address on file.  Compuserve is an information service which
needs no special introduction.  Weekly conferences are held every
Sunday night at 10:00pm where you can most likely meet the people
mentioned here.
Trisyd Video Games has been in business for 6 years now
supporting the Adam community.  The contact person there is Syd
Carter and can be reached at:
     26 Florence Cres
     Toronto, Ontario
     Canada  M6N 4E4     (416) 769-6446 Best to call after 9:30pm

17 November 1990

    