RE: LZ: Another Question
[Prev][Next][Index][Thread]
RE: LZ: Another Question
-
Subject: RE: LZ: Another Question
-
From: Frank <Jblaze77@msn.com>
-
Date: Thu, 17 Oct 96 20:57:38 UT
-
In-Reply-To: <>
Hmm... but i am using the points for the line algorthim and in the
documentation it shows $4030 as the starting point 40,30?
----------
From: owner-list-zshell@lists.ticalc.org on behalf of C.J. Oster
Sent: Thursday, October 17, 1996 12:34 AM
To: list-zshell@lists.ticalc.org
Subject: RE: LZ: Another Question
>Do you need to do hex conversions?
>
>Ex. if i wanted the point 20,20 in HL would it be $2020 or $07E4 and if it is
>the first way how would i store the point 120,20 as $12020 or what?
>
You only wish it were that easy. Ok, you take your point, 20,20, and say
this.
Address = (baseVRamAddrr) + (Vert)*(lineWidth) + Horiz
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ all in HEX!
I'd tell you the actual address, but I can't remember the base vram addr,
it's been a long time since I wrote a program.
-C.J.-
********************************************************************
Unsolicited commercial e-mail to the poster of this message
will be proofread at $70/hr, minimum charge $150. Submission
of such e-mail to this address will suffice as contractual assent
to the said charging schedule.
********************************************************************