MGT PlusDlite Скачать руководство пользователя страница 10

10 

 

The Execute File 

An execute file is a machine code file occupying up to one sector length of memory (510 bytes). 
When loaded from disc it is executed (RANDOMIZE USR) in the PlusDlite RAM, not in the Spectrum 
memory, hence giving a programmer the ability to execute utility routines - such as renumbering a 
program - without affecting or using the Spectrum memory. 
To save a sector length of memory as an execute file, enter: 
SAVE D1"filename"X,Address 

-

 

X = the execute file identifier - just type X 

-

 

Address = the location in the Spectrum of the machine-code program, which has been assembled 
to run at 15318 (3BD6 hex). 

 
To load and run the execute file, enter: 
LOAD D1 "filename" X or LOAD P[n]. 
 
After execution, control is returned to the Spectrum. 
 

 

Streams and Channels 

Open a stream 
OPEN #S;D[1/2] "filename" [IN/OUT] 
This command opens a file on the disc and attach a stream number to it, so that you can print out to 
or input from that stream. 

-

 

S = Stream number - from 4 to 16 (type the number only) 

-

 

IN = When you specifically need an input or read file opened 

-

 

OUT = When you specifically need an output or write file opened 

 
If you do not specify IN or OUT, it is an input file if the file-name is found in the catalogue, and an 
output file if the file-name is not found. 
 
Also available is Microdrive syntax: OPEN #S;"m";1;"filename" 
 
Closing a stream 
CLOSE #*S 
This closes the file and stream opened in the previous command.  
S = Stream number; if not supplied, then all current open streams will be closed. Note the addition of 
the * to Microdrive syntax. 
 
Moving a file 
MOVE D[1/2]"filename" TO #S 
Moves a file, one sector at a time, to either another file or a stream. This command reads the file and 
outputs it to the specified stream. 
S = the stream number, from 4 to 16. 
 
MOVE D[1/2]"filename-1" TO D[1/2]"filename-2" 
In this case MOVE copies the first file to the second file. 
 
Clearing all open streams and channels 
CLEAR # 
This command clears all open streams and channels, but it does not CLOSE an output file. 
 

 

Содержание PlusDlite

Страница 1: ......

Страница 2: ...Based on the MGT PLUS D from Miles Gordon Technology Read this manual before using the PlusDlite interface Manufactured by Ben Versteeg Floppydrive connector Joystick connector Configuration DIP switc...

Страница 3: ...E D1 file TO D2 Copies a file from drive1 to drive2 MOVE D1 fileA TO D2 fileB Reads file writes it to 2nd file FORMAT D1 Formats disc in drive 1 FORMAT D1 TO 2 Formats drive 1 copies from 2 to 1 Advan...

Страница 4: ...rdon Disc Operating System for the PlusDlite The G DOS system is a combination of ROM and system file on disc The system file is named SYSTEM CDE The maximum number of files per disc with G DOS is 80...

Страница 5: ...the first column on the left files are not shown in alphabetical order Whenever you save a file the PlusDlite will give it the first available program number This program number will stay the same unt...

Страница 6: ...th the program number in this way but ERASE cannot Wild Cards Wild cards in a file name allow you to CATalogue copy using SAVE TO or ERASE a group of similar files in a single operation Example when y...

Страница 7: ...lowed one autoload file per disc The autoload file must be named Autoload case insensitive Verifying a File VERIFY d D 1 2 filename Example VERIFY D1 coolgame This performs a further check to ensure t...

Страница 8: ...RMAT d D 1 2 Example FORMAT D1 Before a floppy disc can be used for the first time with the PlusDlite it must be formatted You can also format a previously used disc the effect will be to wipe the dis...

Страница 9: ...his way you don t need to reload the PlusDlite s system from the system disc after resetting Sector by Sector Copying Two Drives FORMAT D1 TO 2 or FORMAT D2 TO 1 The first command formats the disc in...

Страница 10: ...can print out to or input from that stream S Stream number from 4 to 16 type the number only IN When you specifically need an input or read file opened OUT When you specifically need an output or wri...

Страница 11: ...ferent The save will commence but then the program will appear to be frozen again If the picture on your screen the picture not the border has changed press key Y Yes if it has not press key N After e...

Страница 12: ...d doesn t need to be reformatted The numbers after the error message tell you which track and which sector have been corrupted If the Sector Error or Format Data Lost messages appear regularly you may...

Отзывы: