Re: A83:'ret'
[Prev][Next][Index][Thread]
Re: A83:'ret'
That is quite odd, as my client is set in plain text mode. Of course, if
you couldn't read my old message, you probably wont be able to read this one
either, but oh well.
Just to keep somewhat in the range of being on the topic of calculators,
here's some simple code all those TI-83 Plus programmers might want to try
out: B_CALL blah
Loop:
B_CALL blah2
cp 0Ch
ret z
jr Loop
(blah = 4D47h)
(blah2 = 4D65h)
(I didn't just B_CALL 4D47h because ZDS will take issue with that).
For those without a TI-83 Plus, the result of this code is a completely
functional mouse/cursor that you can move around the screen, etc. The
functionality is built into the TIOS, but hasn't been used for anything yet.
-Dan Englender
----- Original Message -----
From: "Jeremy" <jedrake@linknet.kitsap.lib.wa.us>
To: <assembly-83@lists.ticalc.org>
Sent: Monday, January 29, 2001 7:59 PM
Subject: Re: A83:'ret'
>
> Could everyone please make sure that their email clients are in plain text
> mode? Thanks. I use Pine, and this is what I get...
>
> >From dan@calc.org Mon Jan 29 16:56:36 2001
> ~Date: Mon, 29 Jan 2001 18:23:31 -0500
> From: Dan Englender <dan@calc.org>
> Reply-To: assembly-83@lists.ticalc.org
> To: assembly-83@lists.ticalc.org
> Subject: Re: A83:'ret'
>
>
> [...]
> B_JUMPing to JForceCmdNoChar from an
> assembly program (as opposed to an app) is a "bad idea", and I would not
> suggest it. If, for whatever reason, you want to be able to quit
> regardless of the stack, I'd suggest doing what Mr. Weiss suggested and
> save the value of SP. (If you're using MirageOS, it has a built in
> function to do this; just call quittoshell).
>
> -Dan Englender
>
>
> ----- Original Message -----
> From: Robby Proie
> To: assembly-83@lists.ticalc.org
> Sent: Monday, January 29, 2001 6:11 PM
> Subject: RE: A83:'ret'
>
> For every push there should be a pop. Otherwise, try this
> for the 83+
>
> B_JUMP JForceCmdNoChar
>
> I don't think that it is affected by the stack, and it should
> work in an ion prog on the 83+ and maybe the 83:)
>
>
>
References: