Subj : Re: cputs does not work in graphics-modi ? To : borland.public.cpp.borlandcpp From : R.Wieser Date : Fri Sep 23 2005 03:01 am Ed Mulroy schreef in berichtnieuws 43257bdb@newsgroups.borland.com... Hello Ed, > Only some motherboard BIOS and video board implementations have the ability > to write characters using the text mode calls when in graphics mode. Hmmm ... That's not what my experience is, nor what my copy of Ralf Brown's int 10h listing shows .... > If you examine the manuals that came with Turbo C you will find that the > Borland Graphics Interface or BGI provides the ability to write graphics > mode programs. Among those functions in the BGI are ones which allow > writing text to a graphics screen. Have you seen how *ugly* (and or large) those fonts are ? The minimal font is a (too small) 8x8 point, and it and the others don't scale well (only multiplications of the origional size are permitted). The standard font used in bios-writes looks a *lot* better. :-) > The runtime library also provides a set of functions for text mode direct > screen handling, the functions whose prototypes are in CONIO.H. If you mean the functions that use BIOS-calls when "directvideo" is set to Zero, yes, I found them (after Bob pointed me to the "directvideo" variable). > A variable is provided to force some of the text mode direct screen handling > functions to use BIOS calls. It is useful on machines which support such > activity. Assuming that, as a developer, you purchased the runtime library > source package, you can examine that to see what is actually done by those > routines. Sorry, I've got the run-time files only (standard TC 2.0 package). Ofcourse, DEBUG could help me a great deal. :-) > The CONIO.H functions have been stable for 20 years. If setting the > variable fails to cause the functions to perform on a given machine, the > code to suspect is that in the BIOS ROMs, video board ROMs and character > generator ROMs. Untill Bob pointed me in the right direction I was not even aware that CONIO was able to use BIOS-calls for it's screen-output. But that (currently) leaves one thing to wish for : locating the cursor on lines 26 .... 30 in a (TC-supported) 12h video-mode (which it still refuses to do). :-) Regards, Rudy Wieser .