BWTWO(4S) — SPECIAL FILES
NAME
bwtwo − Sun-3/Sun-2 black and white frame buffer
SYNOPSIS — SUN-3
device bwtwo0 at obmem 1 csr 0xff000000 priority 4
device bwtwo0 at obmem 2 csr 0x100000 priority 4
device bwtwo0 at obmem 3 csr 0xff000000 priority 4
device bwtwo0 at obmem 4 csr 0xff000000
The first synopsis line given above should be used to generate a kernel for a Sun-3/160; the second, for a Sun-3/75M; the third, for a Sun-3/260; and the fourth, for a Sun-3/110.
SYNOPSIS — SUN-2
device bwtwo0 at obmem 1 csr 0x700000 priority 4
device bwtwo0 at obio 2 csr 0x0 priority 4
The first synopsis line given above should be used to generate a kernel for a Sun-2/120 or Sun-2/170; the second, for a Sun-2/50 or Sun-2/160.
DESCRIPTION
The bwtwo interface provides access to Sun Monochrome Video Controller boards.
bwtwo supports the FBIOGTYPE ioctl, which may be used to determine the characteristics of the display device, and the FBIOGPIXRECT ioctl, which allows SunWindows to be run on it (see fbio(4S)).
If flags 0x1 is specified, frame buffer write operations are buffered through regular high-speed RAM. This “copy memory” mode of operation speeds the write operations, but consumes an extra 128K bytes of memory.
Reading or writing to the frame buffer is not allowed — you must use the mmap(2) system call to map the board into your address space.
FILES
/dev/bwtwo[0-9]
SEE ALSO
mmap(2), fb(4S), fbio(4S), cgfour(4S)
BUGS
Use of vertical-retrace interrupts is not supported.
The FBVIDEO_ON value returned by the FBIOGVIDEO ioctl may be incorrect. See fbio(4S).
Sun Release 3.2 — Last change: 25 July 1986