Re: A85: Simple Program, not so simple problem.....


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

Re: A85: Simple Program, not so simple problem.....




If it is not there then just define it your self (exit is key # 37).

DInes

BTW The list of keys can be found in ti-rom11.txt
----- Original Message -----
From: Micah The Great <ulic28@hotmail.com>
To: <assembly-85@lists.ticalc.org>
Sent: 22. november 1999 07:05
Subject: Re: A85: Simple Program, not so simple problem.....


>
>
> You're right. I checked the ti-85.h file last night to see if the K_EXIT
had
> been misspelled or something in my program, but I couldn't even find it. I
> just double-checked and it's not there. Do you know what I could do to fix
> it? Is there another header file that defines K_EXIT? Or should I be using
> something else? Thanks!
>
> -Micah Gibson
> ulic28@hotmail.com
>
> ----Original Message Follows----
> From: JayEll64@aol.com
> Reply-To: assembly-85@lists.ticalc.org
> To: assembly-85@lists.ticalc.org
> Subject: Re: A85: Simple Program, not so simple problem.....
> Date: Sun, 21 Nov 1999 23:04:34 EST
>
>
> In a message dated 11/21/99 9:02:12 PM Mountain Standard Time,
> ulic28@hotmail.com writes:
>
>  > I hope I'm sending this email to the correct address.....anyway, can
> anyone
>  >  tell me why, upon compilation, TASM gives me two errors in the
following
>  >  program:
>  >
>  >
>  >  #include "ti-85.h"
>  >
>  >  .org 0
>  >  .db "My first program!",0
>  >
>  >  ROM_CALL(CLEARLCD)
>  >  ld hl,0
>  >  ld (CURSOR_ROW),hl
>  >  ld hl,Text
>  >  ld de,(PROGRAM_ADDR)
>  >  add hl,de
>  >  ROM_CALL(D_ZT_STR)
>  >  WaitKey:
>  >  call GET_KEY
>  >  cp K_EXIT
>  >  jr nz,WaitKey
>  >  ret
>  >
>  >  Text:
>  >  .db "Hello World!",0
>  >
>  >  .end
>  >
>  >
>  >  The two errors ae as following:
>  >  it.asm line 0015: Label not found: (K_EXIT)
>  >  it.asm line 0015: Unused data in MS byte of argument. (200)
>  >
>  >  The program still compiles though. I transfer it to my 85, try to run
> it,
>  >  and it just sends me straight back to ZShell, as if nothing ever
> happened.
> I
>  >
>  >  copied this program from Jimmy Mardell's old ZShell School lesson #1.
> And
>  >  assistance in solving this (probably simple) problem would be much
>  >  appreciated. Thanks!!
>
> Maybe a bad ti85.h file???  Check to make sure K_EXIT is actually defined
in
> there.
>
> JayEll
>
>
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
>



References: