[comp.sources.wanted] Hercules detection???

bjornb@rhi.hi.is (Bjorn H Bjornsson) (06/19/88)

Hi!

I'm currently endulged in the writing of a graphical dump program for
the Hercules card.  So far I've managed to do the actual dumping through
a TP4 program.  Works like a dream, thank you.  Anybody want the source?

What I need now is the source to

  (a)	detect whether a Hercules graphics card is installed

  (b)	detect whether the card is in text or graphics mode.

I believe the Hercules has two pages for graphics.  Is there any
software that uses both pages?  If so, I'd also need to know how to
detect which page is active. 

	Thanks in advance for any help
	Bjorn
-- 
Bjorn Heimir Bjornsson		Internet:  bjornb@rhi.hi.is
University of Iceland		UUCP:	   {mcvax,enea}!hafro!rhi!bjornb