Re: A86: questions numbering 3


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

Re: A86: questions numbering 3




In a message dated 2/11/00 1:10:03 AM Eastern Standard Time, 
rabidcow@juno.com writes:

> On Thu, 10 Feb 2000 18:09:24 PST "Chris Manning"
>  <walkingmantis@hotmail.com> writes:
>  >    2. Is there any way to make it so that the [sqrt]KEY is invisible 
>  > in 
>  > Ashell so that it can't be deleted?
>  
>  from the ase documentation:
>  
>  TI-86 Modules:
>     As you may have noticed, the TI-86 has built in support for modules,
>     which are basically single function libraries.  ASE will automatically
>     NOT detect any modules on your calculator if this code is placed at
>     the beginning of your module:
>  
>     bit ex_asm_module,(iy+anumeditflgs)
>     jp z,_errInvalid
>  
>     This will also prevent your module from being executed by Asm(
>     using the same method that the Statistics add-on uses.
>     Here are the corresponding equates:
>  
>     anumeditflgs    equ       31
>     ex_asm_module   equ       2           ; 1 = ASM module ok
>  
>     _errInvalid                      equ            416Ch
>  
>  unfortunately, making a program invisible from shells makes it so the
>  calc can't run it either.

Actually I'm pretty sure all it does is check the first byte of the opcode, 
so all you'd really need to do is
 bit/set/res x,(ix/iy+x)
at the beginning of the prog and you don't necessarily have to do anything 
with the information you get.  Certainly not necessary to do jp z,_errInvalid 
or anything.


----
Jonah Cohen
<ComAsYuAre@aol.com>
http://linux.hypnotic.org/~jonah/