Vax 613 0S Instruction Manual Page 278

  • Download
  • Add to my manuals
  • Print
  • Page
    / 344
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 277
16.6.2 The DISPATCH Routine
All console service routines, except the FIXUP routine, are dispatched through
the DISPATCH routine. The DISPATCH routine is passed a hexadecimal function
code and a variable argument list. The routines and their associated function
codes are listed in the next table:
Table 60 Service Routines accessed by the DISPATCH ROUTINE
Code Function Description
01
16
GETC Get a character from the console terminal.
02
16
PUTS Put a string to the console terminal.
03
16
RESET_TERM Reset console terminal to default parameters.
04
16
SET_TERM_INTR Enable Console Terminal Interrupts.
05
16
TERMCTL Set console terminal controls.
06
16
PROCESS_KEYCODE Process and translate an LK401 keycode.
07
16
-
0F
16
Reserved Reserved for other console terminal functions.
10
16
OPEN Open an I/O device for access.
11
16
CLOSE Close an I/O device for access.
12
16
IOCTL Perform device-specific operations.
13
16
READ Read an I/O device.
14
16
WRITE Write an I/O device.
15
16
-
1F
16
Reserved
20
16
SETENV Set an environment variable.
21
16
RESETENV Reset an environment variable to its default state.
22
16
GETENV Get an environment variable.
23
16
SAVEENV Unimplemented.
Other Reserved
16.7 Console Service Routine Descriptions
Table 61 lists console service routines and their functions.
Table 61 Console Service Routines
Routine Description
CLOSE Close an I/O device to access.
FIXUP Readjust virtual address references internal to the console service
routines.
GETC Get a character from the console terminal.
(continued on next page)
16–54 Console
Page view 277
1 2 ... 273 274 275 276 277 278 279 280 281 282 283 ... 343 344

Comments to this Manuals

No comments