Re: A83: Beginner's Question
[Prev][Next][Index][Thread]
Re: A83: Beginner's Question
Sure it works.
Before executing your program enter the debugger and set the breakpoint on
the address $9D95 pressing the F2.
Now press F5 and execute your program.
The program will stop at the breakpoint.
Press F8 to step to _getkey command.
You must always use breakpoints if you want to track the execution.
>From: "Dale Watson" <merlin@cinternet.net>
>Reply-To: assembly-83@lists.ticalc.org
>To: <assembly-83@lists.ticalc.org>
>Subject: A83: Beginner's Question
>Date: Sun, 7 Jan 2001 18:34:06 -0500
>
>
>Hi,
>
>I am new to Assembly programming on TI-83 Plus. I have tried to get the
>"GetKey" function to work on VTI, but it does not appear to respond to
>keypresses and if I interrupt it with the Debugger, it shows it at a "halt"
>instruction at 021Bh. Following is my source code, which I assemble using
>the Chaos assembler. Can anyone suggest why this does not seem to work in
>VTI? (I have NOT tried to put this into the actual calculator.)
>
>_GetKey .equ 4972h
>
>Loop:
> rst 28H
> .dw _GETKEY
> cp $21
> ret z
> jr Loop
> .end
> .end
>
>Scot Watson
>
>
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.