Re: A82: Drawing a box


[Prev][Next][Index][Thread]

Re: A82: Drawing a box




At 10:18 PM 4/16/98 EDT, Kouri Rosenberg wrote:
>Can someone help me write a simple routine that draws a "white" box on
>the screen? The box can't just be an outline 'cuz it'll be drawn on a
>black background. The inputs should be the upper left-hand corner and the
>bottom right-hand corner (which ever's easier). Feel free to use any
>registers you like. Thanks a bundle

Well, I don't have a routine.  You could use Movax's horizontal line
function (just change it so it turns off pixels instead of on) and then
write a vertical line function (unless there is one already which is pretty
likely to exist) and then a box routine which combines the horz. and vert.
"white" lines.

I also have a question for you:  Are you related to the Rosenbergs who were
hung (only Americans to be killed in peacetime) for passing on nuclear bomb
information to the Soviets which in turn started the Cold War?


                 Thomas J. Hruska -- thruska@tir.com
Shining Light Productions -- "Meeting the needs of fellow programmers"
         http://www.geocities.com/SiliconValley/Heights/8504
                    http://shinelight.home.ml.org


References: