Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ smd — Apollo

Media Vault

Software Library

Restoration Projects

Artifacts Sought

SYSCALLS/SMD - display driver module                1987/01/22


Include files:

     C:          /sys/ins/smd.ins.c
     Fortran:    /sys/ins/smd.ins.ftn
     Pascal:     /sys/ins/smd.ins.pas


Procedures and Functions:

    SMD_$BLT_U (registers, status)
        Starts a bit transfer from one area of display memory to another.

    SMD_$BORROW_DISPLAY_NC_U (unit, status)
        Requests use of the display driver and display memory without
        clearing the screen (black and white only).

    SMD_$BORROW_DISPLAY_U (unit, status)
        Requests use of the display driver and display memory, and
        clears the screen.

    SMD_$CLEAR_KBD_CURSOR_U (status)
        Clears the keyboard cursor from the display.

    SMD_$CLEAR_WINDOW_U (boundaries, status)
        Clears an area on the screen.

    SMD_$COLOR (color)
        Sets the color of lines drawn on the display.

    SMD_$COND_EVENT_WAIT_U (event-type, event-data, reserved, status)
        Checks an SMD eventcount, but does not wait.

    input-flag = SMD_$COND_INPUT_U(char)
        Returns a character if one has been typed.

    SMD_$DRAW_ABS_U (column, line)
        Draws a vector given an absolute position.

    SMD_$DRAW_BOX_U (boundaries, status)
        Draws a box on the screen.

    SMD_$DRAW_REL_U (column, line)
        Draws a vector given a relative position.

    SMD_$EVENT_WAIT_U (event-type, event-data, reserved, status)
        Suspends the calling process until you type characters at
        the keyboard or until the current scroll or BLT is complete.

    SMD_$GET_EC (smd-key, eventcount-pointer, status)
        Gets the eventcount address of the eventcount that will be
        advanced upon keyboard input or when a BLT is done.

    display_type = SMD_$INQ_DISP_TYPE (unit)
        Returns the type of the display physically attached to the
        given unit number.

    SMD_$LOAD_FONT_FILE_U (pathname, name-length, font-id, status)
        Loads a font file.

    font-id = SMD_$LOAD_FONT_U (table-ptr, status)
        Loads a font into display memory and returns a font-id.

    SMD_$MAP_DISPLAY_U (display-address, status)
        Maps display memory into the process' address space.

    SMD_$MOVE_ABS_U (column, line)
        Sets the current position for vector drawing.

    SMD_$MOVE_KBD_CURSOR_U (position, status)
        Moves the keyboard cursor to a specified position.

    SMD_$MOVE_REL_U (column, line)
        Sets the current position for vector drawing.

    SMD_$OP_WAIT_U
        Waits for the current scroll or BLT operation to complete.

    SMD_$RETURN_DISPLAY_U (unit, status)
        Returns control of the display to the Display Manager.

    SMD_$SET_QUIT_CHAR (character, status)
        Defines the quit character.

    SMD_$SET_TP_CURSOR (unit, position, buttons)
        Changes normal cursor to touchpad cursor and moves it to the
        indicated position.

    SMD_$SOFT_SCROLL_U (boundaries, direction, displacement, status)
        Starts horizontal or vertical scrolling on the screen,
        2 raster lines at a time.

    SMD_$STOP_TP_CURSOR (unit)
        Turns off the touch pad cursor and puts back the blinking
        cursor, if the blinking cursor would otherwise be displayed.

    SMD_$TP_DIRECT (on-off, status)
        Controls whether locator device data directly controls the
        touch pad cursor or is sent to the user program.

    SMD_$TP_DISABLE (status)
        Prevents locator device data from moving the touchpad cursor.

    SMD_$TP_ENABLE (status)
        Allows the touch pad cursor to be displayed and moved
        around the screen.

    SMD_$UNLOAD_FONT_FILE_U (font-id, status)
        Unloads a font file from display memory.

    SMD_$UNLOAD_FONT_U (font-id, status)
        Unloads a font from display memory.

    SMD_$UNMAP_DISPLAY_U (status)
        Unmaps display memory from the process' address space.

    SMD_$VECTOR_INIT_U (display-address)
        Initializes the vector-drawing routines.

    SMD_$WRITE_STRING_U (position, font_id, string, length, waitflag, status)
        Displays a string of text on the screen.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026