RE: strange thing with put_screen_char()
- Posted by Irv Mullins <irvm at ellijay.com> Mar 21, 2001
- 441 views
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