APPROVED
U1.00031-01 90 01-LU
SOFTWARE
COMPUTER EDUCATIONAL COMPLEX
"ELECTRONICS MS 0202"
WORKING WITH EXTERNAL DEVICES
U1.00 0 31-01 90 01
Sheets 53
1989
Letter A
- 2 -
U1.00 0 31-01 90 01
ANNOTATION
This document describes the ability to interact with external
them micro-computer devices "ELECTRONICS MS 0511" (UKNTS): drive
on a flexible magnetic disk (HDD), household cassette recorder,
ROM cassette and others. The document describes in detail
graphic terminal, as well as the command of the terminal terminal UKNTS.
The appendix contains additional character display commands.
leu, the performance of which in subsequent modifications of the UKSC is not guaranteed
ruts.
You must first read the document "Technical
Description "U11.700.016 TO
- 3 -
U1.00 0 31-01 90 01
CONTENT
1. GENERAL 5
2. INTERACTION WITH EXTERNAL DEVICES 6
2.1. Registers of external devices 6
2.2. The structure of the array of parameters 9
2.3. Flexible Magnetic Drive Interaction
disk (HDD) 11
2.4. Interaction with a household cassette recorder 14
2.5. Appeal to the ROM cartridge 16
2.6. The appeal to RAM PP 17
2.7. Access to the printer 19
3. SYMBOL-GRAPHIC TERMINAL 20
3.1. Characteristics of the character-graphic terminal 20
3.2. Keyboard 20
3.2.1. Keyboard Field 21
3.2.2. The main key group 22
3.2.3. Register key group 25
3.2.4. Function Key Group 26
3.2.5. Cursor Keys 27
3.2.6. Additional keyboard 28
3.2.7. Keys 30
3.2.8. Keys <COM>, <STOP>, <SK> and <IPS> 31
3.3. Screen output 31
3.3.1. Indication of operating modes of the terminal 31
3.3.2. Symbol Information Image 32
3.3.3. Command System and Command Sequences 34
3.4. Setting Modes 40
3.4.1. Mode Setting Menu 40
3.4.2. Command System Installation 41
3.4.3. Setting the screen format 41
3.4.4. Color Setting 42
3.4.5. Roll Installation 42
3.4.6. Turning the timer on and off 42
4. COMMANDS OF THE REMOTE TERMINAL 43
4.1. Open cell command 43
4.2. Write number command 44
4.3. Open next cell command 44
4.4. Open previous cell command 45
4.5. Command "open cell with absolute address" 45
4.6. Open cell with relative address command 46
4.7. Commands for reading and modifying general registers
destination 46
4.8. Read Processor State Word Command 47
4.9. Start command 47
- 4 -
U1.00 0 31-01 90 01
4.10. Team Continued 47
4.11. Step Command 48
4.12. Read and Modify Breakpoints Command 48
4.13. Slaughter Team 48
4.14. Menu command 49
4.15. Autonomous Team 49
4.16. Network Test Team 49
Application. NON-STANDARD SYMBOL MODE COMMANDS 50
LIST OF CONVENTIONS 52
- 5 -
U1.00 0 31-01 90 01
1. GENERAL INFORMATION
UKSC is a dual-processor machine. One processor performs
The functions of the central processor, and the second - the functions of the controller
a robust set of peripherals. Hence their names:
central processing unit (CPU) and peripheral processor (PC).
The processors 1801ВМ2, which are used in the UKSC, do not have special
Special I / O commands for working with external devices.
All external devices in the UKSC are presented on the highway
internal and peripheral processors corresponding registers
thaw and data having addresses in the high 8 kb range for the CPU and
0.5 Kbytes for software (Fig. 1).
177776 ----------------- - 177776 ------------------
! External registers! ! Registers!
! devices! ! external!
! (0.5 KB)! ! devices!
177000! ----------------! ! (8 Kbytes)!
! ! 160,000! ----------------!
! ROM! ! !
! ! ! !
! and! ! !
! ! ! RAM!
! RAM! ! !
! ! ! !
! ! ! !
0! ----------------! 0! ----------------!
CPU CPU
Fig. one
Each processor can only be addressed to those registers.
external devices whose addresses are directly accessible on its
highways.
External devices in the UKSC can conditionally be divided into two groups.
One group is devices that operate under the control of cent
processor (CPU), the second are those devices that are controlled by
It is a peripheral processor (PP).
The first group includes the following devices:
- communication channels with software;
- the local network;
- interface "JOINT C2";
- other devices connected via the CPU backbone.
To the second:
- video monitor;
- 6 -
U1.00 0 31-01 90 01
- keyboard;
- floppy disk drive;
- household cassette recorder;
- ROM cassette (2 to 24 Kbytes);
- printing device (parallel byte port).
2. INTERACTION WITH EXTERNAL DEVICES
2.1. Registers of external devices
As mentioned above, any external device is presented on
processor lines with a set of addressable registers (8 and 16 bits -
n), on which you can perform operations like memory cells.
To transfer data or control information to an external device
The program must write to the address of the external register
devices (for example, using the " MOV " command ). To read the data
ny or information about the status of the device, the program must execute
reading at the device register address.
Register addresses of external devices available on the trunk
central processor are given in table 1.
- 7 -
U1.00 0 31-01 90 01
Table 1
-------------------------------------------------- -------------
Address! Address! Register Assignment! Note
CPU register! Vector! !
(octal -)! interrupt-! !
ny)! !
------------! -------! ---------------------------! - ------------
176560! 360! Status Register. Receiver! Controller
176562! ! Data register. Receiver! LAN
176564! 364! Status Register. A source!
176566! ! Data register. A source!
------------! -------! ---------------------------! - --------------
176570! 370! Status Register. Receiver! Interface
176572! ! Data register. Receiver! "JOINT C2"
176574! 374! Status Register. A source!
176576! ! Data register. A source!
------------! -------! ------------ ---------------! - --------------
176640! ! Register addresses of plans 1 and 2! Access to two
176642! ! Register data plans 1 and 2! Plans on-screen
! ! ! memory
------------! -------! ----------- ----------------! - --------------
176644! ! Register of management! Registers can
176646! ! Register trap! Be used
! ! ! when debugging
! ! ! programs
------------! -------! ---------------------------! - --------------
176660! 460! Status Register. Receiver! Channel 1
176662! ! Data register. Receiver! Communication CPU and PP
176664! 464! Status Register. A source! Print Registers -
176666! ! Data register. Source device
------------! -------! ---------------------------! - --------------
176674! 474! Status Register. Source! Channel 2
176676! ! Data register. Source! Communication CPU and PP
------------! -------! ---------------------------! - --------------
177560! 60! Status register. Receiver! Channel 0
177562! ! Data register. Receiver! Communication CPU and PP
177564! 64! Status Register. Source! Registers
177566! ! Data register. Source! Terminal
-------------------------------------------------- ---------------
CPU interaction with peripheral controlled devices
by the cessor, carried out through two bidirectional and one unidirectional
len byte channel.
One bidirectional channel is designed to work with character
graphic terminal (channel 0), the second - with a parallel port
yes output (channel 1). Detailed description of working with these devices
will be given in the relevant sections. On the CPU bus, each of
These channels are represented by two pairs of registers. One pair of registers
at the reception (receiver), the other at the transmission (source). Formats of these
registers are shown in Fig. 2.
Other devices controlled by the peripheral processor
except for the terminal and parallel port, communicate through
unidirectional channel, which is represented on the CPU main by a pair
registers: status register and data register. In their structure, these
registers are similar to source registers.
- 8 -
U1.00 0 31-01 90 01
7 6 0 -
------------------------------------- !
RSP ! ready! RPR! not used ! !
------------------------------------- !
!
> receiver
7 0!
------------------------------------- !
RDP ! data! !
------------------------------------- !
-
7 6 0 -
------------------------------------- !
RCI ! ready! RPR! not using th tsya! !
------------------------------------- !
!
> source
7 0!
------------------------------------- !
RDI ! data! !
------------------------------------- !
-
Fig. 2
The following is a description of the central program operation algorithm
processor with channel registers when performing read / write operations
with devices.
When reading information from the device, the program should analyze
Adjust receiver availability (RSP <7> ). If RSP < 7 > = 1, then means
The unit wrote another byte of data to the receiver data register
(RDP) and the program can read it. After reading the RDP device
resets readiness, and sets it again only after
will form the next byte of data on the RDP.
When recording information on the device program must ana -
To adjust the readiness of the source (RSI < 7 > ) for the transmission of information. If a
RSI < 7 > = 1, then the device is ready to receive the next byte of data. After
after the program writes a data byte to the RDI, the device removes
readiness, but sets it again only when it is ready
receive another data byte at the RDI.
Such an algorithm for working with registers of external devices has one
significant drawback, namely: the program must constantly or
periodically analyze the availability bit on the status register. it
leads to large and inefficient CPU overhead. By
more that external devices have a speed significantly lower
processor speed. And for many applications, this method in
principle not suitable.
Another algorithm for working with external devices is based on
using the interrupt mechanism. If the device is ready to execute
transmission of the next byte, and the interrupt enable bit (RPR) is set-
flax, it generates a processor interrupt request signal. When
the processor will be ready to interrupt the execution of the current program, it
- 9 -
U1.00 0 31-01 90 01
sends an interrupt enable signal to the device. Having received permission
ny, the device sends the processor its interrupt vector. Vector
determines the address of two memory cells that contain the program address
interrupt processing and the corresponding state of this program
the cessor. The processor stores the instruction counter ( R 7 ) and status ( PS )
interrupted program on the stack and loads into them the values corresponding to
interrupting the vector. Such a mechanism allows the processor to efficiently
switch from the current task to the program
interrupt bots from an external device.
2.2. Parameter array structure
To control devices that communicate with the CPU through
unidirectional channel, it is used only for the purpose of transmitting the address
CA sequentially located memory cells of the RAM CPU in the peripheral
CPU. These cells contain all the necessary information about
device and the operation that must be performed with this device
by the swarm.
This sequence of cells has a fixed
The specified length is called an array of parameters (MP). This array
parameters are prepared by the program of the central processor and its address
transmitted through the channel to the peripheral processor.
The transmission of the MP address through the channel is carried out by sending 4 bytes
Comrade in the following order:
- first byte: 8 lower order bits of the address;
- second byte: 8 most significant bits of the address;
- first completion byte: 377
- second completion byte: 377
Having received the first two bytes containing the address of the MP, and the third byte
non-zero control program in the peripheral processor
sends the MP to its memory using the direct access mechanism in RAM
CPU Having determined the type of device, it performs an operation with it in accordance with
According to the specified parameters. Data transfer between device and
CPU RAM is also performed using the direct access mechanism.
After the operation is completed, the control program writes the code to the MP
response and reads the fourth byte from the channel, thus reporting
performing the operation to the central processor. The response code is written
in the low byte of the first word MP. The generalized structure of the para-
meters is shown in fig. 3. If the channel is undefined
state, then to bring it to its original state it is necessary
transmit to the channel a sequence of four bytes consisting of
three zeros and code 377.
- 10 -
U1.00 0 31-01 90 01
15 8 7 0
+ ----------------------- + ----------------------- +
0 ! team ! about!
+ -------------------- --- + ----------------------- +
1 ! device number! device type!
+ ----------------------- + ----------------------- +
2 ! information address!
. ! on the device!
. ! !
. ! !
+ ----------------------------------------------- +
. ! And with the RAM of the CPU !
+ ----------------------------------------------- +
. ! number of words!
+ ----------------------------------------------- +
Fig. 3
Commands and response codes for each type of device will be described
in the relevant sections. Types of devices and their codes are given in
table 2.
Device types
table 2
--------------------- ----------------------------- ---
! Type of ! Device!
! ------- + ----------------------------------------- -!
! 01! One-sided floppy disk!
! 02! Double sided floppy disk !
! ------- + ----------------------------------------- -!
! eleven ! Household cassette recorder!
! ! Record format UKNTS!
! 12 ! Household cassette recorder!
! ! MSX Recording Format !
! ------- + ----------------------------------------- -!
! 21! Cassette ROM!
! ------- + ----------------------------------------- -!
! 32! RAM PP!
-------------------------------------------------- ---
The information address on the device reflects the specifics of a particular
devices and can take a different amount in the parameter array
words or none at all.
The number of words and the RAM address of the CPU is used when sending data
between memory and any device.
A more detailed description of the array of parameters for each of the
Food will be given in the appropriate sections.
- 11 -
U1.00 0 31-01 90 01
2.3. Flexible Magnetic Drive Interaction
disk (HDD)
UKNTs has the ability to connect a hard disk drive with a diameter of 133mm type
"ELECTRONICS NGMD-6022" and "ELECTRONICS MS 5305", as well as similar
drives.
The following basic characteristics are provided:
- physical method of writing to a diskette: MFM ;
- usable diskette capacity:
on 40 tracks: 400 KB;
on 80 tracks: 800 KB;
- the format of the track corresponds to OST 11.0139-85 on 133mm hard drive;
- the ability to work with unilateral and bilateral storage
bodies;
- the ability to program time parameters when
Storage drives with different characteristics;
- the number of drives connected simultaneously: 4.
Interaction with the drive through interface
unidirectional channel registers according to the algorithm described in the previous
general section. Register addresses and interrupt vector have the following
values:
- status register address: 176674
- data register address: 176676
- interrupt vector: 474
Through these registers the address is transmitted to the peripheral processor
an array of parameters that the program generates in the RAM of the CPU.
The format of the MP depends on the team. Table 3 lists the commands
to work with the disk and their codes.
- 12 -
U1.00 0 31-01 90 01
Table 3
-------------------------------------------------- -----
! Team Code! Team Name!
!(octal)! !
! -------------- + ---------------------------------- -----!
! 01! Setting the transition time from the track!
! ! to the track!
! 02! Setting the loading (lowering) time!
! ! heads!
! 03! Setting the number of sectors on!
! ! track!
! -------------- + - --------------------------------- -----!
! ten ! Reading data from disk to RAM!
! -------------- + ---------------------------------- -----!
! 20 ! Writing data to disk from RAM!
! -------------- + --------------------- ------------- -----!
! thirty ! Formatting a track!
! ------------------------------------------------- -----!
All commands setting the drive operation mode (codes 01,
02, 03), have the following MP format:
15 8 7 0
+ ------------------------ + ----------------------- +
0! to o m a n d a (01-03)! about!
+ ------------------------ + ----------------------- +
one ! drive number (0-3)! drive type!
+ ------------------------ + ----------------------- +
2! ! parameter!
+ ------------------------ + --------------- -------- +
For commands for setting the transition time and loading heads (codes
01-02) the "parameter" field contains the value of the transition time in milliseconds
kunda. Upon powering up the machine, these parameters take the following
values:
- transition time from track to track for drive
HMD-6022: 20ms;
- transition time from track to track for drive "ELECTRO-
NIKA MS 5305 ": 3ms;
- head loading time: 40ms (NGMD-6022); 36ms ("ELECTRONICS
MS 5305 ").
The command to set the number of sectors per track (code 03) allows
It allows you to work at the UKSC with disks recorded on other computers.
For example, with a sector size of 512 bytes, the number of sectors per track
in various computers varies from 8 to 10. Since in the UKSC the program
drive control when performing read / write operations itself
decides whether to skip to the next track or read next
blowing sector, then this parameter is necessary for it. By turning on the power in
UKSC number of sectors is 10.
The “read” (code 10) and “write” (code 20) commands have the following
MP format:
- 13 -
U1.00 0 31-01 90 01
15 8 7 0
+ ----------------------- + ----------------------- +
0! to m a n d a (10.20)! about!
+ ----------------------- + ----------------------- +
one ! S ! N drive (0-3)! drive type (1,2)!
+ ----------------------- + ----------------------- +
2! with ect to r! D o r about to!
+ ----------------------- + ----------------------- +
3! And with the RAM of the CPU!
+ ----------------------------------------------- +
four ! number of words!
+ ----------------------------------------------- +
Field S means the following:
S = 0 - the bottom side of the diskette;
S = 1 - the upper side of the diskette.
The terms “lower” and “upper” are rather arbitrary here, as
the drive can sometimes be placed in an upright position.
"Track" can take values from 0 to 128;
"sector" - from 1 to 16.
The description of the remaining fields of the MP was given in the previous section at
description of the generalized structure of MP.
The response codes for read / write operations are given in Table 4.
Table 4
! ------------------------------------------------- -----!
! Answer Code! Value!
! ------------ + ------------------------------------ -----!
! 00! The operation completed normally !
! 01! Data Zone Control Code Error!
! 02! Header zone control code error!
! 03! No address marker found!
! 100 ! No address marker found!
! 101! No address marker found!
! 102! No address marker found!
! 04! No data marker found!
! 05! Sector on found!
! 06! Prohibition of recording !
! 07! No installation on track 0!
! ten ! Track search error!
! eleven ! The MP is incorrectly set!
! 12 ! Reserve !
! 13 ! Reserve!
! 14 ! No index found!
-------------------------------------------------- ------
The track formatting command (code 30) has the following array
parameters:
- 14 -
U1.00 0 31-01 90 01
15 8 7 0
+ ----------------------- + ----------------------- +
0! to m a nd a (30)! about!
+ --- + ------------------- + ----------------------- +
one ! S ! N drive (0-3)! drive type (1,2)!
+ --- + -------------- + ---- + ----------------------- +
2! ! SS ! D o r about to!
+ ------------------ + ---- + ----------------------- +
3! code in the data zone!
+ ----------------------------------------------- +
In the field "code in the data zone" is written the word model, which
the data zone will be signed.
In the SS field, the sector length code is written. Codes of length and
The corresponding sector sizes are given in Table 5.
---------------------------------------------!
! Code! Sector Length! The number of sectors!
! lengths! (byte)! on the track!
! ------ + -------------- + ----------------------!
! 01! 256.! sixteen !
! ------ + -------------- + ----------------------!
! 10 ! 512.! ten !
! ------ + -------------- + ----------------------!
! eleven ! 1024.! five !
! --------------------------------------------!
The main characteristics of the format used in the UKSC:
- number of sectors: 10;
- sector size: 512 bytes;
- numbering of sectors: from 1 to 10.
2.4. Interaction with a household cassette recorder
In the UKSC, it is possible to work with two logical data formats on
tape:
- UKNTS format (device type = 11);
- MSX format (device type = 12).
This is determined by the "device type" field in the MP, which has the following
blowing structure:
- 15 -
U1.00 0 31-01 90 01
15 8 7 0
+ ----------------------- + ----------------------- +
0! to m a n d a (10.20)! about!
+ ----------------------- + -------------- --------- +
one ! ! device type!
+ ----------------------- + ----------------------- +
2! im given file!
3! on the tape !
four ! (16 bytes)!
. ! !
. ! !
. ! !
9 ! !
+ ----------------------------------------------- +
ten ! and with CPU RAM (preset)!
+ ----------------------------------------------- +
eleven ! number of words (given)!
+ ----------------------------------------------- +
12 ! name of the read file!
13 ! (16 bytes)!
14 ! !
. ! !
. ! !
. ! !
nineteen ! !
+ ----------------------------------------------- +
20 ! and with CPU RAM (read)!
+ ----------------------------------------------- +
21! number of words (read)!
+ ----------------------------------------------- +
22! start address of the download file!
+ ----------------------------------------------- +
Table 6 shows the commands for working with the tape recorder.
Table 6
! -------------- ----------------------------------- -------------!
! Team code! The name!
! ----------- + ------------------------------------- -------------!
! ten ! Reading a file by name!
! eleven ! Reading the next file!
! 14 ! Fictitious file reading!
! 15 ! Fictitious reading of the next file!
! sixteen ! Reading a data block !
! ----------- + ------------------------------------- -------------!
! 20 ! Write a file!
! 21! Writing a data block!
! --------------------------------------------- ---- -------------!
The command "read file by name" searches for the title-
the nearest file and the name in the header is compared with the one specified in the MP.
If the names match, then data is read from the tape in the RAM of the CPU.
If the names do not match, then the file name is written in MP [12-19] ,
read from the tape, and the operation ends with the corresponding code
response.
- 16 -
U1.00 0 31-01 90 01
The command “read the next file” searches for
the best file on the tape. The file name is recorded in the MP [12-19] . Information
The data from the tape is read into the RAM of the CPU.
Dummy read commands only read the header and
comparing it with the file name in MP [12-19] . Data is not transferred to RAM.
The read data block command is used when reading a file in the form
mate is MSX and only makes sense after a command to read a file of type MSX .
The read block command reads in the RAM of the CPU the nearest data block on the tape
nyh.
The command "write file" writes data to the tape from
CPU RAM at the address specified in the MP [10] , the length specified in the MP [11] . AT
the title is the name specified in the MP [2-9] .
By the command "record data block" data is recorded on
a tape from the RAM of the CPU at the address specified in the MP [10] , 200 words long. This
The command is used when writing files of the MSX type .
Note. With read commands, the address in the RAM of the CPU, starting with
the file read from the tape is placed, and the length of this file selects -
Xia follows: if the specified address (IP [10] ) is even, then is taken
if it is odd, then the address read from the tape is selected (MP [20] ).
The specified file length (MP [11] ) is selected only if
it is greater than zero and less than the length of the file read (MP [21] ). In all
In other cases, the length read from the tape in the MP is selected [21] .
The response codes for read / write operations are given in Table 7.
Table 7
! ------------------------------------------------- -----!
! Answer Code! Value!
! ------------ + ------------------------------------ -----!
! 00! The operation completed normally!
! 01! Names given and read are not equal!
! ten ! Operation Code Error!
! eleven ! Error reading the word!
! 12 ! Checksum Error!
! 13 ! Error reading bits !
! 14 ! Bit write error!
! 377! Exit by pressing the < STOP > key !
-------------------------------------------------- ------
2.5. Appeal to ROM cassette
The UKSC provides the ability to connect two ROM cassettes to
24 kb each. Array of parameters when working with a ROM cartridge (RAM)
has the following format:
- 17 -
U1.0 0 031-01 90 01
15 8 7 0
+ ----------------------- + ----------------------- +
0! to m a nd a (10)! about!
+ ----------------------- + ----------------------- +
one ! cassette number (1.2)! device type (21)!
+ ----------------------- + ----------------------- +
2! address relative to the beginning of the ROM cassette in bytes!
+ ----------------------------------------------- +
3! And with the RAM of the CPU!
+ ----------------------------------------------- +
four ! number of words!
! ----------------------------------------------- +
There is only one command for working with the RAM - read (code
ten). The response codes are given in table. eight.
Table 8
! ------------ + ------------------------------------ ------ +
! Answer Code! Value!
! ------------ + ------------------------------------ ------ +
! 00! The operation completed normally!
! 01! Cassette not available!
! 02! Invalid address!
! 03! Wrong word count!
! ------------ + ------------------------------------ ------ +
2.6. Access to RAM PP
The memory of the peripheral processor can be considered
as a user device. The capacity of the RAM memory is
32 KB, so the RAM address of the software must be in the range from 0 to 77777.
The command codes when working with RAM RAM are given in table.9.
Table 9
-----------------------------------------------
! Team Code! The name!
! ---------------------------------------------!
! 01! Allocate memory!
! ---------------------------------------------!
! 02! Free up your memory!
! ---------------------------------------------!
! ten ! Reading!
! ---------------------------------------------!
! 20 ! Record!
! ---------------------------------------------!
! thirty ! Start!
! ---------------------------------------------!
Before you execute the write command, you must determine your
the boggy area of the memory of the PC, in which you can write any data
or a program without spoiling the system variables and arrays.
- 18 -
U1.00 0 31-01 90 01
To do this, use the "allocate memory" command (code 01). By this
the command PP returns to MP [2] the address and to MP [3] the size of the selected
areas of memory.
If the size of the requested memory exceeds the size of free data
moment, then in MP [3] the length of free memory is returned, and byte
The answer will not be zero.
When the query is repeated, memory is allocated
from the remaining free.
The MP command "allocate memory" has the following format:
15 8 7 0
---------------------------------------
0! team 01! the answer!
! -------------------------------------!
one ! ! device type (32)!
! -------------------------------------!
2! RAM address of the software!
! -------------------------------------!
3! number of words!
---------------------------------------
Before executing the “allocate memory” command, fill in zero
the first, first and third words of the MP. After executing the command, the second and
the third word MP contains the result of the command.
To allocate the maximum possible memory in the MP [3] must be entered
number minus 1.
The "free memory" command ensures that the specified
memory segment from the list of occupied memory. Parameters (address and length)
the segment to be released must match the parameters that are set
when selecting this segment. Otherwise, the team does not
will be executed and the response byte will contain an error (non-zero value
ln). To free all memory, it is necessary as the length of the segment
Please indicate minus 1. However, the value of the MP [2] field is indifferent.
By the command "read" the specified area in the MP is sent
RAM RAM in RAM RAM.
Forwarding is carried out by command
"record".
The format of the MP read and write commands is as follows:
- 19 -
U1.00 0 31-01 90 01
15 8 7 0
----------------------------------------
0! team (10.20)! the answer!
! --------------------------------------!
one ! ! device type (32)!
! --------------------------------------!
2! RAM address of the software!
! --------------------------------------!
3! RAM address of the CPU!
! --------------------------------------!
four ! number of words!
----------------------------------------
The command "start" runs the program in RAM RAM. Start-up
Your program address is indicated in MP [2] . The MP of this command has the following
blowing format:
15 8 7 0
--------------------------------------
! team (30)! the answer!
! ------------------------------------!
! ! device type (32)!
! ------------------------------------!
! starting address of RAM PP!
------- -------------------------------
The program should be executed as a subprogram, i.e. must
end with the RTS PC command , and, in addition, it must be movable,
because its location is not initially known.
2.7. Access to the printing device
The reference from the CPU program to the printing device is
through channel 1. The addresses of the registers and the interrupt vector have the following
total values (in octal form):
source status register: 176664
source data register: 176666
interrupt vector: 464
As a printing device, D 100 can be used ,
ROBOTRON CM 6329.02-M or other byte-type printing device
parallel interface.
- 20 -
U1.00 0 31-01 90 01
3. SYMBOL-GRAPHIC TERMINAL
3.1. Character-graphic terminal characteristics
The terminal (keyboard, video monitor) provides input / output of sim
free information and graphic information output.
The interaction of the CPU program with the terminal in the UKSC is carried out
through channel 0. Terminal registers and interrupt vectors have
the following values (in octal code):
receiver (keyboard) status register: 177560
receiver (keyboard) data register: 177562
receiver (keyboard) interrupt vector: 60
source (screen) status register: 177 564
source (screen) data register: 177566
source (screen) interrupt register: 64
Data transmission to the terminal is performed through the source registers
ka, and receiving data from the terminal through the receiver registers.
The terminal has the following main characteristics:
screen resolution: 640 x 288
number of colors (gradations of brightness): 8 (from the palette 16)
number of character lines: 26
of them :
- information: 24
- official: 2
number of characters per line: 80
Familiarity matrix: 8 x 11
character matrix: 7 x 9
cursor type: block with flicker
character encoding: KOI-7 (set 0.1)
number of keys: 88
- 21 -
U1.00 0 31-01 90 01
3.2. Keyboard
3.2.1. Keyboard field
The terminal keyboard consists of a main keyboard and an auxiliary
numerical keyboard (Fig. 4), as well as three separate groups
keys:
1) key keys (5 keys);
2) < SK > , < KOM > , < SP > keys
3) < RESET > , < STOP > keys .
According to their purpose, the keys can be divided into the following groups:
py:
1) the main group of keys;
2) register group of keys;
3) a functional group of keys;
4) cursor keys;
5) additional keyboard;
6) < STOP > key ;
7) key keys.
Note. In some versions of the UKSC, the mar-
keystroke of keys, namely: < PS > is replaced by < POM > , < COM > by < SET > ,
< SU > on < PR > , and also some more changes have been made (see fig. 5).
┌ _________ ┬─────┐
│К1 │К2 │К3 │К4 │К5 │ │PS │KOM│ISP│ │ RESET│STOP │
│ K6 │ K7 │ K8 │ K9 │ K10│ │ │ │ │ │ │ │
└_________ ┴─────┘
┌───┬──┬──┬──┬──┬──┬──┬──┬──┬──┬──┬──┬──┬──┬──── ┐ ───┬───┬────┐
│АР2│; │1 │2 │3 │4 │5 │6 │7 │8 │9 │0 │- │ / │ │ │ + │- │, │
│ │ + │! │ "│ # │¤ │% │ & │ ' │ (│) │ │ = │? │ │ │ │ │ │
╞═══╧╤═╧╤═╧╤═╧╤═╧╤═╧╤═╧╤═╧╤═╧╤═╧╤═╧╤═╧╤═╧╤═╧╤═══╡ ╞ ═══╪═══╪════╡
│ TAB │ Y │ C │ U │ K │ E │ N │ G │ W │ SH │ Z │ X │ Ъ │ : │ │ │ 7 │ 8 │ 9 │
│ │ J │ C │ U │ K │ E │ N │ G │ [ │ ] │ Z │ H │ _ │ * │ │ │ │ │ │
╞════╧═╤╧═╤╧═╤╧═╤╧═╤╧═╤╧═╤╧═╤╧═╤╧═╤╧═╤╧═╤╧═╤╛ │ ╞═══ ╪═══╪════╡
│ SU │ F │ Ы │ B │ A │ P │ R │ O │ L │ D │ F │ E │ . │ │ │ 4 │ 5 │ 6 │
│ │ F │ Y │ W │ A │ P │ R │ O │ L │ D │ V │ \ │ > │ │ │ │ │ │
╞═══╤══╧═╤╧═╤╧═╤╧═╤╧═╤╧═╤╧═╤╧═╤╧═╤╧═╤╧═╤╧═╤╧═╤══╡ ╞ ═══╪═══╪════╡
│ ALF │ GRAPH │ I │ H │ C │ M │ and │ T │ b │ B │ Yu │ , ├──┤ ├──┤ │ 1 │ 2 │ 3 │
│ │ │ Q │ ^ │ S │ M │ I │ T │ X │ B │ @ │ < │ │ │ │ │ │ │ │
╞═══╧══╤═╧══╧╤═╧══╧══╧══╧══╧══╧══╪═════╡ ├──┤ │ ╞═══╪ ═══╪════╡
│ │ FIX │ │ │ │ │ │ │ 0 │ . │ ENTER │
│ │ │ │ ├──┤ ├──┤ │ │ │ │
└ ─ ─ ─ ─ ┴ ┴ ─ ─ ─ ─ ┴ ┴ └ └ └ └ └ └ └ └ └ └ └ └ └ └ ───┴───┴────┘
Fig. four
- 22 -
U1.00 0 31-01 90 01
┌_________ ┬─────┐
│ K1 │ K2 │ K3 │ K4 │ K5 │ │ HELP │ USE │ RESET │ STOP │
│ │ │ │ │ │ │ │ │ │ │ │ │
└_________ ┴─────┘
┌───┬──┬──┬──┬──┬──┬──┬──┬──┬──┬──┬──┬──┬──┬──── ┐ ───┬───┬────┐
│АР2│; │1 │2 │3 │4 │5 │6 │7 │8 │9 │0 │- │ / │ │ │ + │- │, │
│ │ + │! │ "│ # │¤ │% │ & │ ' │ (│) │ │ = │? │ │ │ × │ ÷ │ │
╞═══╧╤═╧╤═╧╤═╧╤═╧╤═╧╤═╧╤═╧╤═╧╤═╧╤═╧╤═╧╤═╧╤═╧╤═══╡ ╞ ═══╪═══╪════╡
│TAB │Y │Ц │У │К │Е │Н │Г │Ш [ │Щ ] │З │Х │Ь │: │ │ │7 │8 │9 │
│ │ J │ C │ U │ K │ E │ N │ G │ { │ } │ Z │ H │ _ │ * │ │ │ │ │ │
╞════╧═╤╧═╤╧═╤╧═╤╧═╤╧═╤╧═╤╧═╤╧═╤╧═╤╧═╤╧═╤╧═╤╛ │ ╞═══ ╪═══╪════╡
│ UPR │Ф │Ы │В │А │П │Р │О │Л │Д │Ж │Э \ │. │ │ │4 │5 │6 │
│ │ F │ Y │ W │ A │ P │ R │ O │ L │ D │ V │ | │ > │ │ │ │ │ │
╞═══╤══╧═╤╧═╤╧═╤╧═╤╧═╤╧═╤╧═╤╧═╤╧═╤╧═╤╧═╤╧═╤╧═╤══╡ ╞ ═══╪═══╪════╡
│АЛФ│ГРАФ│Я │Ч ^ │С │М │И │Т │Ь │Б │Ю @ │, ├──┤ ├──┤ │1 │2 │3 │
│ │ │ Q │ ~ │ S │ M │ I │ T │ X │ B │ ` │ < │ │ │ │ │ │ │ │
╞═══╧══╤═╧══╧╤═╧══╧══╧══╧══╧══╧══╪═════╡ ├──┤ │ ╞═══╪ ═══╪════╡
│ │ FIX │ │ │ │ │ │ │0 │. │ INPUT │
│ │ │ │ ├──┤ ├──┤ │ │ │ │
└ ─ ─ ─ ─ ┴ ┴ ─ ─ ─ ─ ┴ ┴ └ └ └ └ └ └ └ └ └ └ └ └ └ └ ───┴───┴────┘
Fig. five
3 .2.2. Keyboard Group
This group includes keys with the letters of the Russian and Latin
alphabets, special characters (! " # ¤% & / etc.), digital
keys.
The main group of keys generates a standard code for the exchange of information
KOI-7, set 0 (Table 10) and KOI-7, set 1 (Table 11). Transfer
keyboards from set 0 to set 1 and vice versa by pressing
Vichy < ALF > . To fix the translation of the keyboard from one set to another
You must simultaneously press the < ALF > and < FIX > keys .
In pseudo-graphic mode, a series of keys generates 8-bit codes,
corresponding to pseudo-graphic characters. These codes, as well as
The keys of the symbolic and pseudo-graphics are given in table. 12.
- 23 -
U1.00 0 31-01 90 01
N a b o r 0
Table 10
-------------------------------------------------- -----------
! The symbol! Eight! The symbol! Eight! The symbol! Eight!
! ! richny! ! richny! ! richny!
! ! code ! ! code ! ! code !
! - -------- + --------- + --------- + --------- + --------- + ---------!
! 040! @ 100! ` 140!
! ! 04 1! A 10 1! a 14 1!
! "042! B 10 2! B 14 2!
! # 04 3! C 10 3! c 14 3!
! ¤ 04 4! D 10 4! d 14 4!
! % 04 5! E 10 5! e 14 5!
! & 04 6! F 10 6! f 14 6!
! '04 7! G 107 ! g 14 7!
! (0 50! H 1 10! H 1 50!
! ) 0 51! I 1 11! i 1 51!
! * 0 52! J 1 12! j 1 52!
! + 0 53! K 1 13! k 1 53!
! 0 54! L 1 14! l 1 54!
! - 0 55! M 1 15! m 1 55!
! . 0 56! N 1 16! n 1 56!
! / 0 57! O 1 17! o 1 57!
! 0 0 60! P 100! p 1 60!
! 1 0 61! Q 1 21! q 1 61!
! 2 0 6 2 ! R 1 22! r 1 62!
! 3 0 63! S 1 23! s 1 63!
! 4 0 64! T 1 24! t 1 64!
! 5 0 65! U 1 25! u 1 65!
! 6 0 66! V 1 26! v 1 66!
! 7 0 67! W 1 27! w 1 67!
! 8 0 70! X 100! x 1 70!
! 9 0 71! Y 1 31! y 1 71!
! : 0 72! Z 1 32! z 1 72!
! ; 0 73! [1 33! {1 73!
! <0 74! \ 1 34! | 1 74!
! = 0 75! ] 1 35! } 1 75!
! > 076! ^ 136! ~ 176!
! ? 077! _ 137! slaughter 177!
-------------------------------------------------- -----------
- 24 -
U1.00 0 31-01 90 01
N a b o r 1
Table 11
-------------------------------------------------- -----------
! The symbol! Eight! The symbol! Eight! The symbol! Eight!
! ! richny! ! richny! ! richny!
! ! code ! ! code ! ! code !
! --------- + --------- + --------- + --------- + --------- + ---------!
! 040! w 100! U 140!
! ! 041! and 101! A 141!
! "042! B 102! B 142!
! # 043! Ts 103! TS 143!
! ¤ 044! d 104! D 144!
! % 045! e 105! E 145!
! & 046! f 106! F 146!
! '047! g 107! G 147!
! (050! X 110! X 150!
! ) 051! and 111! And 151!
! * 052! th 112! J 152!
! + 053! to 113! To 153!
! 054! l 114! L 154!
! - 055! m 115! M 155!
! . 056! n 116! H 156!
! / 057! about 117! Oh 157!
! 0 060! n 100! P 160!
! 1,061! I'm 121! I am 161!
! 2 062! p 122! R 162!
! 3 063! with 123! With 163!
! 4,064! t 124! T 164!
! 5,065! have 125! Have 165!
! 6 066! w 126! F 166!
! 7 067! at 127! In 167!
! 8 070! b 100! B 170!
! 9 071! s 131! S 171!
! : 072! s 132! Z 172!
! ; 073! w 133! W 173!
! <074! e 134! Uh 174!
! = 075! u 135! Щ 175!
! > 076! h 136! Ч 176!
! ? 077! ъ 137! Kommersant 177!
-------------------------------------------------- -----------
- 25 -
U1.00 0 31-01 90 01
Table 12
┌┌ ─ ─ ─ ┬ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┌ ┌ ┌ ┌ ┌ ┌ ┌ ┌ ┌ ┌ ┌ ┌ ┌ ┌ ┌ ┌ ┌ ┌ ┌ ┌ ────────┐
│ Eight-│ Psevdo- │ Responsibility- ║ Eight-│ Psevdo- │ Responsibility │
│ Roman │ Graphic ║ ║ Roman │ Graphic │
│ code │ sign │ key ║ code │ sign │ key │
├├ ─ ─ ─ ┼ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ────────┤
│ 240 │ ╢ │ @ Yu ║ 260 │ ┼ │ P P │
├├ ─ ─ ─ ┼ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ────────┤
│ 241 │ ┴ │ A A ║ 261 │ ╞ │ Q I │
├├ ─ ─ ─ ┼ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ────────┤
│ 242 │ ╟ │ B B ║ 262 │ ╫ │ R R │
├├ ─ ─ ─ ┼ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ────────┤
│ 243 │ ┐ │ C C ║ 263 │ ╥ │ S C │
├├ ─ ─ ─ ┼ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ────────┤
│ 244 │ ║ │ D Y ║ 264 │ ╧ │ T T │
├├ ─ ─ ─ ┼ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ────────┤
│ 245 │ ├ │ E E ║ 265 │ ─ │ U U │
├├ ─ ─ ─ ┼ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ────────┤
│ 246 │ └ │ F F ║ 266 │ ╚ │ V F │
├├ ─ ─ ─ ┼ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ────────┤
247 │ │ ╠ │ the G G 267 ║ │ │ │ the W in │
├├ ─ ─ ─ ┼ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ────────┤
│ 25 0 │ ╔ │ H X ║ 27 0 │ ╤ │ X b │
├├ ─ ─ ─ ┼ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ────────┤
│ 251 │ ╪ │ I AND ║ 271 │ ┘ │ Y S │
├├ ─ ─ ─ ┼ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ────────┤
│ 252 │ ┌ │ J J ║ 272 │ ═ │ Z Z │
├├ ─ ─ ─ ┼ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ────────┤
│ 253 │ ┬ │ K K ║ 273 │ ╣ │ [ W │
├├ ─ ─ ─ ┼ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ────────┤
│ 254 │ ╩ │ L L ║ 274 │ ╝ │ \ E │
├├ ─ ─ ─ ┼ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ────────┤
│ 255 │ ╨ │ M M ║ 275 │ ╦ │ ] Щ │
├├ ─ ─ ─ ┼ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ────────┤
│ 256 │ ┤ │ N N ║ 276 │ ╡ │ ^ H │
├├ ─ ─ ─ ┼ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ├ ────────┤
│ 257 │ ╬ │ O O ║ 277 │ ╗ │ _ b │
└└ ─ ─ ─ ┴ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ └ └ └ └ └ └ └ └ └ └ └ └ └ └ └ └ └ └ └ └ ────────┘
3.2.3. Register key group
The register keys include the keys < SU > , < ALF > , < GRAPH > ,
< FIX > and <> ( "Lower case" or "HP").
These keys, with the exception of < ALF > , do not generate codes.
When you press the register key, the keyboard enters the mode
generating codes corresponding to this mode. When released
The register key switches the keyboard to the initial mode.
By simultaneously pressing the register key and the key
< FIX > the keyboard switches to the set mode and when pressed
- 26 -
U1.00 0 31-01 90 01
the register key does not switch to the initial mode (fixed in
single mode).
The exception is the "HP" key when controlling the operation of the keys
with numbers and signs on the main field.
The < CU > key switches the keyboard to code generation mode
from 0 to 37 (octal) when pressing the alphabet keys.
The < GRAPH > key switches the keyboard to code generation mode
tabular graphics (240-277).
The < ALF > key switches the keyboard from set 0 to set 1 and
back, while pressing and depressing the key < ALF > codes are issued
16 and 17 ("RUS" and "LAT"), respectively.
The HP key switches the keyboard from code generation mode
uppercase letters to the mode of formation of lowercase codes and vice versa, and
also controls the switching of numeric and character keys.
3.2.4. Functional group of keys
This group of keys includes: < AP2 > , < TAB > , <> ( "VK"),
< > ("STOP"), < RESET > .
When you click on any of these keys, the corresponding
control code. Control codes are also generated.
while holding down the < CU > key and pressing any
keys from the main group. In the table. 13 is a list of managers
codes and their corresponding keys.
- 27 -
U1.00 0 31-01 90 01
Table 13
------------------------------------------
! Octal! < SU > +! Relevant!
! code ! ! the keys!
! -------------- + -------- + ----------------!
! 000! @ ! !
! 001! A ! !
! 002! B ! !
! 003! C ! !
! 004! D ! !
! 005! E ! !
! 006! F ! !
! 007! G ! !
! 010! H ! < RESET > !
! 011! I ! < TAB > !
! 012! J ! !
! 013! K ! !
! 014! L ! !
! 015! M ! "VC" !
! 016! N ! < alph > !
! 017! O ! < alph > !
! 020! P ! !
! 021! Q ! !
! 022! R ! !
! 023! S ! !
! 024! T ! !
! 025! U ! !
! 026! V ! !
! 027! W ! !
! 030! X ! !
! 031! Y ! !
! 032! Z ! !
! 033! [ ! < AR2 > !
! 034! \ ! !
! 035! ] ! !
! 036! ^ ! !
! 037! _ ! !
------------------------------------------
3.2.5. Cursor keys
The keys are located in the lower right corner of the main field of the keyboard
cursor control. In the table. 14 shows the control code after-
sequences issued by these keys in two command systems,
implemented in the UKSC (for more information about command systems, see clause 3.3.3.).
- 28 -
U1.00 0 31-01 90 01
Table 14
--- ----------------------------------------------- ---!
! The key! The manager! Manager !
! !sequence ! code !
! ! (command system N 1! (command system N 2!
! -------------------------------- + ---------------- ---!
! ! AP2 A ! !
! ! 033 101! 34!
! ------------ + ------------------- + ---------------- ---!
! ! AP2 B ! !
! ! 033 10 2 ! 3 5 !
! ------------ + ------------------- + ---------------- ---!
! ! AP2 C ! !
! ! 033 10 3 ! 3 1 !
! ------------ + ------------------- + ---------------- ---!
! ! AP2 D ! !
! ! 033 10 4 ! 3 2 !
! ------------------------------------------------- ---!
3 .2.6. Additional keyboard
An additional numeric keypad can work in two modes -
max: primary and secondary. In main mode, it generates codes
numbers and the following signs: dot, comma, plus, minus, and also code
carriage return.
In additional mode, the numeric keypad generates a control-
general code sequences. They are given in table. 15.
- 29 -
U1.00 0 31-01 90 01
Table 15
-------------------------------------------------- ---------
! The key! The main mode! Extra mode!
-------------------------------------------------- ---------
! 0! 0! AR2? p !
! ! 060! 033 077 160!
! ! ! !
! one ! one ! AR2? q !
! ! 061! 033 077 16 1 !
! ! ! !
! 2! 2! AR2? r !
! ! 062! 033 077 16 2 !
! ! ! !
! 3! 3! AR2? s !
! ! 063! 033 077 16 3 !
! ! ! !
! four ! four ! AR2? t !
! ! 064! 033 077 16 4 !
! ! ! !
! five ! five ! AR2? u !
! ! 065! 033 077 16 5 !
! ! ! !
! 6! 6! AR2? v !
! ! 066! 033 077 16 6 !
! ! ! !
! 7! 7! AR2? w !
! ! 067! 033 077 16 7 !
! ! ! !
! eight ! eight ! AR2? x !
! ! 070! 033 077 1 70 !
! ! ! !
! 9 ! 9 ! AR2? y !
! ! 071! 033 077 171!
! ! ! !
! +! + ! AP2 P !
! ! 053 ! 033 120 !
! ! ! !
! -! - (minus) ! AP2 Q !
! ! 055 ! 033 121 !
! ! ! !
! ! , (comma) ! AP2 R !
! ! 054 ! 033 122 !
! ! ! !
! . ! . (point) ! AR2? n !
! ! 056 ! 033 077 1 56 !
! ! ! !
! ENTER! "VC" ! AR2? M !
! ! 015 ! 033 077 1 15 !
! ! ! !
-------------------------------------------------- ---------
In the main mode, when the < CU > key is pressed or locked
the keys < + > , < - > , < , > - give the same sequences as in
additional mode (33 120, 33 121, 33 122).
- 30 -
U1.00 0 31-01 90 01
3.2.7. Key keys
The keys correspond to 5 keys:
! -----! ! -----! ! -----! ! -----! ! -----!
! K1! ! K2! ! K3! ! K4! ! K5!
! K6! ! K7! ! K8! ! K9! ! K10!
! -----! ! -----! ! -----! ! -----! ! -----!
Power-up key values are not defined. Their
can be installed programmatically. For this it is necessary to issue to the terminal
following sequence:
< Nach >; < P1 > | < KL1 > / < STR1 >; < KL2 > / < STR2 >; ...; < KL N > < STR N >; < CON >
where < NACH > is the control sequence AP2%! 1 AP2 P
(codes 33 45 41 61 33 160);
< KON > - control sequence AP2 / AP2%! 3
(codes 33 134 33 45 41 63);
< P1 > - sign of redefinition of keys;
< КЛ1 > , < КЛ2 > , ..., < КЛ N > - key number (1,2, ..., 25);
< STR1 > , < STR2 > , ..., < STR N > are the key values.
If < P1 > (sign of redefinition of keys) is absent or equal to
zero, then key redefinition is prohibited in the future. If < П1 > = 1, then
redefinition of keys in the future is allowed.
< PAGE N > ( key value) is a string defining
given key. The string consists of pairs of characters in the code KOI-7, representing
digits of the hexadecimal representation of character codes.
For example, the symbol J corresponds to couple 4 A .
Example:
sequence
AR2%! 1 AP2 P ; 1 | 1/ 4449522 F 4655; AP2 / AP2%! 3
(codes 033 045 041 061 033 160 073 061 174 061 057 064 064 064
071 065 062 062 106 064 066 065 065 073 033 057 045 041 063)
sets the key K1 to DIR / FU , i.e. during further work at
by pressing the K1 key, DIR / FU will appear on the screen .
The keys K1, K2, K3, K4 and K5 work when you press the key keys,
keys K6, K7, K8, K9 and K10 - while pressing the HP and
key-keys, keys K11, K12, K13, K14, K15 - while
pressing the < GRAPH > key and key-keys , keys K16, K17, K18, K19, K20
- while pressing the < CU > key and key-key, keys K21,
K22, K23, K24, K25 - while you press < FIX > and kla-
vichy key.
- 31 -
U1.00 0 31-01 90 01
3.2.8. Keys < COM > , < STOP > , < PS > and < INC >
By pressing the < COM > key, the installation menu goes
modes. Setting of modes is described in detail in clause 3.4.
Pressing the < STOP > key in program mode switches the CPU
to the remote terminal mode described in p.4.
By pressing the < PS > key, when working with the menu,
information on the procedure for working with the menu (see section 3.4.1).
Simultaneous pressing of the keys < СУ > and < ПС > transfers the terminal to
control character display mode, in which commands and command
sequences are not fulfilled, but are displayed on the screen by codes
in angle brackets. Exit this mode by pressing the same keys.
The < INF > key is used when operating in the remote control mode.
nala (see subparagraphs 4.11, 4.12) and when working with the menu (see subsection 3.4.).
With the simultaneous pressing of the keys < CU > and < ISP > on the printer
A copy of the screen is displayed.
3.3. Output on display
On the screen of the UKSC it is possible to display both symbolic and graphic
information.
All characters displayed on the screen are divided into two types: displayed
and managers.
Codes of displayed symbols correspond to KOI-7 set 0 and KOI-7
set 1. In addition to alphanumeric information in character mode, you can
but display pseudographic signs. Graphics output
carried out by transferring to the terminal the corresponding command after-
good deeds.
3.3.1. Indication of operating modes of the terminal
The screen displays 26 character lines, of which 2 lines -
service to indicate the operating modes of the terminal. Top indication
service line and the corresponding modes are given in table. sixteen.
- 32 -
U1.00 0 31-01 90 01
Table 16
! ------------------------------------------------- -!
! Indication! Work mode!
! ------------- + ----------------------------------- -!
! LAT! Keyboard and monitor generate!
! ! dialing codes 0 (table 10)!
! ------------- + ----------------------------------- -!
! RUS! Keyboard and monitor generate!
! ! dialing codes 1 (table 11 )!
! ------------- + ----------------------------------- -!
! Ust Setting modes!
! ------------- + ----------------------------------- -!
! DKL! Additional keyboard mode!
! ------------- + ----------------------------------- -!
! ISU! Character display mode!
! ------------- + ----------------------------------- -!
! Subch Underline Mode!
! ------------- + ----------------------------------- -!
! INV! Inversion mode!
! ------------------------------------------------- -!
3.3.2. Symbol Information Image
The character-graphic terminal forms 160 uppercase characters
and lowercase letters of the Russian and Latin alphabets, Arabic numerals, special
social characters, as well as 32 pseudo-graphic characters.
Character images are written in ROM.
You can define your own images of the symbol
fishing You can design a completely new alphabet or font, make
mathematical and scientific signs.
Keep in mind that user-defined images symbol o
stored in RAM. When the microcomputer shuts down, certain
The signs are lost.
To download the user's font, it is necessary to issue to the terminal
following sequence:
< Nach > ; < CODE > ; @ < OBR1 > ; < OBR2 > ; .....; < OBR N > < CON >
where < NACH > is the control sequence
AR2%! 1 AP2 P
033 045 041 061 033 120
< KON > - control sequence
AP2 / AP2%! 3
033 057 033 045 041 063
< CODE > - character code, starting from which it is necessary
upload a new font. For characters from
set 0 codes from 40 to 177, for characters
pseudographics - from 240 to 277. For programs
- 33 -
U1.00 0 31-01 90 01
character images from a set of 1 to
7-bit character code must be added 200,
those. for a character whose code is 140 (letter Y),
< CODE > = 340;
< OBR1 > , < OBR2 > , ..., < OBR of N > - new font designs;
Each sample has the form:
VVVVVVVVV / IUUUUUUUUU
where: B ... B - 7-bit codes of the upper part of the matrix
character image (matrix format 8x11 pixels)
H ... H - 7-bit codes of the lower part of the image matrix.
Codes "B" of the upper part of the matrix are formed as follows:
4 3 2 1 0
-------------------------------------------
! one ! 0! ! ! ! ! !
-------------------------------------------
\ /! ---------- \ / ----------!
! !
required 5 bit top column
matrix prefix
Codes "H" of the lower part of the matrix are formed as follows:
5 4 3 2 1 0
-------------------------------------------
! one ! ! ! ! ! ! !
-------------------------------------------
! ! ------------ \ / --------------!
! !
required 6 bit top column
matrix prefix
An example of a symbol image matrix (0 - background color, 1 - glowing
dot) is shown in Fig. 6.
For this matrix, < OBR > is the sequence
codes:
120 110 104 103 104 110 120 100 57 101 102 104 133 104 102 101 100
Code < 57 > is the character "/".
- 34 -
U1.00 0 31-01 90 01
---------------------------------
0! 0! 0! 0! one ! 0! 0! 0! 0!
---------------------------------
one ! 0! 0! 0! one ! 0! 0! 0! 0! top part
---------------------------------
2! 0! 0! one ! 0! one ! 0! 0! 0! matrices
---------------------------------
3! 0! one ! 0! 0! 0! one ! 0! 0!
---------------------------------
four ! one ! 0! 0! 0! 0! 0! one ! 0!
---------------------------------
---------------------------------
0! one ! 0! 0! one ! 0! 0! one ! 0!
---------------------------------
one ! 0! one ! 0! one ! 0! one ! 0! 0! Bottom part
---------------------------------
2! 0! 0! one ! 0! one ! 0! 0! 0! matrices
---------------------------------
3! 0! 0! 0! one ! 0! 0! 0! 0!
---------------------------------
four ! 0! 0! 0! one ! 0! 0! 0! 0!
---------------------------------
five ! 0! 0! 0! 0! 0! 0! 0! 0!
---------------------------------
Fig. 6
3.3.3. Command System and Command Sequences
The character-graphic terminal provides the execution of two system
those teams:
1) Command system N 1 according to the table. 17 and 18 (corresponds to the system
topic of display commands VT-52) ;
2) The command system N 2 according to table 17 (corresponds to the system
commands N1 of the display 15IE-00-013).
Command systems N 1 and N 2 are executed in symbol mode. In the graph
In operational mode, the command sequences given in
table 19.
Before entering graphical mode to arrange the table
lines, you must run the following command sequence:
AR2%! 1 AP2 [ 0; 0 r
(codes 033 045 041 061 033 133 060 075 060 162)
After completing this sequence, the list of television
lines are arranged sequentially.
- 35 -
U1.00 0 31-01 90 01
Table 17
! ------------------------------------------------- -------------!
! Eight-! Key! < SU > +! Team name !
! richny! ! ! -------------------! -------------------!
!code ! ! ! in the command system N 1 ! in the command system N 2 !
! ------- + ------- + ------ + ------------------- + ------ -------------!
! 000! ! @ ! -! -!
! 001! ! A ! -! -!
! 002! ! B ! -! -!
! 003! ! C ! -! -!
! 004! ! D ! -! -!
! 005! ! E ! -! -!
! 006! ! F ! -! -!
! 007! ! G ! the bell! the bell!
! 010! RESET! H ! Return to step! Cursor to the beginning ek-!
! ! ! ! ! wound!
! 011! TAB! I ! -! -!
! 012! ! J ! Line feed! Line feed!
! 013! ! K ! -! -!
! 014! ! L ! Screen reset! Screen reset!
! 015! "VC" ! M ! Carriage return! Carriage return!
! 016! ALF! N ! Set 1 (Russian)! Set 1 (Russian)!
! 017! ALF! O ! Set 2 (latin)! Set 2 (latin)!
! 020! ! P ! -! -!
! 021! ! Q ! -! -!
! 022! ! R ! -! line shift!
! ! ! ! ! up!
! 023! ! S ! -! shift the end of the line!
! ! ! ! ! right!
! 024! ! T ! -! shift the end of the line!
! ! ! ! ! left!
! 025! ! U ! -! cursor to the beginning!
! ! ! ! ! the next line!
! 026! ! V ! -! screen shift on !
! ! ! ! ! 1 line down !
! 027! ! W ! -! transition to the system !
! ! ! ! ! teams N 1 !
! 030! ! X ! -! -!
! 031! ! Y ! -! cursor right by 1 !
! ! ! ! ! position !
! 032! ! Z ! -! cursor left by 1 !
! ! ! ! ! position !
! 033! AP2! [ ! service symbol ! !
! 034! ! \ ! -! cursor up 1 !
! ! ! ! ! string !
! 035! ! ] ! -! cursor down 1 !
! ! ! ! ! string !
! 036! ! ^ ! -! -!
! 037! ! _ ! -! reset the end of the page !
! ! ! ! ! Ps !
! ------------------------------------------------- -------------!
- 36 -
U1.00 0 31-01 90 01
Character mode command sequences
Table 18
-------------------------------------------------- ------------
! The team! Operation in progress!
!sequence! !
! ------------------------------------------------- -----------!
! AP2 =! Setting a special mode !
! 033 075! additional keyboard !
! ! !
! AP2 > ! Reset special mode !
! 033 076! additional keyboard !
! ! !
! AP2 A ! Move the cursor up one line !
! 033 101! !
! ! !
! AP2 B ! Move the cursor down one line !
! 033 102 ! !
! ! !
! AP2 C ! Move the cursor one step around !
! 033 103 ! line to the right !
! ! !
! AP2 D ! Move the cursor one step around !
! 033 104 ! line left !
! ! !
! AP2 E ! Transition to the command system N 2 !
! 033 105 ! !
! ! !
! AP2 H ! Move the cursor to the top of the page !
! 033 110 ! !
! ! !
! AP2 I ! Move the cursor up one line !
! 033 111 ! !
! ! !
! AP2 J ! Erasing text from cursor position to !
! 033 112 ! end of page !
! ! !
! AP2 K ! Erasing text from cursor position to !
! 033 113 ! end of line !
! ! !
! AP2 Y ! Moving the cursor to a position, ask- !
! 033 131 ! I can see two characters following AP2 Y !
! ! !
! AP2 Z ! In response to the issuance of the sequence !
! 033 132 ! AP2 / Z (codes 033 057 132) !
! ! !
! AR2%! 0! Switch to graphic mode!
! 033 045 041 060! !
! ------------------------------------------------- -----------!
- 37 -
U1.00 0 31-01 90 01
Graphics Mode Command Sequences
Table 19
-------------------------------------------------- ----------------
! The team! Operation in progress!
! sequence ! !
! ------------------------- + ----------------------- ---------------!
! AP2 L I < C > < M > < E > ! Setting character color indexes ( < C > ) !
! ! familiarity ( < M > ) and screen ( < E > ) !
! ------------------------- + ----------------------- ---------------!
! AP2 M L < IND > ! Setting the color index for straight !
! ------------------------- + ----------------------- ---------------!
! AP2 M P < INDEX > ! Setting the color index to fill !
! ! contour < INDEX > - Integer from 0 to !
! ! minus 7 !
! ------------------------- + ----------------------- ---------------!
! AP2 R R < X 1 Y 1> < X 2 Y 2> < IND > ! Filling a rectangular area !
! ! raster with coordinates ( X 1, Y 1) - ( X 2, Y 2) !
! ------------------------- + ----------------------- ---------------!
! AP2 T D < IND1 > < IND2 > ! Setting alphabetical color indices !
! ! the cursor. The cursor changes periodically !
! ! color between < INDEX1 > and < INDEX2 > - !
! ! blinking !
! ------------------------- + ----------------------- ---------------!
! AP2 U A ! Reading the color index of the current point. !
! ! In response to this command, the terminal re- !
! ! gives < IND > and "VK" (carriage return) !
! ------------------------- + ----------------------- ---------------!
! AP2 U B ! Filling the area. Outline area !
! ! defined by the current color index direct- !
! ! my. Color fill index according- !
! ! The set index is for !
! ! complete contour !
! ------------------------- + ----------------------- ---------------!
! AP2 U C ! Repainting the area !
! ------------------------- + ----------------------- ---------------!
! AP2 U F < XY > ! Setting the coordinates of the current point !
! ------------------------- + ----------------------- ---------------!
! AP2 U G < XY > ! Vector drawing !
! ------------------------- + ----------------------- ---------------!
! AP2 U H < XY > ! Drawing a point !
! ------------------------- + ----------------------- ---------------!
! AP2 U I ! Reading the coordinates of the current point. !
! ! In response to the command, the terminal transmits !
! ! coordinates <XY> and "VK" !
! ------------------------- + ----------------------- ---------------!
! AR2 %! 3 ! Switch to character mode !
! ------------------------------------------------- ---------------!
The color indices indicated in Table 19 as < C > , < M > , < E > , < IND > ,
< IND1 > , < IND2 > , are integers from 0 to 7, represented as alpha
Vitamin-Digital Equivalent (AEC). Coordinates of points ( X , Y ), ( X 1, Y 1) ,
( X 2, Y 2) for use in command sequences graphic
this regime should also be presented in the form of AEC for special rights
lamas. Rules of conversion of an integer and a pair of coordinates < the XY > poka-
are given by examples.
- 38 -
U1.00 0 31-01 90 01
An example of converting a whole to the ACE:
the integer -4555 is represented in binary form:
eight
0 000 100 101 101 101
and break into groups as follows:
000010 010110 1101
! ------! ------! ----!
1g 2g 3g
Each group is supplemented with up to 7 bits by a mandatory prefix, and
Group 3 is also familiar. As a result, we have:
------------ ---------- ---------------
! one ! 000010! !one! 010110! ! 01! 0! 1101!
------------ ---------- ---------------
! ! ! !
\ ------------------ \! / ---------------- /!
! !
Mandatory prefix sign
0 if "-"
1 if "+"
as a result we will receive codes: 102 126 055
which corresponds to the characters: B V -
thus the alphanumeric equivalent of a number
-4555 character sequence BV-
eight
The integer is represented by 3 bytes.
Example of transformation of a coordinate pair < XY > in AEC:
Take the coordinates X = 65 Y = 274
8 8
We represent each of the numbers in binary form and divide it into
groups:
X = 65 Y = 274
-------------------- --------------------
! 00000! 01101! 01! ! 00001! 01111! 00!
-------------------- --------------------
ST H ML H ZCH ST N ML N ZN
We place these groups in a certain order, adding up to 7 bits
mandatory prefix:
- 39 -
U1.00 0 31-01 90 01
Ace symbol
--------------
! - > ! 01! 00001! 041 !
! --------------
! ST Y
! ---------------
! ->! 110! 00! 01! 141 a
! ---------------
! PY PX
! --------------
! ->! eleven ! 01111! 157 o
! --------------
! ML Y
! --------------
! - > ! 01! 00000! 040 space
! --------------
! ST X
! --------------
! - > ! ten ! 01101! 115 m
! --------------
! ML X
! < --- required
prefix
Thus, the pair of coordinates (65,274) corresponds to the sequence
code span 041 141 157 040 115, i.e. character sequence
catch:! ao M
A pair of coordinates is represented by 5 bytes.
Command read point color index read and
"reading the coordinates of the current point" have some feature. For
their implementation, you must perform the following actions:
1) issue a command sequence to the terminal
AR2%! 1 AR2 [ 2 h
( codes 033 045 041 061 033 133 062 150)
to lock the keyboard;
2) perform the transition to the graphic mode as a sequence
AR2%! 0
(codes 033 045 041 060)
3) issue to the terminal the sequence of reading the color index
points or read the coordinates of the current point
AP 2 U A or AP 2 U I
(codes 033 125 101 (codes 033 125 111)
4) receive response codes from the keyboard data register: 3 bytes
(color index as AEC) for the sequence AP2 U A or 5 bytes
(a pair of coordinates in the form of AEC) for the sequence AP2 U I ;
5) accept the completion byte - code 15 ("carriage return");
6) reset the keypad lock
- 40 -
U1.00 0 31-01 90 01
AR2%! 1 AR2 [2 l
( codes 033 045 041 061 033 133 062 154)
3.4. Setting Modes
3.4.1. Mode Setting Menu
The micro-computer "ELECTRONICS MS 0511" provides for
setting modes. To go to the setup menu, it’s enough
press the < COM > key . After that, the screen is cleared, in the service line
“SET” is displayed and a menu appears on the left side of the screen
setting modes (first level):
Setting Modes
-----------------
1 - command system
2 - screen format
3 - symbol color
4 - color of familiarity
5 - screen color
6 - cursor color
7 - roll
8 - timer
To select the mode to be set, use
keys < > ("Down arrow") and < > ("Up arrow"). Selected
the menu bar is displayed in the inverse image. Row selection can
also carry out by pressing the key with the line number. For example, for
to select the timer mode, press the <8> key .
For each mode, there is the next (second) menu level,
to go to which you need to press the <> key ("right arrow").
The menu of the 2nd level is displayed on the right side of the screen. Choosing the right one
mode is performed by pressing the down arrow and arrow keys
up ". To return to the previous (first) level, press the key
<> ("left arrow"). In this case, the cursor is positioned above the menu
with which there is work.
Information on the procedure for working with the mode menu can be
read if, by going to this menu, press the < PS > key . In the lower part
The following information will appear on the screen:
- 4 1 -
U1.00 0 31-01 90 01
1 ÷ 9, ↑, ↓, - element selection
→ - next level
← - previous level
0, , ICP output
Exit command mode by clicking on any of
keys <0> , "VK" or < ISP > .
3.4.2. Command System Installation
The second level menu for installing the command system has the following
view :
1 - VT - 52
2 - 15 IE-00-013
When power is turned on, mode 1 is set, i.e. command system
VT-52.
3.4.3. Set screen format
You can set one of four screen formats. Second menu
Rogo level has the following form:
1 - 80 x 24
2 - 40 x 24
3 - 20 x 24
4 - 10 x 24
where the first number is the number of characters in the string;
the second number is the number of lines on the screen.
When power is turned on, mode 1 is set, i.e. screen format
80x24 (24 lines of 80 characters each).
- 4 2 -
U1.00 0 31-01 90 01
3.4.4. Color setting
All color setting modes (character color, familiar color, color
screen, cursor color) allows you to set one of 8 colors (for color -
nom monitor) or one of 8 gradations of brightness (on a black-and-white monitor
re). The second level menu is a table of colors (gradations
brightness) with numbers from 1 to 8.
On power-up, the symbol color is 8, the color of familiarity is 2, the color
screen - 2, cursor color - 8.
3.4.5. Roll setting
It is possible to install a smooth or discrete roll, as well as
turn off the roll.
The menu of the 2nd level is as follows:
1 - smooth
2 - discrete
3 - off
On power-up, a smooth roll is installed.
3.4.6. Turn on or off the timer
The power-on timer is set to on.
state.
The menu of the 2nd level for the timer is as follows:
1 - enabled
2 - off
When working with a local network, the timer must be mandatory
included.
- 4 3 -
U1.00 0 31-01 90 01
4. COMMANDS OF THE REMOTE TERMINAL
You can enter the console terminal mode from the boot menu, select
equal to the "debug" mode or switch to it from the program mode in
the following cases:
1) after executing the HALT command ;
2) after pressing the < STOP > key ;
3) with a double error accessing the channel.
When switching from program mode to communication mode with the remote
The following operations are performed by the terminal:
Carriage return ("VK"), line feed and printing of the following information
mations
**** STOP ****
< address > / < value >
@
where < address > is the address of the next command;
< value > is the contents of the cell with this address.
The @ sign indicates the readiness to accept the command of the remote terminal.
If the wrong command is entered, then "VK" is processed, the translation
lines and print " @ ".
The addresses and data displayed on the terminal always have 6 octal
ny discharges. If you enter a 6-bit octal code
If the digits are equal to zero , then to save time the required code can be started
nat administered to older, different from zero discharge. For example :
instead of 000020, code 20 is allowed.
The maximum length of the input number is 8 digits. In doing so,
Only 6 younger ones are able to eat. Incorrectly typed characters can be deleted
by pressing the "face" key.
4.1. Open cell command
It is performed by pressing the < > key (" right arrow "). By this
The command prints the contents of the memory cell. The team usually follows
blowing behind cell address.
- 4 4 -
U1.00 0 31-01 90 01
An example:
@ 1000 <>
-
001000/12345
--------------
Where:
1000 is the octal address of the memory location that should
to be open;
012345 - the contents of the cell with the address 1000.
If the "open cell" command is used without specifying an address,
it opens the contents of the last cell that opened earlier.
In the above and subsequent examples, deduced micro-computers
alphanumeric characters are underlined.
4.2. Write number command
If you want to change the contents of an open cell, then you need to
I can type the new contents of the cell and press <> ("arrow
left ").
An example:
@ 1000 <>
-
001000/012345 013456 <>
-------------
001000/013456
-------------
The information in cell 1000 is modified by the operator.
4.3. Open next cell command
Opens a cell whose address is determined by the contents of the counter
teams. This command is executed by pressing the <> ("Arrow
down ") and is used to print the contents of arrays of
closely spaced cells, general purpose registers (RON) and points
shutdown (TOST). If the contents of an open cell (or RON, or TOAST)
should be changed, then the command is issued after the statement
printed the new cell contents.
- 4 5 -
U1.00 0 31-01 90 01
An example:
@ 1000 < >
-
001000/012345 < >
-------------
001002/000000
-------------
The command closes the cell with address 1000 and opens the cell with
address 1002.
If the command "open next cell" is used for RON with
number R 7 , then it closes it and prints the contents of R 0 .
4.4. Open previous cell command
It is performed by pressing the <> key ("Up arrow"). This team
closes a previously opened cell (or RON, or TOAST) and opens a cell-
ku with the address reduced by 2 il and (for RON) - by 1.
If you want to change the contents of an open cell, the new content
the press must precede the "open previous cell" command.
An example:
@ 1000 <>
-
001000/012345 < >
-------------
000776/010101
-------------
The command opens a cell with address 776.
This command allows you to print the contents of arrays of
sequently arranged cells in the direction of descending address.
If the "open previous cell" command is used when opening
volume R 0 , then the contents of R 7 are opened .
4 .5. "Open cell with absolute address" command
It is performed when the < > ( "НР") and < > keys are pressed simultaneously
("right arrow"). The command is used to access the cell,
whose address is the contents of a previously opened cell or RON.
- 4 6 -
U1.00 0 31-01 90 01
An example:
@ 1000 < >
-
001000/010000 "HP" / < >
-------------
010000/000137
-------------
The command opens a cell with the address 10000.
4.6. Command "open cell with relative address"
It is carried out by simultaneous pressing of keys "НР" and "arrow
down. "This command is used to open a cell with an address,
defined as the sum of three terms: the contents of an already open cell -
ki, its addresses and +2.
Example:
@ 1000 < >
-
001000/010000 "HP" / < >
-------------
011002/000200
-------------
4.7. Commands for reading and modifying general registers
destination
The RN command , where N is the register number 0-7, opens the RON.
To work with RONs, the same commands are used as for working
with memory.
The R command "VK" or RR displays the contents of all RONs and
the contents of the processor status register (CSP).
Example:
@ R " VK "
-
R0 = 000000 R1 = 000010 R2 = 000000 R3 = 000000
---------------------------------------
R4 = 000200 R5 = 000000 R6 = 001000 R7 = 001000
---------------------------------------
RS = 000200
---------
- 47 -
U1.00 0 31-01 90 01
4 .8. "Read processor status word" command
The RS command displays the contents of the status register
cessor (RSP).
An example:
@
-
RS = 000200
-------
The contents of the CPD can be changed by typing a new value and clicking
left arrow key. After that, the new content is displayed.
RSP.
An example:
@
-
RS = 000204 6 <>
-------
RS = 000006 "VK"
---------
4.9. Start command
It is performed by pressing the < INF > key . This starts
programs from the start address, which is entered before the start command.
An example:
@ 1000 < INF >
In the counter e commands (SC) is loaded the address 1000 and begins
program execution.
4.10. Continue command
It is performed by pressing the < INF > key . On this command the program
continues from the address determined by the current contents of the IC. Team
used to continue the program after it stops as a result
execution of the HALT command , after pressing the < STOP > key , or after
working out a breakpoint.
- 4 8 -
U1.00 0 31-01 90 01
4.11. Step command
It is performed by pressing the space bar. The team continues to
the program from the address determined by the current contents of the SC. Execution
one program command is taken and the remote control mode returns
terminal. In this case, the contents of the SK are printed.
The step command is used to step through a program.
(program execution with a stop after each command).
4.12. Read and Modify Breakpoint Commands
To debug programs, you can use the so-called points
Stop : A0, A1, A2, A3. If breakpoints are specified, the program after
start will be performed to the address specified by the breakpoint. For
continuation of the program after stopping, you must use
commands "continue" or "step".
The AN command , where N is the breakpoint number, opens the breakpoint
new. After that, the breakpoint can be changed or closed without
modifications of one of the commands used to work with memory and
RONs.
Example:
@
-
A 0 = 000000 1006 <>
-------
A 0 = 001006 "VK"
---------
@ 1000 < INF >
-
*** S T O P ***
---------------
001006/000137
-------------
@
-
Command A "VK" (or AA ) displays the values of all points
breakdown.
4.13. Slaughter team
It is performed by pressing the < > key ("face"). Is used for
delete the last character printed by the operator. Each team
"slaughter" erases only one, the last sign. If the team is "slaughter"
executed sequentially 6 times (or more) without printing a new character,
- 4 9 -
U1.00 0 31-01 90 01
then the code will be 000000 in the cell.
An example:
@ <>
-
001000/010000 123453 "face" 6 < >
-------------
001000/123456 "VK"
-------------
@
-
4.14. Menu command
It is performed by pressing the < M > key . Used to go from
remote terminal mode in the boot menu.
4.15. Autonomous command
It is performed by pressing the < D > key . In this case,
move offline. Return to remote control while
pressing the keys < СУ > and < C > (Latin).
4.16. Network test command
It is performed by pressing the < T > key . After that, execution begins
Testing the LAN test. (See "Health Check Methodology
KVU "U1.00031-01 34 01).
- 50 -
U1.00 0 31-01 90 01
application
NON-STANDARD CHARACTER MODES
1. Left end of line shift
033 212
The right part of the line from the cursor is shifted one position to the left, when
the current character is replaced by the one to the right, and the last
the line position is filled with a space.
2. Shift the end of the line to the right
033 213
The right part of the line from the cursor is shifted one position to the right, when
the last character of the line is lost, and the current position is filled
a space.
3. Setting the color of the character
033 240 <N>
where < N > is the code KOI-7 color numbers (color number from 0 to 7).
After the command is executed, subsequent characters are set
Colour.
4. Cancel the set symbol color
033 277 240
This command restores the character color preceding the
to the updated character color setting command.
5. Setting the color of familiarity
033 241 <N>
where < N > is the code KOI-7 color numbers (color number from 0 to 7).
6. Cancellation of the established color of familiarity
033 277 241
This command restores familiar color preceding
set by the familiarity color setting team.
7. Screen color setting
033 242 <N>
- 51 -
U1.00 0 31-01 90 01
where < N > is the code KOI-7 color numbers (color number from 0 to 7).
The color of the screen will change after you execute the clear screen command.
8. Cancel the set screen color
033 277 242
This command restores the screen color prior to setting
command to set the screen color.
9. Set character inversion
033 243
After the command is executed, subsequent characters have a background color, and
background - symbol color, i.e. characters are inverted.
10. Cancellation of character inversion
033 277 243
11. Set underscore character
033 244
After the command is executed, subsequent characters are displayed.
with underline.
12. Cancel underscore character
033 277 244
13. Turning on the network timer
033 267
This command activates the 50Hz timer, which produces
vector interrupt 100.
14. Turn off the network timer
033 277 267
Note. In subsequent modifications of the UKSC, compatibility with
a new set of commands is not guaranteed.
- 52 -
U1.00 0 31-01 90 01
LIST OF CONVENTIONS
KPZU - ROM cassette
MP - an array of parameters
Floppy disk drive - floppy disk drive
RAM - random access memory
ROM - read-only memory
PP - peripheral processor
RDI - source data register
RDP - receiver data register
RPR - interrupt enable bit
RSI - source status register
RSP - receiver status register
UKNC - micro-computer "ELECTRONICS MS 0511"
CPU - Central Processing Unit
- 53 -
U1.00 0 31-01 90 01
-------------------------------------------------- ----------------
! Change Registration Sheet!
! ------------------------------------------------- -----------------!
! ! Sheet (page) numbers! Total ! ! Incoming! ! !
! ! -------------------------! sheets! N ! N accompaniment! Sub! Yes!
! ! change! replace! new! canceled -! (pages)! document-! ! that!
! Change! nen! nen! ! urovan-! in dokum. ! that one. ! go dokum! ! !
! ! nih! nih! ! nih! ! ! and date! ! !
! ---! -----! -----! -----! -------! ---------! --------! ---------! ----! -!
! ! ! ! ! ! ! ! ! ! !
! ---! -----! -----! -----! -------! ---------! --------! ---------! ----! -!
! ! ! ! ! ! ! ! ! ! !
! ---! -----! -----! -----! -------! ---------! --------! ---------! ----! -!
! ! ! ! ! ! ! ! ! ! !
! ---! -----! -----! -----! -------! ---------! --------! ---------! ----! -!
! ! ! ! ! ! ! ! ! ! !
! ---! -----! -----! -----! -------! ---------! --------! ---------! ----! -!
! ! ! ! ! ! ! ! ! ! !
! ---! -----! -----! -----! -------! ---------! --------! ---------! ----! -!
! ! ! ! ! ! ! ! ! ! !
! ---! -----! -----! -----! -------! ---------! --------! ---------! ----! -!
! ! ! ! ! ! ! ! ! ! !
! ---! -----! -----! -----! -------! ---------! --------! ---------! ----! -!
! ! ! ! ! ! ! ! ! ! !
! ---! -----! -----! -----! -------! ---------! --------! ---------! ----! -!
! ! ! ! ! ! ! ! ! ! !
! ---! -----! -----! -----! -------! ---------! --------! ---------! ----! -!
! ! ! ! ! ! ! ! ! ! !
! ---! -----! -----! -----! -------! ---------! --------! ---------! ----! -!
! ! ! ! ! ! ! ! ! ! !
! ---! -----! -----! -----! -------! ---------! --------! ---------! ----! -!
! ! ! ! ! ! ! ! ! ! !
! ---! -----! -----! -----! -------! ---------! --------! ---------! ----! -!
! ! ! ! ! ! ! ! ! ! !
! ---! -----! -----! -----! -------! ---------! --------! ---------! ----! -!
! ! ! ! ! ! ! ! ! ! !
! ---! -----! -----! -----! -------! ---------! --------! ---------! ----! -!
! ! ! ! ! ! ! ! ! ! !
! ---! -----! -----! -----! -------! ---------! --------! ---------! ----! -!
! ! ! ! ! ! ! ! ! ! !
! ---! -----! -----! -----! -------! ---------! --------! ---------! ----! -!
! ! ! ! ! ! ! ! ! ! !
! ---! -----! -----! -----! -------! ---------! --------! ---------! ----! -!
! ! ! ! ! ! ! ! ! ! !
! ---! -----! -----! -----! -------! ---------! --------! ---------! ----! -!
! ! ! ! ! ! ! ! ! ! !
! ---! -----! -----! -----! -------! ---------! --------! ---------! ----! -!
! ! ! ! ! ! ! ! ! ! !
! ---! -----! -----! -----! -------! ---------! --------! ---------! ----! -!
! ! ! ! ! ! ! ! ! ! !
! ---! -----! -----! -----! -------! ---------! --------! ---------! ----! -!
! ! ! ! ! ! ! ! ! ! !
! ---! -----! -----! -----! -------! ---------! --------! ---------! ----! -!
! ! ! ! ! ! ! ! ! ! !
! ---! -----! -----! -----! -------! ---------! --------! ---------! ----! -!
! ! ! ! ! ! ! ! ! ! !
! ---! -----! -----! -----! -------! ---------! --------! ---------! ----! -!