Re: A86: Line(x,x,x,x,0 with ASM?
[Prev][Next][Index][Thread]
Re: A86: Line(x,x,x,x,0 with ASM?
that way there wouldnt be a quick routine for it, you would have to do
x->X1:x->Y1:x->X2:x->Y2:x->COLOR:Asm(LineCh
instead of just
LineCh(X1,Y1,X2,Y2,COLOR
-----Original Message-----
From: Muhammed Galadima <mj_galadima@hotmail.com>
To: assembly-86@lists.ticalc.org <assembly-86@lists.ticalc.org>
Date: Friday, January 09, 1998 11:14 PM
Subject: 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
>