[aus.computers.ibm-pc] Where in memory is the Hercules bitmap?

wkt@csadfa.cs.adfa.oz.au (Warren Toomey) (03/22/90)

I've just recently purchased QuickC 2.0 and am doing animated graphics onto
a Hercules card, but the _putimage() library routine is too slow. Could
anybody give me the base address etc. of the Herc card, and how I can
dump an array into it.

I'd really like a function like:

dumpimage(image)		/* Dump image onto herc card */
 char *image;			/* Array of bytes */
 {
  char far *herc;
  int i;

  herc= <whatever the base address is>;

  for (i=0;i<number of bytes;i++) *herc++ = *image++;
 }

And no I don't know any machine code, so C please :-)

P.S Running a 10MHz 8088 :-(

Thanks in advance,

	Warren Toomey.

wkt@csadfa.cs.adfa.oz.au (Warren Toomey) (03/27/90)

Thanks to all those people who sent me information about the Hercules
card, and how to access it from QuickC. I haven't assimilated the info
as yet, but will send in a summary + a few routines (?) when I have.

Cheers,
	Warren.



D

wkt@csadfa.cs.adfa.oz.au (Warren Toomey) (03/27/90)

Thanks to all those people who sent me information about the Hercules
card, and how to access it from QuickC. I haven't assimilated the info
as yet, but will send in a summary + a few routines (?) when I have.

Cheers,
	Warren.

     Warren Toomey VK2XWT, still 386-less.
     Deep in the bowels of ADFA Comp Science.
    `Give me a rising pulse, and I'll trigger'