RE: LZ: Another Question


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

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.
********************************************************************