SYSCALLS/SMD - display driver module 82/07/24
Include files:
Fortran: /sys/ins/smdu.ins.ftn
Pascal: /sys/ins/smdu.ins.pas
Procedures and Functions:
smd_$alloc_hdm (need, position, status)
Allocate hidden display memory
smd_$blt_u (registers, status)
Initiates a block transfer from one area of display memory to another.
smd_$borrow_display_nc_u (unit, status)
Requests use of the display.
smd_$borrow_display_u (unit, status)
Requests use of the display and causes it to be cleared.
smd_$clear_kbd_cursor_u (status)
Erases the keyboard cursor from the display.
smd_$clear_window_u (boundaries, status)
Clears a rectangle of display memory to zero.
smd_$color (color)
Set the color (black/white) of subsequent vectors
smd_$cond_input_u (ch), ch_available := ...
Conditionally inputs a character, if one is available. If available,
"ch" is set to the character and "true" is returned. "False" is
returned is not.
smd_$cond_event_wait_u (event_type, event_data, event_data_size, status)
Polls for keyboard or touchpad input or scroll/blt complete event.
smd_$draw_abs_u (column, line)
Draws a vector to (column, line).
smd_$draw_box_u (boundaries, status)
Draws a box around the rectangle of the given boundaries.
smd_$draw_rel_u (column, line)
Draws a vector to (column, line), relative to current position.
smd_$event_wait_u (event_type, event_data, event_data_size, status)
Waits for keyboard or touchpad input or scroll/blt complete event.
smd_$get_ec (key, ecp, status)
Return a level 2 eventcount pointer usable for scroll/blt complete
or keyboard input events.
smd_$inq_disp_type (unit): display_type
Determine whether unit is 19" landscape or 15" portrait
smd_$invert (status)
Invert hidden display memory, and subsequent display operations
smd_$free_hdm (size, position, status)
Free previously allocated hidden display memory
smd_$load_crsr_bitmap (unit, cursor_number, width, height,
x_origin, y_origin, bitmap, status)
Load the 16x16 bitmap for the given cursor number
smd_$load_font_file_u (pathname, namelength, font_id, status)
Loads a font file for use by smd_$write_string.
smd_$load_font_u (table_ptr, status)
Loads a font table (from virtual memory) for use by smd_$write_string.
smd_$map_display_u (display_address, status)
Maps display memory into the caller's virtual address space.
smd_$move_abs_u (column, line)
Sets the current position for vector drawing to (column, line)
smd_$move_kbd_cursor_u (position, status)
Moves the keyboard cursor such that the lower left corner is at the
specified position.
smd_$move_rel_u (column, line)
Sets the current position for vector drawing to (column, line), relative
to the current position.
smd_$op_wait_u
Causes the calling program to be suspended until the current blt or soft
scroll is complete. No-op if no blt or soft scroll in progress.
smd_$read_crsr_bitmap (unit, cursor_number, width, height,
x_origin, y_origin, bitmap, status)
Return the 16x16 bitmap, and other attributes for the given cursor
number
smd_$return_display_u (unit, status)
Returns the display to the Display Manager.
smd_$set_quit_char (quit_char, status)
Redefines the character which causes the borrowing process to be quit.
Normally this character is control-Q.
smd_$set_tp_cursor (unit, pos, buttons)
Offers a data point from the touchpad or other locator device to the
driver.
smd_$soft_scroll_u (boundaries, direction, displacement, status)
Initiates a soft scroll operation.
smd_$stop_tp_cursor (unit)
Removes the touchpad cursor from the display and redisplays the blinking
(keyboard) cursor, if it is supposed to be displayed.
smd_$tp_direct (switch, status)
Enables or disables touchpad-direct mode.
smd_$tp_disable (status)
Disables the touchpad cursor.
smd_$tp_enable (status)
Enables the touchpad cursor to be displayed and moved.
smd_$unload_font_file_u (font_id, status)
Unloads the font file specified by font_id. Use with
smd_$load_font_file_u.
smd_$unload_font_u (font_id, status)
Unloads the font specified by font_id. Use with smd_$load_font_u.
smd_$unmap_display_u (status)
Unmaps display memory from the process's virtual address space.
smd_$vector_init_u (display_address)
Initializes vector drawing routines. Call following smd_$map_display_u.
smd_$write_string_u (position, font_id, string, stringlength, wait, status)
Writes a text string in the specified font.