A86: Re: Getting rid of Done


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

A86: Re: Getting rid of Done




don't use $4084 or $02cb, they leave things messy!
use _jforce ($409c)

try ending with this:
 ld a,(_asm_reg_a)
 or a
 jp nz,_jforce
 ret

-josh

On Sat, 29 Aug 1998 15:03:17 -0700 rabidcow@juno.com (Joshua J Seagoe)
writes:
>
>$4084 works, too, i think. at least with ase, you can tell if the 
>program was run from the shell by
>checking _asm_reg_a.  it's 0 from the ti-os and 1 from the shell.
>
>try ending with this:
> ld a,(_asm_reg_a)
> or a
> ret z
> jp $4084
>
>-josh
>
>On Sat, 29 Aug 1998 16:08:09 -0400 "JBrett" <tbarwick@esn.net> writes:
>>
>>Call $02CB right before ret.  The downside to this is that it will 
>>return to
>>the TI-OS and won't return back to the shell.
>>--------------
>>Jbrett
>>tbarwick@esn.net
>>http://ww2.esn.net/~tbarwick
>>I just added a TI-86 page, Check it out!!!
>>-----Original Message-----
>>From: scheltem <scheltem@aaps.k12.mi.us>
>>To: assembly-86@lists.ticalc.org <assembly-86@lists.ticalc.org>
>>Date: Saturday, August 29, 1998 3:59 PM
>>Subject: A86: Getting rid of Done
>>
>>
>>>
>>>Is there a way in asm to get rid of the "Done" when you exit a 
>>program.  I
>>>have no clue.  Most everyone knows in basic in is Outpt(1,1,""
>>>************************************
>>>dave
>>>ICQ:16817590
>>>E-mail: scheltem@aaps.k12.mi.us
>>>TI86 Basic Programming Center
>>>http://www.geocities.com/TimesSquare/Ring/8708/
>>>
>>>
>>
>>  
>_____________________________________________________________________ 
>You don't need to buy Internet access to use free Internet e-mail. Get 
>completely free e-mail from Juno at http://www.juno.com Or call Juno 
>at (800) 654-JUNO [654-5866]  

_____________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
Or call Juno at (800) 654-JUNO [654-5866]


References: