Re: A86: lots of text?
[Prev][Next][Index][Thread]
Re: A86: lots of text?
You are mixing up routines. Someone wanted a routine to wrap text with the
small font. The routine posted below displays text vertically. To wrap
text, look at Kirk Meyer's tiesaq(sp?) program. It uses a rom call to get
the length of the text in the small font.
At 10:59 PM 9/15/98 EDT, you wrote:
>
>In a message dated 9/15/1998 1:53:28 PM Mountain Daylight Time,
>ComAsYuAre@aol.com writes:
>
><< here's a shorter one if all are going to be aligned to the same column:
>
> if you want to fit more rows, just change the add a,8 to add a,6 or add a,7
>
>
> move_and_display:
> ;--------------------------------------------------
> ;moves down the screen displaying string at hl
> ;
> ;input:
> ; b=number of strings to display (max=8)
> ; c=column location
> ; hl=pointer to string
> ; _penRow and _penCol point to first location
> ;output:
> ; hl=hl+number of characters+1
> ; _penRow=_penRow+8(c-1)
> ; _penCol=c
> ; b=0
> ; a trashed
> ;--------------------------------------------------
>
> call _vputs
> ld a,c
> ld (_penCol),a
> ld a,(_penRow)
> add a,8
> ld (_penRow),a
> djnz move
> ret
> >>
>
>
>I would like to thank you very much for posting this. I know that it
could be
>useful if I knew how to utilize it (big word, ohhhhh). What I mean is, how
>would I apply this? I mean, could you make me a little program that just
adds
>on to this that will show this little routine actually work? Do you see what
>I am saying? I tried to do it myself but couldn't come up with any way
for it
>to work.
>
>THANX
>Dan
>
--
David Phillips
mailto:electrum@tfs.net
ICQ: 13811951
AOL/AIM: Electrum32
References: