LSXDODGERS LDSPEC

From Z80 Machines Wiki
Jump to: navigation, search

LDSPEC


· LSX-Dodgers ·spec

·file name When recording data on disk, record each data in a file. So to file You have to give different names.

The file name consists of up to 8 letters and up to 3 characters.

Lower case letters are converted to upper case letters.

The following characters of 1byte characters can not be used in the middle of the file name and the extension for use in the system.

.?, * + / = ¥

Colon semicolon comma period

For compatibility with Human 68k, MS-DOS, MSX-DOS, please be sure to use the following letters

A to Z 0 to 9 & # () @ ^ {}! Kana character (+ Kana sign)

Using characters other than these can not be accessed by Human 68k, MS - DOS or MSX-DOS.

· Hierarchical Directory

[<Drive name>:] [\] [<directory name> \] ... [<directory name> \] <file name> [. <Extension>] [¥] [directory name \] ... [directory name \] up to the file name becomes the path name.

Here, "\" represents a directory name for passing a path name and a delimiter for delimiting a file name is. However, the first "\" is the symbol representing the root directory. If "\" is written first, it becomes absolute specification from the root directory.

".." indicates the previous parent directory.

.. \ file name

Then you can go back one and specify the file. (Relative designation)

Depending on the program, even if the directory is specified, if the current directory is valid there is.


· Device file

Devices such as keyboards and printers can be handled in the same way as files, each with a name is. Device / file names are used in the following situations.

CON When inputting from the keyboard or outputting to the display When outputting to the

PRN printer When inputting and outputting to

AUX RS-232C interface etc.

NUL dummy output (It discards output without putting it anywhere)

For example

COPY FILE.DOC CON

NpcThen the contents of FILE.DOC are displayed on the screen. * Device files can not be used with CP / M compatible sequential random access.


·command Commands are accepted in uppercase or lowercase letters. Also, file names and capital letters are lowercase Although it can be accessed, the file name created will be capitalized.

Example) B: To display directory list of drive (internal command)

DIR B:

The extensions of external commands are ".COM" and ".CPM". The extension of the batch file is ".BAT". You can skip entering extensions when executing. External commands are specified in the current directory, PATH Search in the order specified by the search path specified by the search path.

To pass parameters Please put a space after the command.

Example of external command

WIN TEXT.DOC B:WIN TEXT.DOC

· Command shell Remarks LSX-Dodgers always has the following functions

[SHIFT] + [GRAPH] Graphic ON / OFF switching (X1 turbo series only) [CTRL] + [GRAPH] Graphic 200/400 line switching (X1 turbo series only) [CTRL] + [GRAPH] + [DEL] Software reset

·Batch processing

A file in which a plurality of commands are arranged in order is called a batch file, and a command is summarized by using a batch file You can handle it. Temporary parameters (% 1 to% 9) can also be used. % 1 is It is the first parameter after the command and% 2 is the second parameter.

Batch file example: MOVE.BAT COPY% 1% 2 DEL% 1

Example of executing

MOVE.BAT A> MOVE A: X1.ASM B:

In this case, the temporary parameter% 1 becomes X1.ASM % 2 will be B :. When you enter the above command For the first COPY% 1% 2, COPY A: X1.ASM B: is executed In the next DEL% 1, DEL A: X1.ASM is executed.


Processing Remarks

Batch file extension is .BAT. You can omit the extension when executing. LD batch buffer can contain up to 255 characters including parameters. At startup, execute the command AUTOEXEC. The first parameter (% 1) contains the current drive It is set.

·redirect After the command> file name Then you can use the command to display the characters on the screen as files. * Since LAE.COM performs file management independently, do not use the redirect function of LSX - Dodgers Please. Example: Make the file list a file called DIR.TXT. A> DIR A:> DIR.TXT


·template If you press the [F3] key on the command line, the command and parameters that were executed last time are entered. · Drive configuration

@: Current drive A: Floppy disk 0 B: Floppy disk 1 C: Floppy disk 2 D: Floppy disk 3 E: EMM (EMM board required) F: Bank memory disk (required bank memory) G: Graphic RAM disk (X 1 - Bank 0, X 1 turbo - Bank 1) H: Virtual drive Floppy disk drive is 2D (360 kB) / 2DD (640 kB) / 2 DD (720 kB) / 2 HC (1.2 MB) / 2HD (1.2MB) / IBM (1.44MB) / 2HDE (1.44MB) / 2HS (1.44MB) automatically.

2DD is basically exclusively for externally added drives.

2HS (1.44MB) corresponds to over track format of 9SCFMT.X produced by 6no8rou of X68k. However, the over track is its motive by the individual difference of the drive with its muscle track.

2HC (1.2MB) / 2HD (1.2MB) / 2HDE (1.44MB) / 2HS (1.44MB) are read and written by X1 turbo series and 2HD I need a drive.

It is possible.

EMM / Bank memory disk / Graphic ram disk also LA It is compatible with ERAD.BIN / HERAD.BIN, BRAD.BIN, GRAD.BIN. EMM and Bank Notes The re-disk automatically measures the capacity.

RAM disk can not be used unless formatted.


· External I / O device Supports RS-232C port as AUX device of system call number 3, 4 or device / file name I will. Protocol is baud rate data bit parity stop bit flow control 9600 bps 8 bits without 1 bit RTS / CTS ! In case of non-turbo X1 or X1 turbo model 10, RS-232C · mouse board (CZ-8BM2) is required.

Escape Sequence

Use a special character string / escape sequence (ESCape sequence) to control the screen. This escape sequence is represented by an escape character ($1B in ASCII code) followed by a string I will. Screen control can be performed by outputting this special character string to the console using a system call.

◇ Move cursor

<ESC> A Move the cursor up

<ESC> B move the cursor down

<ESC> C Move cursor to the right

<ESC> D Move cursor to the left

<ESC> H Move cursor to home position

<ESC> Y <Y coordinate + $ 20>

<X coordinate + $ 20> Move the cursor to (X, Y) position

◇ Edit / delete

<ESC> j Clear screen <ESC> E Clear screen <ESC> Delete until the end of K line <ESC> J Delete until the end of the screen <ESC> L Insert row 1 * 1 <ESC> M delete 1 row * 2 ◇ Other <ESC> x4 Change the shape of the cursor to 2 * 2 <ESC> x5 Clear cursor * 2 <ESC> y4 Make the cursor shape _ <ESC> y5 Display cursor * 2

  • 1 Operation is different from MSX-DOS
  • 2 LSX-Dodgers does nothing (It operates differently from MSX-DOS)

· Special key The following keys are entered as escape sequences as follows.

[F1] [ESC]・[SPACE] [F2] [ESC]・[!] [F3] [ESC]・["] [F4] [ESC]・[#] [F5] [ESC]・[$] [SHIFT]+[F1] [ESC]・[%] [SHIFT]+[F2] [ESC]・[&] [SHIFT]+[F3] [ESC]・['] [SHIFT]+[F4] [ESC]・[(] [SHIFT]+[F5] [ESC]・[)] [ROLL UP] [ESC]・[C] [ROLL DOWN] [ESC]・[R] [HELP] [ESC]・[Q] [COPY] [ESC]・[P] [XFER] [ESC]・[X]

Error In LSX-Dodgers, if an error occurs in floppy disk read / write, an error message is displayed I will inform you. Therefore, if an error message is displayed, it is appropriate according to the message Please process.

If an error occurs while executing reading / writing of the floppy disk, the following message is displayed It will be.

Device I / O Error! Abort Retry Ignore?

Please press [A] [R] [I] when device error message is displayed

【A】 Abort (cancellation) Abort reading or writing. If the error repeats even if you re-execute with [R] Please press [A].

【R】 Retry (re-execution) Re-execute the process. When a device error message is displayed, first press this [R] Please.

【I】 Ignore (ignored) Ignore the error and continue processing as it is. If you are doing multiple file processing, etc. Select [I] when you want to proceed. However, data on the disk may be destroyed. We need enough attention as we will. eof