There were books written about that. (long enough back that they're
probably in your local library!) There were a couple dealing with bitmapped
graphics for Turbo (fill in name of language here) and there was one for
Qbasic. The use of the BIOS calls was always considered to be the slowest,
by the way, but it may not be so bad with today's machines, able to shadow
the ROM, and running at 100x the speed of the 5 MHz 8088.
Dick
----- Original Message -----
From: Lawrence Walker <lgwalker(a)look.ca>
To: <classiccmp(a)classiccmp.org>
Sent: Friday, August 11, 2000 1:27 PM
Subject: Re: CGA graphics
Hi,
Does somebody here know the formulas for calculating the offsets and
bits in the CGA memory? Or maybe a quick routine for plotting a pixel?
The BIOS routine sure seems SLOW to me. I'm experimenting with these
older machines, so I'm working a little with these cool graphics
cards! (The CGA is great! Well, I LOVE IT! :-) )
Ciao,
Lionel
You might see if you can find "A Programmers Guide to PC &
PS/2 Systems" Richard Wilton ,published by M-S Press. Came out
in 1987 and received rave reviews in all the trade publications. It
has ass. routine listings to access BIOS for CGA thru VGA and a
wealth of other info on the varios Dos video systems.
ciao larry
lgwalker(a)look.ca
walkers(a)altavista.net
bigwalk(a)xoommail.com