[A89] Re: ellipses again
[Prev][Next][Index][Thread]
[A89] Re: ellipses again
sorry i dont know a lot about c, its probably really simple, you would havta
use a pointer to VS somehow but as to implementing it into this asm routine
i have no clue
Earlier, TJ gave this code for XORing a VS onto the screen.
Unfortunately, I don't know asm. I'd like to try the VS approach, but I
don't know how to use
this code. I'm pretty sure you write
asm(code...);
a similar routine that checked the boundaries and copied only a certain part
of the screen would do the same exact thing as this routine. basically look
at it this way. you draw a black circle on two pieces of clear plastic. the
first one you just cut around the circle. the second you leave the whole
sheet intact. then you glue them onto two other pieces of paper with
something else drawn on them. you get the same result but it is much faster
to do it with the whole sheet. you would just be making the copy/paste
routines more complicated so why bother when its already in a nice neat
package thats only a few lines of code?
but I don't know how to get the memory locations to the asm. I'd also like
to have it only go
through the rectangle that contains the ellipse, not the entire screen.
Even if this means taking
a little extra time defining the memory to read and write to (it won't all
be consecutive) I think
it will make up for it.
jeff
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com