Msg: 6465 *Conference*

04-24-96 18:17:03

From: RON WIESEN

To : ALL

Subj: NEED MODEL 200 INFO (NEC ALSO)

To any Tandy Model 200 laptop owners: please participate (NEC owners welcomed
also).  Take a moment to gather some info and place it in this conference. I'll
then combine it with info about the Tandy Models 100 and 102 and place it here
so we may all benefit. 
 
Here's what to do. Go to BASIC and type the following:
 
FORA=64TO255:IFPEEK(A)THENNEXTELSE?A;:NEXT
 
There's about a 50-50 chance that one number will show. If any number shows
that is not 72, great - send a message to me about the number (or numbers if we
are lucky enough to get more than one) via this conference.  If not, then go to
BASIC and type the following: 
 
MAXFILES=1:OPEN"AZERO"FOROUTPUTAS1:FORA=31009TO32767:IFPEEK(A)THENNEXTELSE?
#1,A;:NEXT
 
In 15 seconds, "Ok" appears. Type NEW then type MENU and you'll see file name
AZERO.DO listed. Send a message to me via this conference and attach the file.
It will contain about 200 numbers. 
 
When you send me this info, I'll post a message in this conference regarding
the result of combined info on Tandy Models 100, 102, and 200 (and the NEC
laptops).  The combined result will be very little but very useful info! Call
this info "laptop fingerprints" which is used in programs (BASIC or machine
language) to accomodate different laptops models. 
 
I won't explain why ZERO is the best fingerprint or why certain addresses are
best places to look for fingerprints.  Once we have the best info, it is simple
to use and helps us all.  Here's an example based on only Model 100 and Model
102 info. 
 
The BASIC statement PRINT"Model"100+PEEK(31009) produces different results for
different models: 
 
 Model 100     shows for a Model 100, but
 Model 102     shows for a Model 102, and
 Model 101     shows for an IBM PC.
 
It's more than cute.  It has much value where model differences can cause havoc
or where generic "all-model" programs must be used.  Consider the following: 
 
IFPEEK(72)THENGOTO200'not Model 100 or Model 102, maybe Model 200
 
The machine language equivalent of the above is:
 
 GETMODEL:       LDA     72
 ISMODEL:        CMP     A
 NOT100102:      JNZ     MAYBE200:
 MODEL10X:       EQU     $
 .
 .
 MAYBE200:       EQU     $               ;maybe a NEC laptop
 
Without Model 200 fingerprint info, programs for other laptops can't have
guards against finding themselves in a Model 200 and wreaking havoc.  Thanks in
advance for your participation.