top - download
⟦f44939144⟧ Wang Wps File
Length: 9700 (0x25e4)
Types: Wang Wps File
Notes: FIX/1256/PSP/0040
Names: »3857A «
Derivation
└─⟦a0a781934⟧ Bits:30006149 8" Wang WCS floppy, CR 0333A
└─ ⟦this⟧ »3857A «
WangText
…14……00……00……00……00……15……02……00……00……15…
…15……05……15……07……14……0a……86…1 …02… …02… …02…
3857A/hh…02…FIX/1256/PSP/0040
…02…JKR/830706…02……02…#
APPVDU MONITOR PSP
…02……02…FK 7809
APPVDU MONITOR PSP
FIX/1256/PSP/0040
John Kristensen
Carl H]gstedt
AMC (6)
CR (3)
FILE (2)
FIKS Manager 830706
1
830706
3857A/hh…02… FIX/1200/PSP/0040
…02… OK/830706…02……02…i
APPVDU MONITOR PSP
…02……02… FK 7809
830706 All Issue 1 of Document
…0f…3857A/hh…02… FIX/1200/PSP/0040
OK/830706 ii
APPVDU MONITOR PSP …02… …02……02…
…02……02… …0e…
T̲A̲B̲L̲E̲ ̲O̲F̲ ̲C̲O̲N̲T̲E̲N̲T̲S̲
1 SCOPE ........................................
1.1 INTRODUCTION .............................
1.2 ABBREVIATIONS ............................
2 APPLICABLE DOCUMENTS .........................
3 MODULE SPECIFICATION .........................
3.1 FUNCTIONAL CAPABILITIES ..................
1 S̲C̲O̲P̲E̲
This document describes the function of the APPVDU
monitor procedure used at MEDE and SCC.
1.1 I̲n̲t̲r̲o̲d̲u̲c̲t̲i̲o̲n̲
The APPVDU procedure supports the transfer of control
codes to the VDU, necessary when the user wants to
write on the VDU or control the VDU.
1.2 A̲b̲b̲r̲e̲v̲i̲a̲t̲i̲o̲n̲s̲
Ref FIX DATA IF FIX/0100/0004
2 A̲P̲P̲L̲I̲C̲A̲B̲L̲E̲ ̲D̲O̲C̲U̲M̲E̲N̲T̲S̲
CR 80 AMOS I/O SYSTEM PSP CSS/006/PSP/0006
FIKS SYSTEM PSP FIX/1000/PSP/0038
FIKS DATA IF RFF. FIX/0100/PSP/0004
FIKS REQUIREMENTS SPEC. FIX/0000/SPC/0002
FIKS SYSTEM GENERATION PROCEDURE FIX/0000/PRO/yyyy
FIKS SW CONFIG. CONTROL LIB.
DESCR. DOC. FIX/1000/EWP/0080
TEP SUBSYSTEM PSP FIX/1151/PSP/0099
TEPINT SUBSYSTEM PSP FIX/1164/PSP/0100
SYSTEM TEST REPORT S010 FIX/0000/TRP/0085
SYSTEM TEST REPORT S020 FIX/0000/TRP/0086
3 M̲O̲D̲U̲L̲E̲ ̲S̲P̲E̲C̲I̲F̲I̲C̲A̲T̲I̲O̲N̲
3.1 F̲U̲N̲C̲T̲I̲O̲N̲A̲L̲ ̲C̲A̲P̲A̲B̲I̲L̲I̲T̲I̲E̲S̲
The APPVDU is the software interface between the user
process and the visual display unit (VDU). The main
function of the APPVDU is to handle the specific VDU
dependent control codes. This function makes it possible
to get a standard VDU independent interface between
user process and VDU. The user process communicates
with the VDU by means monitor Call and the Moitor communicates
with the VDU by means of the I/O system procedures.
The visual display unit (VDU) consists of the following
logical devices:
2. Line 0-2 (upper screen) of the VDU
2. Line 3-23 (lower screen) of the VDU
3. Receive only printer (ROP)
The user communicates direct to the IO system, when
it concerns Read on VDU or Write on ROP. When the user
wants to Write on VDU or Control VDU, he has to call
the APPVDU, which inserts the specific VDU codes, and
forwards the codes and data to the IO system (VDU).
There exists two types of monitor call to the APPVDU.
1. Transfer call
2. Control call
By means of transfer calls, the user is able to send
text to the screen. The user refer to a text buffer,
and a work buffer, and the necessary VDU codes are
added by the monitor procedure.
When writing to the VDU, some codes before and after
the text is necessary, to inform the VDU about addressing
of the cursor, display attribute and so on.
These codes are taken from a code table and placed
in a header table and a tail table, and sent in the
same I/O call as the text.
By means of control calls, the user is able to send
up to 10 commands in the same call. The APPVDU will
just translate the commands to specific VDU codes and
forward them to the VDU.
The VDU handler is invoked by one of the two monitor
calls:
1. APPVDUTRAN (Transfer)
2. APPVDUCON (Control)
1. APPVDUTRAN
The header and tail tables and their associated Buffer
List Elements are built in the buffer, received from
the user (fig. 3.1-1 ). With the parameters, as
index to the code table, the VDU codes are loaded to
the header and tail tables (fig. 3.1-1 ). Before
sending code and text to the IO system the Buffer List
Elements for header table, text buffer and tail table
are tied together by means of links in kthe BLEs (fig.
3.1-1 ).
The text and codes are sent, by calling the I/O procedure
APPEND-BYTES.
2. APPVDUCON
The code references from the array addressed by the
BLE is used as entry to the code table, and the codes
from the code table is loaded to the buffer. When all
references are handled, the buffer are sent to the
I/O system (VDU), by calling I/O procedure APPEND-BYTES:
(Fig. 3.1-2 ).
After completion of a call (acknowledged of the LTU)
the VDU handler returns the completion code (received
from the IO system) to the user.
tegning
tegning
3.2 I̲N̲T̲E̲R̲F̲A̲C̲E̲ ̲D̲E̲S̲C̲R̲I̲P̲T̲I̲O̲N̲
The APPVDU procedures are invoked by the following
procedures
ITRANSFER ref PSP0099 and PSP0100
ICONTROL ref PSP0099 and PSP0100
PSM ref PSP0076
SCCPSM ref PSP0090
Input to APPVDUTRAN
Register 0 ref to work buffer (32 words)
Register 1 ref to file address
Register 2 ref to BLE
Register 3 ref to cursor address
Register 4 File id (VUD-channel)
Register 5 Display attributes
Register 7 Link
Input to APPUDUCON
Register 0 ref to work buffer (32 words)
Register 1 ref to file address
Register 2 ref to BLE
Register 3 ref to code array
Register 4 File id (VDU-channel)
Register 5 No of codes in code array (max
10)
Register 7 Link
Output from APPVDU
Same as input except:
Register 7 Completion code
The APPVDU interfaces to the following monitor procedure
MON IO APPENDBYTES
Append to terminal
During initialization the following monitor procedure
is called:
MON MONINIT
To locate the Monitor procedure.
3.3 P̲R̲O̲C̲E̲S̲S̲I̲N̲G̲
Ref. overleaf for flow-charts.
tegning
tegning
tegning
3.4 D̲A̲T̲A̲ ̲O̲R̲G̲A̲N̲I̲Z̲A̲T̲I̲O̲N̲
The user defined work space is organized as
- Header BLE
- Tail BLE
- Header buffer
- Tail buffer
- Register save area
The work space is a 32 words buffer.
When text characters are transmitted to the screen,
the VDU needs some control codes before the text, and
some after the text:
The control codes before text are placed in header
buffer and codes after text are placed in tail buffer.
Codes and text are linked via the BLE's.
For each control command there is a corresponding VDU-control
code. Preceding the control code an ESC-code is added
except the cursor movement commands.
The relation between command and VDU-code is given
in 3.4-1.
COMMAND COMMAND VDU
NO TEXT CODE (Hex valve)
1 Clear screen IF
2 Set line mode IC
3 Set full page mode IE
4 Set part page mode 27
5 Block keyboard 20
6 Unblock keyboard 21
7 Set protect 12
8 Protect on 14
9 Protect off 13
10 Carriage return 0D
11 Line feed 0A
12 Cursor up 0B
13 Cursor home ID
14 Tab 09
15 Insert line 01
16 Delete line 02
17 Insert character 0F
18 Erase character 0E
19 Cursor left 08
20 Cursor right 18
21 Bell 07
22 Delete to end of line 19
23 Send line 1A
24 Send page 0C
25 - -
26 Cursor addressing 16
27 Request cursor position 03
28 Request status 25
29 Escape 1B
30 Upper screen on 22
31 Lower screen on 23
32 Print screen contents 26
33 Print on 10
34 - -
35 Invisible 60
36 Full intensity 61
37 Half intensity 62
38 Inverse 63
39 Blink 64
40 - -
41 - -
42 Prompt end mark 67
Code table fig. 3.4-1
3.5 S̲t̲o̲r̲a̲g̲e̲ ̲A̲l̲l̲o̲c̲a̲t̲i̲o̲n̲
Ref S.C.C.L.D.D. FIX/1000/EWP/0080
3.6 P̲e̲r̲f̲o̲r̲m̲a̲n̲c̲e̲ ̲C̲h̲a̲r̲a̲c̲t̲e̲r̲i̲s̲t̲i̲c̲s̲
N/A
3.7 L̲i̲m̲i̲t̲a̲t̲i̲o̲n̲s̲
N/A
3.8 E̲R̲R̲O̲R̲ ̲C̲O̲D̲E̲S̲/̲E̲R̲R̲O̲R̲ ̲L̲O̲C̲A̲T̲I̲O̲N̲S̲
The APPVDU procedures have no error reporting to the
operator or system consol.
4 Q̲U̲A̲L̲I̲T̲Y̲ ̲A̲S̲S̲U̲R̲A̲N̲C̲E̲
4.1 Q̲U̲A̲L̲I̲F̲I̲C̲A̲T̲I̲O̲N̲ ̲T̲E̲S̲T̲S̲
Ref System Test Report S010 FIX/0000/TRP/0085
Ref System Test Report S020 FIX/0000/TRP/0086
4.2 O̲t̲h̲e̲r̲ ̲Q̲u̲a̲l̲i̲t̲y̲ ̲A̲s̲s̲u̲r̲a̲n̲c̲e̲ ̲P̲r̲o̲v̲i̲s̲i̲o̲n̲s̲
N/A
5 P̲R̲E̲P̲A̲R̲A̲T̲I̲O̲N̲ ̲F̲O̲R̲ ̲D̲E̲L̲I̲V̲E̲R̲Y̲
Ref. S.C.C.L.D.D. FIX/1000/EWP/0080
6 N̲O̲T̲E̲S̲
N/A
7 A̲P̲P̲E̲N̲D̲I̲C̲E̲S̲
N/A