1. Re: <none>
> I have one problem and is that I want to draw a box in text mode
> but I don't Know how to write a good routine for it. The problem is that I
> can't fill the box. Can somebody help me?
hmmm well that's a little tough to answer seeing i don't know exactly
what you have in mind... the way i do it looks a little something
like this:
-- put a solid line of characters into video memory (if you're using
gfx mode 3 you can poke the data (in the format {character,
foreground colour + 16 * background colour}) into address #B8000 + (y
* width + x * 2) (text mode video address)... if this is all just
too confusing just use puts() :>
-- put a block marking the start and end of each line, plus the
"fill" inbetween
-- put on the bottom line
this may sound slow but is incredibly fast if you poke it directly
into video memory instead of using puts() (which uses video bios)