A82: ASM on 19.006 (PROBLEMS???)


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

A82: ASM on 19.006 (PROBLEMS???)




I had a quick look at the new ROM version and it seems like there might be
some problem with running ASM programs on the new ROM version.

TI seems to have changed lots of things in the new ROM version, one of which
is the strtup code, which causes several functions which are located in the
seem location in all other ROM versions to be moved.

The code implementing the main input handler has also been changed, but it
can still be used to start asm.

The selftest has been changed, causing a change in location of some other
often used functions.

The ROM table used to make ROM_CALLS has been changed, so the current method
for implementing the ROM_CALL function will probably not work.

In current shell a lot of function are considered to be constantm but they
are not constant any more. The offset used for ROM CALLS located towards the
end of the ROM page are considered to be constant, it is not any more. They
way interrupts are used seem to have been modified which might cause minor
problems.

If all of the above is true making an asm shell which support the new ROM
versions would require:
- A new ROM_CALL function which uses the ZShell method*
- All programs would have to be recompiled
- All programs uising the ROM table directly would have to take the offset
into account, or the calls should be added to the shell
- The new ROM_CALL might be longer requiering other functions included in
the shell to be moved (and all programs using addrs in the shell might have
to be changed)

It might also be worth considering the following:
- If the new version is added support for all the old ROM version can be
added without problems.
- ROM CALLs needed to implement VAT compatible relocation should be included
- Should the shell be compatible with a TI83 shell?

All in all making a shell work on the new ROM version would require a lot of
work, so I guess the question is whether anyone wants to do it. As i haven't
even been able to finish ASH 3.1 (but I should still have the source for all
version including Ash 3.1Beta3G) it is unlikely that I am going to finish a
shell supporting the new version. If any one is interested in making a shell
I will probably be willing to send the source to them. So if someone out
there is interest lets discus the new version on the list, so we can all see
whether there is a real chanve that it is gone to be done.

Dines
-----------------------------------------------------------------------
 Dines Justesen             dines@aub.dk             www.aub.dk/~dines
-----------------------------------------------------------------------

----- Original Message -----
From: "Arnaud Rouanet" <Arnaud.Rouanet@emi.u-bordeaux.fr>
To: <assembly-82@lists.ticalc.org>
Cc: <assembly-82@lists.ticalc.org>
Sent: Monday, October 02, 2000 5:14 PM
Subject: Re: A82: ROM version 19.006


>
> On Mon, 2 Oct 2000, Eric Piel wrote:
>
> > I'm interested (mainly by your diff), just curiousity
>
> Here is the page 0 of the 19.006 rom:
> http://www.emi.u-bordeaux.fr/~rouanet/ti/ti82_19.006_page0.rom
>
> I hope that I did not make errors by gathering the pieces of rom
> (the disassembled rom seems coorect, so it should be ok).
>
> I will try to post the diff file tomorrow, if I have enough time
> to complete it.
>
> --
> Arnaud Rouanet
> Dépt d'Informatique - Université Bordeaux 1
> e-mail: rouanet@emi.u-bordeaux.fr
> http://www.emi.u-bordeaux.fr/~rouanet/
>




Follow-Ups: References: