Run_Issue_77_1990_May

Page 25

After execution, the program displays the disk status as returned by the drive.

Tobln 1. Eiamptas of accsptable copy pictsmi.

The Directory

Commands Option The third RUN Copy 128 option, for displaying disk directories, is activated much like the Disk Command wedge. Specify a drive device number with the cursor acid return keys; then, at the S0>

prompt, enter any valid directory pat tern (see Table I) or press return lo

Command

Pattern

All files in the directory

•=P

PRG files only

■=s

SEQ files only

A*

Files whose names start with A

T«ble S. Example! of acceptable disk commands.

show the entire directory.

In addition to the normal directory information. RUN Copy 128 shows how

Command

many files are in the list. At the Pause message, press any key to return to the main screen. Ifyoulmve two disk drives, you'll find

RUN Copy a handy utility. IE Ed Parry, author of EBBS bulletin hoard software, writes programs and uriiriesfor a variety of publications.

Function

>iO

Initializes a disk (loads the BAM)

>vO

Validates (cleans up) a disk

>nO;target disk.RC

Formats a disk as the target, with an ID of RC

>TiO;erase disk

Erases a formatted disk

>uO>mO

Puts a 1571 drive in 1541 mode

>uO>in]

Puts a 1571 drive in 1571 mode

>sO:rilenamc

Scratches a file

1. RUN Copy lEB.Bnr. |ini(imm. (Available an ReRun disk. See ordHP card lacing page 16.)

6 REM LISTING 1 OULD

NOT

CREATES

BE CALLED)

28 5

OPEN 8,8,8,"RUNCOPY

(AND SH

RUNCOPY

t)+RIGHTS(AS,LEN(AS)- 42) :REM'140

:REM*234

70 FOR 1=1 TO LENIBS)/2:REM*221 75 C$ = MIDS<BS,U*2)-1,2):HS = LEF

128,P,W" :REM*172

6 CT-0:PRINT"fSHFT CLR}":REM*56 10 READ A$:IF A$="-l" THEN CLOS E8:PRINT;PRINT"ALL 12

:REM*129

PRINT"(HOME)READING

LINE " + S

IF

LEN(A$)<62

THEN

:REM*141

20)*MIDJfA$,43,20> :REM*242 25 FOR 1=1 TO 30 :REM*181 30 CS=MID$(BS,(1*21-1 ,2):HS = LEF T$(CS,1):LS=RIGHT$(CS,1)

:REM*209

40

L=VAL(L$):IF

H$>"9"

THEN H=A

L$>"9"

THEM L=A

;REM*85

SC(LJ)-55 45

:REM»136

BY«H*16 + L:PRINTIf8,CHR$(B<n; :REM*67

50 NEXT:GOT0 10 55

IF

O

LEN(A$)<21

70

;REM»115 THEN

3454E54 2E0507003860*A0008C2 81CA00084F4 20 :REM*175

106 DATA 7DFF1220929D00A90185*F

420E4FFF0F7C91 4D01 CAC281 CF 0EECE281CA900 :REM*54

:REM*5G

L=VAL(LS):IF LS'"9" SCILD-55

90

THEN

L=A

:REM'S4

BY=H»16+L:PRINT#8,CHRS(BV);

109 DATA 85F4207DFF209D9D209D*1

220929D004CD81CC90D*F011C91

BD0034C331CAC :REM*172 110 DATA 281CC01EF0C5202DC7AC2 81C99B12 9C8C90DD0A8-A9008 5F 4A9204C2DC7A9 :REM*68

:REM*148

20 B$=MID$(AS,1,20)+MIDS(A$,22,

SC(HS)-55

SC(H$)-55

85

HS=AS:GOT

:REM«184

60

IF LEN(A$|:42 THEN BS=LEFT$(

65

A$,20]*RIGHT$(AS,(LEN(A$)-21 )):GOTO 70 :REM*176 B$=LEFT$(AS,20)+MIDS(A$,22,2

95 NEXT:GOTO

10

:REM*160

100 REM MACHINE LANGUAGE FOR RU NCOPV

101

128

:REM*219

DATA 01lC211CHA049E203732t3

0343A8AF43132382042*5920454 4205041525259 :REM«0 102 DATA AD4341000000004C331C*0 $ 000808090000000000*0000A90 Z85F485F3A908

:REM*151

103 DATA 8D291CA900OD20D08D21"D 08D2D1CA90 5202DC7A5*D7F0182

0B37 7207DFF93

;REM*2 34

104 DATA 13130018A201A01420F0*F F207DFF1B5400 4C9020*A90F20C 3FFA90020BDFF :REM*157

105 DATA A2002068FFA90FAE291C*A 00F20BAFF2 0C0FFA9 0F+20C3FFA

5908D2C1CD005 :REM*165 106 DATA 18202A2060202A20207D+F *00A900A

:REM*41

107 DATA 7DFF204E4F5420505245*5

80 II = VAL(1I$) :IF HS>"9" THEN H=A

55 :REM*254

35 H=VAL(HS|:IF

T$(CE,1):LS=RIGHTS{CS,1) :REM*140

DONE1":EN

D TR$tCT):CT=CT+1 15

E291C20328E20

1

111

DATA 0120461FAE2B1CA90020*3 2 8EA9 20202DC720E4FF+F0FBC90

DD00EA9002046 :REM*122 112 DATA 1FAD2B1C8D291C4C6D1C*C

91BD0034C331CC91DD0*0CAD2B1

CC91EF0D7EE2B :REM*185 113 DATA 1CD0C0C911D00CAD2B1CC 906F0C7CE2B1CD0B04C*2A1DA90 1206B1FAE2A1C :REM*221 114 DATA A90020328EA920202DC7*2

0E4FFF0FBC90DD00EA9*00206B1 FAD2A1C8D291C

:REM*133

115 DATA 4C6D1CC91BD0034C331C*C 91DD00CAD2A1CC91EF0*D7EE2A1 CD0C0C911D00C :REM*18 116 DATA AD2A1CC906F0C7CE2A1C*D 0B04C7D1DA90120B51F*AE291CA 9002032BEA9 20 :REM*169 117 DATA 202DC720E4FFF0FBC90D*DbMAV 199(1

Rl'N

23


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.