VGA routines (wanted)
Kory Hamzeh
kory at avatar.UUCP
Wed Oct 12 10:04:14 AEST 1988
In article <490 at fabscal.UUCP>, dorn at fabscal.UUCP (Alan Dorn Hetzel) writes:
> I am looking for routines useable under DOS and/or XENIX on a 80386
> based system to do the following:
>
> 1) switch my VGA from text to 320x200x256color mode
> 2) write information to the graphics screen either pixel at a time
> or in blocks.
> 3) switch the screen back to 80x24 text mode.
>
Look at the screens section in the HW (hardware reference) section in the
xenix manuals. There are provisions to set different video modes and map
the vga memory into your address space. There are also ways of doing
port input/output. All of this is accomplished by opening the screen
devices (/dev/ttyxx) and doing a series of ioctl() calls.
However, as far as I know, none of the VGA modes were supported in
any of the xenix releases prior to 2.3.
--
-------------------------------------------------------------------------------
Kory Hamzeh UUCP: ..!uunet!psivax!quad1!avatar!kory
INTERNET: avatar!kory at quad.com
More information about the Comp.unix.xenix
mailing list