dorn@fabscal.UUCP (Alan Dorn Hetzel) (10/10/88)
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. Any suggestions>? p.s. assembly or C would be preferable, but whatever else would be fine too. Dorn gatech.edu!fabscal!dorn
kory@avatar.UUCP (Kory Hamzeh) (10/12/88)
In article <490@fabscal.UUCP>, dorn@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@quad.com