Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ starbase(3G) — HP-UX 5.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cc(1)

pc(1)

fc(1)

ld(1)

STARBASE(3G)

NAME

STARBASE  − Starbase Graphics Library description

DESCRIPTION

The Starbase Graphics Library consists of procedures used to generate graphical text and pictures. This library is based on the American National Standards Institute’s Computer Graphics Interface standard (ANSI CGI).  The Starbase Graphics Library provides a high performance interface to HP graphics hardware and other selected graphics peripherals.  These library routines may be used in C, Pascal and Fortran77 programs.  In addition to the standard ANSI-CGI functions, Starbase provides asynchronous input functions, 3D transformations and access to many device dependent hardware features. 
 

FILES

 
The following files make up the Starbase Graphics Library. Each is shown with a description of its function. These files are located in the /usr/lib directory. 
 
   libsb1.a                 Starbase Main Library
   libsb2.a                 Starbase Stub Entry Point
   libdd262x.a            Generic HP Terminal Driver
   libdd98700.a           HP98700 Device Driver
   libdd98710.a           HP98710 Device Driver
   libdd98760.a           HP98760 Device Driver
   libdd300h.a            HP 300 High Resolution Display Device Driver
   libdd300l.a             HP 300 Low Resolution Display Device Driver
   libddhil.a               HP-HIL Device Driver
   libddhpgl.a            HP-GL Device Driver
   libddkbd.a             The Keyboard Device Driver
 
The following files are found in the /usr/include directory and should be used with the appropriate programming language. 
 
   starbase.c.h            C program header file
   starbase.f1.h           Fortran77 program header file
   starbase.f2.h           Fortran77 program header file
   starbase.p1.h          Pascal program header file
   starbase.p2.h          Pascal program header file
 

Loading Starbase Programs

 
The order of specification of link files is extremely important and must be in the following order: driver(s), libsb1.a, libsb2.a. 
 
For example: to compile and link the C program test.c for running on a terminal, hp98700 Graphics Display Subsystem, or hpgl plotter, use:
 
cc test.c -ldd262x -ldd98700 -lhpgl -lsb1 -lsb2 -o test -O
 

Loading Starbase Window Programs

 
To load a starbase program, which may be directed to a window, the window library and possibly the byte driver must be included. The byte driver needs to be included for programs which will draw to obscured windows. Again, the order is important:
 
driver(s), [byte_driver], window library, libsb1.a, libsb2.a
 
For example:
 
cc test.c -ldd98700 -lddbyte -lwindow -lsb1 -lsb2 -o test -O
 

SEE ALSO

cc(1), pc(1), fc(1), ld(1), HP-UX Reference, Vol. 4, 3G Commands, The Starbase Device Drivers Library, and HP-UX Concepts and Tutorials, Vol. 6, Graphics. 

Hewlett-Packard  —  last mod. May 11, 2021

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