Re: A83: Pixel Test


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

Re: A83: Pixel Test



Just load the values into bc as if they were constants:

ld a,(x)
ld b,a    ;now b=x value
ld a,(y)
ld c,a    ;now c=y value


In a message dated 1/7/2001 8:48:40 PM Eastern Standard Time,
pyroboy_04@yahoo.com writes:


When I use the _ILine call, is there anyway load the line from variables
instead of from just numbers?
Example:
Can i do this:
ld bc,(x)*256+(y)
Instead of this:
ld bc,5*256+35
I want to be able to load the coords from registers or variables.  Can I do
that?  Or is there a different way not using ILine?





----
Jonah Cohen
<ComAsYuAre@aol.com>
http://jonah.ticalc.org