[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ADT query-- ADTCHECK
Bart writes ...
>
> >c:\a2\adt\adt 2 19200
> >
> >Which I guess is just telling ADT to use serial port 2 on the PC
>
> -Did that. Actually, I did it manually instead of a .bat file but
> it is the same.. Here is the main symptom if anyone can figgure it out:
> Everything seems loaded OK, ADT gives the Line1 Line2 Line3 screen on the PC
> side./ On the Apple side it is the standard ADT screen that looks like a
> modified speradsheet. Now, whenever I issue "D" as in dir, the Apple's
> screen goes blank. An esc brings it back.
....
One thing to check is that your ADT file is okay-- i.e. that it was
correctly transferred. Here is a short Applesoft BASIC program you can type in
and save on your ADT disk-- SAVE ADTCHECK-- which calculates a check sum.
10 TEXT : HOME
20 PRINT CHR$ (4)"BLOAD ADT,A$4000"
40 FOR I = 0 TO 2579
50 Z = Z + PEEK (16384 + I)
55 IF I / 500 = INT (I / 500) THEN PRINT "CURRENT SUM= ";Z
60 NEXT I
70 PRINT "CHECKSUM= ";Z
The results for ADT versions 1.21 and 1.22 are ...
ADT (v1.21) ADT(v1.22)
76 76
53958 53958
101079 101079
158919 158919
224503 224504
307268 307117
313020 312869 <-- final value
If you don't care about intermediate checks, leave out Line 55. The result
should be 313020 for v1.21; 312869 for v1.22.
The check is not an absolute guarantee that ADT is not corrupted; but, if
the sum is 'correct', the odds are pretty good that ADT is okay.
Other things to check are ...
o- ADT on the PC is started under DOS, _not_ Windows or a DOS window in
Windows-- i.e., if you normally start your PC under Win95/98, do a 'Restart in
MS-DOS mode' and run ADT under DOS
o- ADT on the PC is set to the correct COM port
o- Your baudrates on the A2 and PC match
You may need to experiment with a lower baudrate. Like, you may need to go
to 9600 or 2400.
Rubywand