Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gpr_inq_bm_bit_offset(A) — Apollo Domain/OS SR10.4.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

GPR_$INQ_BM_BIT_OFFSET            GPR Calls             GPR_$INQ_BM_BIT_OFFSET


NAME
     gpr_$inq_bm_bit_offset - returns the bit offset that corresponds to the
     left edge of a bitmap in virtual address space.

FORMAT
     gpr_$inq_bm_bit_offset (bitmap_desc, offset, status)

DESCRIPTION
     This routine returns the bit offset that corresponds to the left edge of
     a bitmap in virtual address space.

     Each scan line (horizontal line of a bitmap) starts on a word boundary.
     For all scan lines, this routine returns the number of bits in the most
     significant part of the first word that are not part of the specified
     bitmap.

     Currently, the offset will be zero for any bitmap other than a direct-
     mode window.

   Input Parameters
     bitmap_desc
          The descriptor of the bitmap, in gpr_$bitmap_desc_t format.  This is
          a 4-byte integer.

   Output Parameters
     offset
          The number of bits between a 16-bit word boundary and the left edge
          of the specified bitmap.  This is a 2-byte integer in the range 0 -
          15.

     status
          Completion status, in status_$t format.

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