A82: Re: Changing Variables?


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

A82: Re: Changing Variables?




This is actually been now for some time, and it souldbe listed in 8x-rxm or
82-var. The type byte of the vars on the 8x calcs har the following format

bit
7 sign bit
6 stat bit 1
5 stat bit 1
4 stat bit 1
3-0 type

What you are suggesting it to use bit 4-7 to distinguise between different
kinds of programs. The stat bits are used to store graphing information
related to the var (each bit is a different mode), and the sign bit is used
in reals to store the sign of the number. Bit 8 is normally only used for
reals, and 4-6 is only used for vars which affect the selected y-vars. So
using these bits for strings/prgms should not cause any problems, as long as
you dont use the functions from the ROM.  The TIOS masks out the 4 msbs
before using the type, so it wont know the difference (this is also the
reson why it is reset when you send it to another calc).

If you want to use in TI82 asm it is fairly easy, just write the value you
want to the type byte of the var.

Dines
----- Original Message -----
From: J. R. Johnson <jrjinfinity@hotmail.com>
To: <assembly-82@lists.ticalc.org>
Sent: Friday, January 29, 1999 12:10 PM
Subject: A82: Changing Variables?


>
>This Is Some Information that was recently discovered, and
>if it has already been discovered then too bad!
>cause I don't remember anyone discussing it before!
>
>When changing variables on the Ti-85
>you can change a string which normally is a
>$0C, if you add $20 to this it is still a string,
>of the new type $2C, this woks 8 times, then restarts at $0C,
>and will not show up in any shell, also when you
>send a string like this to another calc it automatically
>resets it to $0C again, this allows for the A-Shell-86
>type of interface for 85 usgard-customized shells.
>
>Is there anything like this on the TI-82?
>The program I used to discover this on the Ti-85 is not
>available for the Ti-82 so I can't check it that way?
>
>If this is availiable, then a shell with 2 or 3 folders would be nice
>for the Ti-82, such as Games, Utils, Math, most others would probably go
>unused as there is on ~28k to work with
>
>Also if you can help me change the type by holding down [STO] and
>pushing a button [F1]-[F3] this would help alot thanks!
>
>
>Jon R. Johnson
>jrjinfinity@hotmail.com
>www.welcome.to/gamecrazz
>
>______________________________________________________
>Get Your Private, Free Email at http://www.hotmail.com
>