Re: Printing to screen in video mode

new topic     » goto parent     » topic index » view thread      » older message » newer message

mrbiglesworth3 at yahoo.com wrote:
> ...
> I'm using video mode 18 and trying to
> print a string to the screen after I
> print a bitmap.
> The bitmap looks fine, but the string
> won't print at all.  Can I not do this
> in a pixel-graphics mode?
> Any other comments would be much appreciated.
> Thank You, Josh
> 

Hi Josh,
in graphics mode you may use puts() and printf() as is text mode.
However, the position of the text elements are bounded into the 'normal'
text raster: for mode 18 you have 30 (or 60) rows and 80 columns.
If you want to place your text at an arbitrary pixel positron, the
easiest I know of is Jiri's 'rfont.e' from the archive, which offers the
two VGA ROM fonts (256 characters) in 16x8 and 8x8 pixels.
Have a nice day, Rolf

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu