Subj : Re: Multiple size text To : borland.public.cpp.borlandcpp From : "Tim Jackson" Date : Mon Aug 18 2003 01:36 am "Bob Gonder" wrote in message news:j98eivg97tpvjlue9q5ml2r7d7ja50lse3@4ax.com... > Rob C. wrote: > > >I've written a multiple size text program base upon the \BC5 > >\BGI\bgidemo.c program. It writes the title in giant letters > >across the top of the screen (graphics-mode), and then passes to > >color1.c which runs the rest of the program in text-mode. > >Except the computer is still in graphics-mode. > > > >So my question is, how can I close graphics-mode and startt up > >text-mode without the computer clearing the screen > > Can't it's either graphic or text, not both. They are different memory > locations on the video card. > > > ( It always did this in PowerC for DOS). > > I very much doubt that. They probably drew "text-looking" thingies on > the graphic screen, which is what you should do if you really want a > "mixed mode" display. > I once wrote a program using BGI graphics under DOS 3.3 on a VGA screen which used regular print commands to write to the graphics screen alongside graphics text. It was as far as I know an undocumented text-emulation feature in the VGA bios, but it worked on lots of different machines, still does today on my TNT2 in fullscreen mode under Windows. I remember that you got some odd number of lines on the screen, I think it was 33. There were some other quirks too I think it didn't overwrite properly and (of course) some attributes didn't work. Tim Jackson .