Posted by Morgan Terry on 1999-10-14
Anyone know where to get a (preferably free) copy of one of the older versions of Borland C++? Nickolai Leschov wrote: > > On Wed, 13 Oct 1999, Morgan Terry wrote: > > IMHO the best one for this sort of stuff is Borland C++ 3.1 > which is also the last really DOS-oriented compiler from Borland. > In later versions nice DOS IDE was excluded. > You can as well use Borland C++ 1.0 'cause if you're going to do > VGA Programming, you won't need much of programming language > (you will do almost everything by hand) > > Also look for Denthor's VGA Programming Tutorial - it explains > the subject pretty good. > > Regards, > Nickolai Leschov > http://nickolai.iscool.net > > > I am programming in C. I have my compiler (Borland C++ 5.02) set up for > > a DOS executable, and I don't know what mode. Whatever is default I > > guess. I am new to this kind of stuff, so any info you can provide > > would be much appreciated. > > > > Catalin Ionescu wrote: > > > > > > You didn't specify in what language are you trying to program. Also you > > > didn't specify in what CPU mode, e.g. real, flat or protected mode. > > > Assuming the real mode, the address for VGA memory buffer is 0xA000:0000, > > > with one byte for each pixel on-screen. > > > For protected mode, depends on your environment, if you are allowed to do > > > memory-writes and where VGA memory-map is. > > > For flat mode, the address for VGA memory-map is 0xA0000000. > > > > > > Now, if you're programming a plain DOS application, it is safe to assume > > > that you're in real mode (or this is emulated for you). If you're > > > programming a Windows application, forget about direct addressing of > > > memory-map and use instead Windows API functions. > > > > > > > > > Catalin Ionescu > > > cata@xxxxx.xx > > > > > > > > > > > > > -- > > Morgan > > morgan@xxxxxxxxxxx.xxx > > > > Clever signature goes here > > > > Sponsored by Wrox Press - www.wrox.com. Programmer to Programmer (TM) > > > > > > > -- Morgan morgan@xxxxxxxxxxx.xxx Clever signature goes here Sponsored by Wrox Press - www.wrox.com. Programmer to Programmer (TM)
Previous post | Next post | Timeline | Home