RE: A86: Text and dispAHL


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

RE: A86: Text and dispAHL




Thanks for all the help, it works great

-----Original Message-----
From:	owner-assembly-86@lists.ticalc.org
[mailto:owner-assembly-86@lists.ticalc.org] On Behalf Of ComAsYuAre@aol.com
Sent:	Sunday, December 05, 1999 2:58 PM
To:	assembly-86@lists.ticalc.org
Subject:	Re: A86: Text and dispAHL


In a message dated 12/5/99 17:35:43 Eastern Standard Time, bryan_kam@usa.net
writes:

> Okay here's my problem:  I want to display three lines of instructions in
>  variable width text and the free ram under that.  How do I line up the
three
>  first strings on the left and not make them over lap?  Should I use ld
>  (_penRow) and ld (_penCol) and set the col to zero then keep setting the
row
>  down and using call _vputs?

Yeah pretty much.

>  And how do I display the AHL text in variable
>  width under that?  I only know about call _dispAHL which displays the
memory
>  from call _MEMCHK in fixed width.

;_penCol and _penRow point where you want to display memory
    ld hl,-1
    ld (_curRow),hl         ;coordinates out of bounds
    call _MEMCHK
    call _dispAHL           ;not displayed because cursor off screen
    dec hl                  ;point to start of free memory
    call _vputs             ;display in small font


----
Jonah Cohen
<ComAsYuAre@aol.com>
http://linux.hypnotic.org/~jonah/



References: