Re: A83: ZiLOG App Dev question on multi-line text


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

Re: A83: ZiLOG App Dev question on multi-line text




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"
>

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com