Commodore_Power-Play_1986_Issue_20_V5_N02_Apr_May

Page 101

G4 USERS OIHV /DISK UTILITY copy sequential or user files.

here the ID is changed, To change the

destination disk. Insert the disk you

ID, press VS. The program will now

To use the copy function, press C at

ask for a two-character n> to be en tered. Do so and press RETURN. The

the main menu. The program will ask

RETURN, The file will he duplicated

for the name of the file to copy. Type

on the destination disk.

want to copy the file on to, and press

program will ask it" it Is OK to contin

in the name and press RETURN. The

Exit: Any time you are in the main

ue. Type V, and the II) of the disk in

program will then ask for the file type-

menu, you can press X to exit the

The drive will be changed. Any other

to be entered. The file type is either a

program and return to BASIC The

key will abort the "change ID" func

P, S, or U (program, sequential, or user), If you are not .sure what the file

program will not be erased, so to re

type is, look for it when you load the

Disk Utility. If you get a disk error

NO blocks in length to be copied

directory.

when using one of the functions, it

from one disk to anothet. The copy

right of tile tile name. The file will

will be displayed on the screen.

function can copy any BASIC or ma

now be read from

everything works properly, the pro

chine-language program. It can also

drive. The program will ask for the

tion, and will display the main menu. Copy: "Copy" allows any file under

It will be located to the the disk in the

Entry Program," The BASK; program in Ihis magazine are available ;>n disk from Loadstar,

l'.o. Box .((i(i()". Shrevepoft LA 7113MQO7,1 BOO-SSMfiW,

Disk Utility OPEN

12

GOSUB

GOSUB

72 74

:GOTO 262'FLFI PRINT#15,"V":G0T0 168'CHBH PRINT VS"INSTRUCTIONS[RVOFF]"'BCCM

76

PRINT"[DOWN]FORMATTING,

78

GIVES IT A PRINT" AND

262'CHDB

14

PRINT"[CLEAR]"'BATC

16

OPEN

18

SYS

20 22 24

CLOSE l'BBIX PRINT"[DOWN]PRESS ANY KEY TO CONTINUE"'BAOH GET K$:IF KS=""THEN 24'EHDG

26

GOTO

28

INPUT#15,AS,B$:IF VAL(A$)<>0 THEN 32:NT"[CLEAR]"AS","BS:GOSUB 18 4 :GOTO 262'IGWS

1,8,0,"50":GOSUB 49386:GOSUB

28'CJQG

28'CIUH

80

PRIHT"FILES

82

PRINT"[DOWN]SCRATCHING ERASES

262'BDJF

30 32

RETURN'BAQY PRINT"[CLEAR]"AS","B$:CLOSE

34 36

:GOSUB 184:GOTO 262'EOPG PRINT V$"FORMAT[RVOFF]"'BCQG PRINT"[DOWN]ENTER NEW DISK NAME. :GOSUB

38 40

INFORMATION

ID.

42 44

PRINT#15,"N0:"+HS+","+I$

THEN

PRINT

VS"SCRATCH[RVOFF]"'BCFJ

PRINT"[DOWN]ENTER

50

GOSUB

52

PRINT#15,"S0:"+HS:GOSUB

54

PRINT

56

PRINT"[DOWN]PLEASE

58 60 62 64 66

68

FILE

THEN

PRINT"WASTED

THE ";

96

";:GOSUB

TO

THE

ONE

YOU

A

DISK,

FILES"'BAQP

GETS

RID

OF

SPACE. EXTRA

";'BBRL

THIS

USABLE

SPACE

ON

DISK."'BADB

PRINT"[DOWNJVIEWING

A

DIRECTORY,

THE"'BADU

PRINT"DIRECTORY.

";'BBYQ

104

FOR

262'FLFH

ERASE:

W=0:GOTO

X=1824

:POKE

";

TO

1863:POKE

X,99

X+54272,2:NEXT'HYKI

PRINT"[DOWN3]PRESS

ANY

KEY

TO

108

GET

110 112

IF P=l THEN P=0:GOTO 262'FISA PRINT"[CLEAR,DOWN,RVS)PAGE 2

114

PRINT"[DOWN]CHANGING THE NAME, CHANGES THE"'BARJ

ENTER

NEW

ENTER

OLD

MAY

KS=""THEN

108'EIDH

NAME

116

PRINT"CURRENT

NAME

118

SPECIFIED. '"BAGK PRINT"[DOWN]CHANGING CHANGES THE"'BARN

244'CFYR

MINUTES"'BAOU

K$:IF

[RVOFF]"'BALB

262'FLFG

168'DJBH

244:Y=0'ELOS

PRINT"[DOWN]VALADATING TWO

WITH

102

GOSUB 184:IF W THEN W=0:GOTO 262'FLFH 120 PRINT#15,"R0:"+JS+"="+HS'EHEI 122 GOTO 168'BDOH PRINT V$"VALADATE!RVOFF]"'BCOL TO

FILE,

PRINT"YOU MAY PAUSE IT WITH THE'"BAEC PRINT"SPACE BAR."'BAXA

V$"RENAME [RVOFF] 1MBCYI

PRINT"[DOWN]PLEASE :

THE

COULDCREATE

244'CFSP

";:Y=1:GOSUB

A

YOU'"BAOQ

CONTINUE"'BAXI

48

:

DISK."'BAGJ

PRINT"[DOWN]VALIDATING PRINT"AND

106

46

W

THE

FILE

94

ANY

168'FLYK

184:IF

ON

92

98

:GOTO

:GOSUB

USE,

PRINT"FILENAHE

REBLOCKS

"

W=0:GOTO

FOR

88 90

THE

DISK."'BAGP GOSUB 184:IF W

DISK

SPECIFY."'BALV

1

ERASE

NEW

Q

W=0

PRINT"SPECIFY."'BAAK PRINT"[DOWN]RENAMING A FILE, REPLACES THE 0LD'"BAHT

100 ON

THEN

If

NAME AND ID,";'BBVB ERASES ALL"'BAPP

THE

DISPLAYS

PRINT"iDOWN]ENTER NEW :INPUT I$'CDYM PRINT"[DOWN]THIS WILL

A

W

84 86

244'CFJM

PREVIOUS

184:IF

PREPARES

15,8,15'BHAX 304:GOTO

gram will display the main menu.

70 Rtfore typing this prog""!, ri-ad "lion to tntcr Program!? jnd "Mow to Use Llic Miguinc

10

start, type RUN. One final note about

TAKE

UP

PRINT"CURRENT

NAME

ID

TO

TO

DISK

ONE

THE

DISK

ID,

ONE

SPECIFIED.""BAGF

PRINT"[DOWN]CHANGING OR

ID

WON'T

A

DISK

NAME

ERASE'"BAEJ

124

PRINT"ANY

126

PRINT"[DOWNjCOPYING

FILES

ON

THE

A

DISK."'BARH

FILE,

COMMODORE POWER/PLAY

99


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