Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ctm — Apollo

Media Vault

Software Library

Restoration Projects

Artifacts Sought

SYSCALLS/CTM - color table manager calls                 1987/01/22


Include files:

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


Procedures and Functions:

    CTM_$ALLOC_PV (count, opt, plane, pixel_values, status)
        Allocates available pixel values and sets their use counts to one.

    CTM_$FIND_COLOR (color, max_distance, pixel_value, status)
        Searches for a pixel value (within a specified distance)
        that already contains a desired color.  If one does not
        exist, a new pixel value is allocated and set to the
        desired color.

    CTM_$INC_USE_COUNT (count, opt, plane, pixel_values, status)
        Increments the use count of previously allocated pixel values.

    CTM_$MARK_READ_ONLY (count, opt, plane, pixel_values, status)
        Marks pixels as shareable by other processes.  Shareable
        pixel values may be allocated using CTM_$FIND_COLOR.

    CTM_$RELEASE_PV (count, opt, plane, pixel_values, status)
        Decrements the use count of selected pixel values.  A pixel value is
        made available to other processes when its use count reaches zero.

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