Xref: utzoo comp.sys.ibm.pc:20209 comp.graphics:3353 comp.unix.xenix:3628 comp.sources.wanted:5276 Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!apple!voder!pyramid!prls!philabs!ttidca!quad1!avatar!kory From: kory@avatar.UUCP (Kory Hamzeh) Newsgroups: comp.sys.ibm.pc,comp.graphics,comp.unix.xenix,comp.sources.wanted Subject: Re: VGA routines (wanted) Summary: Look at screens(HW) Keywords: VGA DOS XENIX Message-ID: <129@avatar.UUCP> Date: 12 Oct 88 00:04:14 GMT References: <490@fabscal.UUCP> Organization: Kory Hamzeh, Canoga Park, Ca, USA Lines: 25 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