Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fbio(4S) — SunOS 1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mmap(2)

bw(4S)

cg(4S)

FBIO(4S)  —  System Manager’s Manual — Special Files

NAME

fbio − general properties of frame buffers

DESCRIPTION

All of the Sun frame buffers support the same general interface.  Each responds to a FBIOGTYPE ioctl(2) which returns information in a structure defined in <sun/fbio.h>:

structfbtype {
intfb_type;/∗ as defined below ∗/
intfb_height;/∗ in pixels ∗/
intfb_width;/∗ in pixels ∗/
intfb_depth;/∗ bits per pixel ∗/
intfb_cmsize;/∗ size of color map (entries) ∗/
intfb_size;/∗ total size in bytes ∗/
};
 #defineFBTYPE_SUN1BW0
#defineFBTYPE_SUN1COLOR1

Each device has a FBTYPE which is used by higher-level software to determine how to perform raster-op and other functions.  Each device is used by opening it, doing a FBIOGTYPE ioctl to see which frame buffer type is present, and thereby selecting the appropriate device management routines. 

SEE ALSO

mmap(2), bw(4S), cg(4S)

BUGS

Should think about adding color map load/store functions here. 

Sun System Release 1.0  —  11 August 1983

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