[comp.sys.ibm.pc] Ega and OS/2

b27y@vax5.CIT.CORNELL.EDU (06/16/89)

I am writing a program for OS/2 (not for Presentation Manager) and I want to 
use EGA graphics.
The documentation I have read says that the only way to do this is under OS/2 
is to communicate directly with the ega card via the port and to alter the 
ega card registers directly.  This seems awfully messy.  Is there anyone
out there whoe.i. books, code, or just general hints.

Right now we are stuck in CGA (ugh) and we are considering just rewriting it 
for PM but that will take months.  we are using code form a MSDOS version 
program and we don't want to have to rewrite everything.

thank you in advance.
		---Misha---

Michael Gray   			/-------------------------------/
Misha Computing			/ "Save The Humans"		/
526 Stewart Ave 		/				/
Ithaca N.Y. 14850		/	Bumber Sticker		/
607-277-2774			/				/
B27Y@VAX5.CIT.CORNELL.EDU	/-------------------------------/