The TPDD Basic code when converted is

S10985157C00AD7EF08B3AS901FE

10 PRINT"---INITIAL PROGRAM LOADER---"

20 PRINT"      WAIT A MINUTE!":CLOSE

30 IF PEEK(1)=171 THEN M2=1 ELSE M2=0

40 OPEN "COM:88N1DNN" FOR OUTPUT AS #1

50 ?#1,"KK"+CHR$(M2);

60 FOR I=1 TO 10:NEXT:CLOSE

70 LOAD "COM:88N1ENN",R

 

The TPDD-2 Code when converted is

10 CLS:?"---INITIAL PROGRAM LOADER II---

20 ?"      WAIT A MINUTE!":CLOSE

30 IF PEEK(1)=171 THEN M=4 ELSE M=3

40 OPEN"COM:98N1DNN" FOR OUTPUT AS #1

50 ?#1,"FF";CHR$(M);

60 FOR I=1 TO 10:NEXT:CLOSE

70 RUN"COM:98N1ENN

100 IF MAXRAM<>62960 OR HIMEM<>62960 THEN ?"System exists":NEW

110 CLEAR 256,60000:LA=60000:PL=2800

120 RS=64704:NM=LA:MV=62800:ML=102-1

130 FOR I=0 TO 19:READ HX:POKE RS+I,HX:NEXT

140 HX=PL:GOSUB 450:POKE RS+1,LO:POKE RS+2,HI

150 FOR I=0 TO ML:READ HX:POKE I+MV,HX:NEXT

160 HX=NM:GOSUB 450:POKE 62900,LO:POKE 62901,HI

170 ?"now loading file-manager

180 OPEN "COM:98N1DNN" FOR INPUT AS #1:CALL RS,0,LA:CLOSE

190 CALL PEEK(NM+1)+256*PEEK(NM+2),0,MV

450 HI=INT(HX/256):LO=HX-HI*256:RETURN

500 DATA 17,1,0,205,92,118,205,126,109,119,35,27,122,179

510 DATA 194,198,252,175,48,201

600 DATA 49,80,245,42,180,245,17,81,245,223

610 DATA 212,173,245,33,119,245,34,218,250,33,166,245,34,220,250

620 DATA 62,1,42,180,245,34,244,245,205,43,127,195,151,87

630 DATA 193,205,215,8,43,215,229,42,244,245,68,77,42,103

632 DATA 251,202,64,65,225

640 DATA 207,44,213,205,151,18,43,215,194,70,4,227,235,124

642 DATA 167,242,219,8

650 DATA 213,235,42,180,245,35,235,195,45,65

660 DATA 193,42,180,245,195,173,29,33,80,245,34,180,245,201

662 DATA 80,245

After the last line it looks like the TPDD-2 sends the Floppy-2 program over

 

Great work Gary.

 

Kurt

 

From: M100 [mailto:[email protected]] On Behalf Of Kurt
McCullum
Sent: Wednesday, August 17, 2016 8:41 AM
To: 'Model 100 Discussion' <[email protected]>
Subject: Re: [M100] TPDD/TPDD2 boot disk captures (Take 2)

 

Good stuff. So this is the boot loader code for floppy/floppy2?

 

Kurt

 

From: M100 [mailto:[email protected]] On Behalf Of Gary
Hammond
Sent: Wednesday, August 17, 2016 1:28 AM
To: 'Model 100 Discussion' <[email protected]
<mailto:[email protected]> >
Subject: [M100] TPDD/TPDD2 boot disk captures (Take 2)

 

I have changed the setup for capturing of the backup process for the TPDD2
boot disk from USB/serial adapters on a laptop to PCI quad com card along
with purchasing a copy of DockLight. The results are much cleaner than
before.

 

The log of the TPDD2 boot disk backup is at
<http://trs80stuff.net/tpdd/tpdd2_boot_disk_backup_log_hex.txt>
http://trs80stuff.net/tpdd/tpdd2_boot_disk_backup_log_hex.txt

Reading of the boot disk starts at 17/08/2016 20:02:13.778 and finishes at
17/08/2016 20:02:38.897.

Writing of the new disk starts at 17/08/2016 20:02:56.492 (Line 666 ?!?) and
finishes at 17/08/2016 20:03:32.795

An interesting note is that the copied boot disk will not boot until you
open the write protect tab. Had me stumped for a while.

 

The booting from a TPDD2 boot disk after entering the RUN"COM:98N1ENN"
command has been captured in the file
<http://trs80stuff.net/tpdd/tpdd2_boot_log_hex.txt>
http://trs80stuff.net/tpdd/tpdd2_boot_log_hex.txt

 

The booting from a TPDD boot disk after entering the mini program in the
manual has been captured in the file
<http://trs80stuff.net/tpdd/tpdd_boot_log_hex.txt>
http://trs80stuff.net/tpdd/tpdd_boot_log_hex.txt

 

I have not yet succeeded in capturing the TPDD backup of the boot disk.
There is just enough bleed to the serial sniffer to stop the backup process
commencing after the destination disk has been formatted. The backup program
hangs at the end of the format routine and there is no disk activity after
the heads return to the start position. Normally there looks like a head
seek to read a directory at the end of the format. If I take the serial
sniffer out of the circuit, the backup process works fine. I have tried with
2 different TPDD's and I get the same result. Maybe the serial com circuit
is more sensitive in the TPDD's. I may need to make up an external serial
buffer to boost the RS-232 levels.

 

Cheers,

Gary

Reply via email to