LZ: What's wrong?


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

LZ: What's wrong?



Hey, for those who know how to use Mac-Caz, I put this in as the standard
old "Hello, World" program, and it compiles fine.  Problem:  when I run it,
the screen clears and then the zshell menu comes back right
away...shouldn't it work?  it seems logical.  Help!


#INCLUDE 'TI-85.H'


ORG 0
DEFM "Hello", 0


CALL ROM_CALL
DEFW CLEARLCD


LD HL, 3
LD (CURSOR_ROW), HL
LD HL, 3
LD (CURSOR_COL), HL
LD HL, (PROGRAM_ADDR)
LD DE, MESSAGE
ADD HL, DE
CALL ROM_CALL
DEFW D_ZT_STR


GETLOOP:
  CALL ROM_CALL
  DEFW GET_KEY
  OR A
  JR Z, GETLOOP
  RET


MESSAGE:
DEFM 'Hello, world!'


END


 ________________________________________________________________
| Marc Heikens                 |  Fear not all is well.          |
| kheikens@owt.com             |  Fear, not all is well.         |
|______________________________|  Fear not, all is well.         |
|  Reduce your stress level!   |                                 |
|  Buy a Macintosh!            |  --Truth lies in interpretation.|
|______________________________|_________________________________|


Follow-Ups: