DeepBrainActivity proudly presents,       

AS92 for TI89/92+

by Kty & Fred (c)1998-1999


TABLE OF CONTENTS

Disclaimer

Description

ZIP contains

Using the program

Special commands

Messages

Examples

Troubles

History

Authors


Disclaimer

    We can't be held responsible for whatever could happen( or not!) to your TI92+/89. That is to say there is no warranty that our system will recover data in any cases and that it won't damage your calculator. But keep in mind that it would be extremely unlikely that software could damage hardware...


Description

    This usefull program allows you to write your code in assembler 68000 on your calculator, then assemble/link it ON-calc ! It is rather fast, and support a lot of very interesting features such as, _nostub option, symbolic informations for debug part with DB92, macros and more.

 


ZIP contains

as92f.9xz and as92f.89z

as92.9xz and as92.89z

The assembler (French/English versions)

hexs.9xt First example  
getrcall.9xf Second example
incexpl.9xt Third example
as92doc.htm This file
equgraph.89t Include file
equutil.89t Include file
equuserl.89t Include file

                as92("_nostub trap #4|_strout rts")             ;here _nostub and _strout are recognize as labels.

                as92("include   folder\myfile")

            Dependant of the direction you gave to the assembler, your code will be compiled and messages will informe you. The output is stored in outputb. Either a ASM or a STRG.

as92_2.jpg (8327 octets)

    The way libraries and ROM_CALLs work is the same as DoorsOS linker, except that you have to create your own include file or EQU or MACROS. Bug report or suggestions are welcome as long as you're sure that the problem comes FROM AS92 and not from you :). Please read the Fargo or DoorsOS documentations, so that we haven't to reply to TI92 or 68000 related messages. Thanks.

    Also pay attention to the fact that most mnemonics need the indication of their operandes' sizes: e.g: movem    d0/a6,-(a7) won't work. But movem.l    d0/a6,-(a7) or movem.w     d0/a6,-(a7) will.

    Macros : here is the syntax to use in order to define/use a macro :

MacroName MACRO    ; MACRO must be in capital letters

; code of the macro

ENDM                             ; ANDM must be in capital letters

The parameters are used the same way as with a68k, from \1 to \9. You can try the macros by yourself or have look at exemples (exemples\macros in the zip file).

    To understand how to write programs (using _ROM_CALL_s, libraries, macros and so on) you should have a look at the exemples.

 


Specials commands

To use them, you just need to put anywhere in your code a label that is one among :

_nostub

It is the same function as the DoorsOS one. i.e: No DoorsOS header

_addsymb

Adds variables and labels to symbolic info data base (DB92). At the present time, they are all put into the label list in DB92. Doesn't work with _nostub.

_strout

The output is a string (This option *should* be used along with _nostub) and is executed with 'exec' command

AS92 also recognizes: _main, _comment and _exit.


Messages

    Messages are in english or french (use the file as92f) and are no longer returned in HOME but stored in the variable as92ret of the current folder, this is for compatibility with AMS 2.03 (and may be corrected one day).

    So you should compile in HOME this way :

as92("include folder\file"):as92ret

to get the error messages after the compilation (or 0 if no error was found).

 


Examples

More exemples are coming...

If you have written a program you think could be used as an exemple for as92, contact us.


Troubles

No feedbacks for now.


History

04/02/2000
  • Ported to AMS 2.03 and MACROS added
10/24/1999
  • Translated error messages

09/xx/1999
  • First public release
04-08/xx/1999
  • Development and beta versions

Authors: Fred and Kty

DBA is our 'team' name :)
We are two students in school engineering in France (ESEO - Ecole Supérieur d'Electronique de l'Ouest) and we are interested in programming and in designing specific hardware device for special platforms such as Texas Instruments calculators TI89/92+
If you want to contact us:
Use the assembly89/92 list at ticalc.org
Or,

Fred imfred@mailcity.com ICQ # 33467465
Kty kty@mailcity.com ICQ # 45376616

   


DBA