Re: A83: ZiLOG App Dev question on multi-line text
[Prev][Next][Index][Thread]
Re: A83: ZiLOG App Dev question on multi-line text
Another option would be to use 'Lenter' in your string, its the equate for
a cariagereturn + linefeed. I think that it's smaller that way.
.DB "Bla1",Lenter,"Bla2"
-will give you as output:
Bla1
Bla2
Correct me if I'm wrong...
Henk Poley
----------
> Van: D Weiss <dwedit@hotmail.com>
> Aan: assembly-83@lists.ticalc.org
> Onderwerp: Re: A83: ZiLOG App Dev question on multi-line text
> Datum: dinsdag 19 december 2000 0:39
>
>
> Because there is no terminator between the 2 lines of text, it is treated
> as: DB "Line 1Line2",0
>
> Character 0 isn't a carrige return, it's just a string terminator.
> You can also get multiline text by formatting your data as:
>
> ;....0123456789ABCDEF (this line is just a comment)
> DB "This text can be"
> DB "up to 16 chars "
> DB "wide!",0
>
>
> >From: zac-is@home.com (Zac)
> >Reply-To: assembly-83@lists.ticalc.org
> >To: assembly-83@lists.ticalc.org
> >Subject: A83: ZiLOG App Dev question on multi-line text
> >Date: Mon, 18 Dec 2000 19:36:49 GMT
> >
> >
> >When i use ZiLOG's Dev program for TI-83+ APPS i can display text but
> >i cant get it to do multi-line text? How do you display multiline text
> >with this compiler?
> >
> >My current source code is:
> >
> >(header)
> > B_CALL ClrLCDFull
> > xor a
> > ld (curCol),a
> > ld a, 3
> > ld (curRow),a
> > ld hl, TEXT
> > ld de, OP1
> > B_CALL StrCopy
> > ld hl, OP1
> > B_CALL PutS
> > B_CALL GetKey
> > B_JUMP JForceCmdNoChar
> >TEXT:
> > DB "Text Test"
> >
> >But putting:
> >TEXT:
> > DB "Line 1"
> > DB "Line 2",0
> >Just outputs "Line 1Line 2"
Follow-Ups: