Re: A86: Line(x,x,x,x,0 with ASM?


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

Re: A86: Line(x,x,x,x,0 with ASM?




><< To erase a line, why not just call _ILine with H set to 0?
> 
> Muhammed
>  >>
>
>because they want it to be able to be done in basic
>Have a plug-in program that "edits the ROM" to allow  LineOff(x,y,x,y  
to turn
>off a line for example, l think...
>


Oh... ok...   hmmmm.....  how about making a little asm prog that does 
that draws the line with info from the basic program? and since it's on 
the 86 it can be called directly from basic. In the basic part you make 
5 vars, say X1, Y1, X2, Y2 and COLOR. Then you do Asm(line or whatever 
you want to call the asm part and it simply loads the values from X1, 
Y1, X2, Y2 and C into b, c, d, e, and h and calls _ILine.


Muhammed

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


Follow-Ups: