RE: strange thing with put_screen_char()

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

On Wed, 21 Mar 2001, Gwen wrote:

> But...I saw put_screen_char() use poke() to write to the screen, do you 
> know how to write over an another char ? (like using bk_color(-1) in 
> some fonts packages), I don't know how to do that with poke. If I just 
> do that :
> 
> poke(#B8000, {'A',15})
> poke(#B8000, {'O',4})
> 
> The second instruction will erase my white 'A' and put an red 'O' at the 
> place. Is there an attribute like "transparent background color" ?

No. The DOS characters are displayed from a character rom, you can't 
easily change them. You can, however, use Jiri Babor's font.e program 
to display characters of your own design. It should also be possible to 
write a routine that would combine two of his characters to create a new one 
before displaying it. This also gives you a wider range of font styles and 
sizes. It does require graphics mode, however.
-- 
Regards,
Irv

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

Search



Quick Links

User menu

Not signed in.

Misc Menu