home *** CD-ROM | disk | FTP | other *** search
- 1000 goto1040
- 1010 open15,9,15:close15:ifst=0then1030
- 1020 open15,10,15:print#15,"m-w"chr$(119)chr$(0)chr$(2)chr$(32+9)chr$(64+9):close15
- 1030 dn=9:open15,dn,15:goto1080
- 1040 input"[147]1571 devicenumber";dn
- 1050 open15,dn,15
- 1060 print#15,"ui":input#15,a,b$,c,d:printa;b$;c;d
- 1070 ifright$(b$,4)<>"1571"thenprint"no 1571":end
- 1080 print#15,"u0>m1
- 1090 [153]"load 71reads41back
- 1100 print"a 1571 can read the second side of a
- 1110 [153]"41 disk without turning round the disk.
- 1120 print"the program reads the blocks from end
- 1130 [153]"to beginning.
- 1140 print"because of the mechanical bump it can
- 1150 [153]"only read track 5 to 35.
- 1160 print"it's impossible to read track 1 to 4.
- 1170 [153]"freeware of
- 1180 print"near letter quantity
- 1190 [153]"jochen adler
- 1200 print"haeldestr. 9
- 1210 [153]"d74912 kirchardt
- 1220 print"germany
- 1230 [153]"nlq@gmx.de
- 1240 print#15,"m-r"chr$(10)chr$(28):get#15,a$:a=asc(a$+chr$(0))
- 1250 print"status of last time:"a
- 1260 i=768:print"transfering program to 1571. please wait
- 1270 [135]a:[139]a[177][171]1[167][152]15,"m-w"[199](i[175]255)[199](i[173]256)[199](2)[199](a)
- 1280 [139]a[177][171]1[167][151]49152[170]i,a:i[178]i[170]1:[137]1270
- 1290 [153]"adjusting to track 18. please wait
- 1300 tr=18:se=255:em=1:gosub1810
- 1310 a$(0)="del
- 1320 a$(1)[178]"seq
- 1330 a$(2)="prg
- 1340 a$(3)[178]"usr
- 1350 a$(4)="rel
- 1360 [153]"reading dir. please wait
- 1370 em=0:tr=18:se=0:gosub1810
- 1380 print"0 "chr$(34);
- 1390 fori=49152+144to49152+159:printchr$(peek(i));:next
- 1400 printchr$(34)"[160]";
- 1410 fori=49152+162to49152+166:printchr$(peek(i));:next:print
- 1420 fori=49152+4to49152+143step4
- 1430 ifi=49152+72then1450
- 1440 bf=bf+peek(i)
- 1450 next
- 1460 tr=18:se=1
- 1470 gosub1810
- 1480 fori=49152+2to49152+8*32step32
- 1490 ifpeek(i)=0then1660
- 1500 b=0
- 1510 a$=left$(str$(peek(i+28)+peek(i+29)*256)+" ",6)
- 1520 print"[157]"a$;chr$(34);
- 1530 j=3
- 1540 a=peek(i+j)
- 1550 ifa=160thenifb=0thenb=1:a=34
- 1560 ifb=1thena=aand127
- 1570 printchr$(a);
- 1580 j=j+1:ifj<19then1540
- 1590 a=34:ifb=1thena=32
- 1600 printchr$(a);
- 1610 a=32:ifpeek(i)<128thena=42
- 1620 printchr$(a);
- 1630 printa$(peek(i)and7);
- 1640 a=60:if(peek(i)and64)=0thena=32
- 1650 printchr$(a)
- 1660 next
- 1670 tr=peek(49152):se=peek(49152+1)
- 1680 iftr>0then1470
- 1690 print"[157]"bf"blocks free.
- 1700 [153]"dir finished
- 1710 print"now: read blocks from 1571 to c64 at":print"$c000
- 1720 em[178]1
- 1730 [152]15,"m-r"[199](10)[199](28):[161]#15,a$:a[178][198](a$[170][199](0))
- 1740 [153]"status of last time:"a
- 1750 [133]"track";tr
- 1760 [133]"sector";se
- 1770 [141]1810
- 1780 [137]1730
- 1790 [128]
- 1800 [143]================================
- 1810 [139](tr[179]5)[176](tr[177]35)[167][153]"illegal track":[133]"continue";a$:[142]
- 1820 [152]15,"m-w"[199](6)[199](0)[199](2) [199](tr)[199](se)
- 1830 x[178]10
- 1840 [152]15,"m-w"[199](0)[199](0)[199](1) [199](224)
- 1850 [152]15,"m-r"[199](0)[199](0)
- 1860 [161]#15,a$:a[178][198](a$[170][199](0))
- 1870 [139]em[178]1[167][153]a
- 1880 [139]a[177]127[167]1850
- 1890 [139]a[178]1[167]1920
- 1900 x[178]x[171]1:[139]x[177]0[167]1840
- 1910 [153]"error":[133]"continue";a$:[142]:[143]===================
- 1920 [139]se[177]127[167][142]
- 1930 [152]15,"m-r"[199](0)[199](6)[199](0)
- 1940 [139]em[178]1[167][153]"read buffer from 1571 to c64 to c000":[153]"please wait
- 1950 poke780,dn:sys65460:rem talk
- 1960 poke780,96+15:sys65427:rem secundary address
- 1970 fori=0to255:sys65445:poke49152+i,peek(780):next
- 1980 sys65451:rem untalk
- 1990 return:rem=========================
- 2000 data76,169,3,169,2,141,10,28,173,0,28,48,251,169,3,141,10,28,160,127,184
- 2010 data80,254,184,238,10,28,173,0,28,16,15,80,249,173,1,28,184,153,128,1,136
- 2020 data16,244,76,81,245,238,10,28,200,190,128,1,232,208,1,200,162,116,169
- 2030 data1,133,9,185,128,1,74,38,9,144,251,165,9,157,12,1,200,232,16,235,238
- 2040 data10,28,173,128,1,16,15,160,11,185,128,1,42,153,128,1,136,16,246,48,237
- 2050 data0,238,10,28,173,128,1,201,82,240,5,169,3,76,105,249,238,10,28,162,9
- 2060 data189,128,1,149,36,202,16,248,32,151,244,169,0,162,4,85,22,202,16,251
- 2070 data170,240,3,76,246,244,238,10,28,165,24,133,34,197,6,208,4,238,10,28
- 2080 data96,76,2,245,0,169,32,141,10,28,173,1,24,9,4,141,1,24,32,3,3,169,33
- 2090 data141,10,28,165,7,16,8,169,0,141,10,28,76,24,244,238,10,28,24,105,2,197
- 2100 data67,144,2,229,67,133,8,169,128,133,11,169,35,141,10,28,32,3,3,169,36
- 2110 data141,10,28,165,25,197,8,240,12,198,11,208,233,169,6,44,169,7,76,105
- 2120 data249,238,10,28,173,0,28,48,251,238,10,28,173,0,28,16,251,238,10,28,173
- 2130 data0,28,48,251,238,10,28,160,255,184,80,254,184,238,10,28,173,0,28,16
- 2140 data210,80,249,173,1,28,184,153,0,7,136,208,244,238,10,28,173,0,28,16,190
- 2150 data80,249,173,1,28,184,141,0,7,136,238,10,28,173,0,28,16,15,80,249,173
- 2160 data1,28,184,153,0,6,136,208,244,76,129,245,238,10,28,200,132,13,32,13
- 2170 data3,169,45,141,10,28,165,24,197,6,208,6,165,25,197,7,240,3,76,30,244
- 2180 data238,10,28,164,13,132,50,160,0,132,48,169,6,133,49,133,51,169,1,133
- 2190 data9,177,50,74,38,9,144,251,165,9,145,48,200,208,238,230,51,230,49,165
- 2200 data49,201,8,144,228,238,10,28,173,0,6,16,30,169,7,133,49,160,255,177,48
- 2210 data42,145,48,136,208,248,177,48,42,145,48,198,49,165,49,73,6,240,233,208
- 2220 data222,0,238,10,28,160,186,162,0,189,0,7,153,0,1,232,200,208,246,169,6
- 2230 data133,49,32,224,248,238,10,28,165,56,197,71,208,21,32,233,245,197,58
- 2240 data208,8,169,1,141,10,28,76,24,244,238,10,28,169,11,44,169,10,238,10,28
- 2250 data76,105,249,0,-1
-