Re: A86: Re: Re: Re: Re: Re: Re: _ILine
[Prev][Next][Index][Thread]
Re: A86: Re: Re: Re: Re: Re: Re: _ILine
So, you're trying to draw a box, eh? I'll let you in on something: you need to
call _ILine four times...
Here are the registers as you go into your call:
h = 1
b = 1
c = 62
d = 1
e = 1
I think that this will draw a line against the left side of the lcd ... or maybe
the bottom. You also don't have a ret instruction in this code...
Trey Jazz wrote:
> my include files is the one pat made so thats not a prob...i ret'd so not
> there... i cleared the graph buffer, i cleared the screen, i turned the axis
> off, no idea why it wont work :/
> call _PDspGrph
> call _clrLCD
> call GraphBufClear
> ld h,1
> ld a,(x1)
> ld b,a
> ld a,(y1)
> ld c,a
> ld d,b ;sposed to be there cuz not doing a direct line, making a
> box
> ld a,(y2)
> ld e,a
> call _ILine
>
> x1:
> .db 1
> y1:
> .db 62
> x2:
> .db 126
> y2:
> .db 1
>
> -----Original Message-----
> From: Matt2000 <matt2000@gte.net>
> To: assembly-86@lists.ticalc.org <assembly-86@lists.ticalc.org>
> Date: Sunday, April 26, 1998 10:05 PM
> Subject: A86: Re: Re: Re: Re: Re: _ILine
>
> >
> >>maybe i just need to drop it :)
> >
> >
> >
> >Two other ideas popped into my head. Maybe you forget the ret statement.
> >Another possibility is maybe your .INC file got changed, make sure _ILine
> is
> >the right address.
> >
> >-Matt
> >
References: