Re: A89: TIOS calling conventions


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

Re: A89: TIOS calling conventions




Nate Mueller wrote:
> 
> >I suppos you want this function to be called from a BASIC prog or the
> >Home Screen.
> >Then I think that the command line is stored in handle
> >doorsos::HomeEntryHandle, but I don't know the format of the command
> >line so it has to be studied.
> >
> >From then the return value shoud be given to doorsos::ReturnValue
> >In fact doorsos::ReturnValue will point to the last byte of the returned
> >variable since the TIOS since to process all variables from the end.
> >
> >I don't have more infos about that, but I'm sure you could find yourself
> >lots of infos using Rusty's debugger. Just put a breakpoint on
> >Read/Write the address corresponding to HomeEntryHandle ($7708 I
> >think..)
> >
> >If you find more infos, please tell me cause I'm a little interested in
> >this
> >
> >Good Luck !
> 
> Do you know the address of doorsos::ReturnValue?  I want this to run
> without Doors or any other external stuff.

You have
doorsos::HomeEntryHandle equ	_ROM_CALL_109+$C
doorsos::ReturnValue	equ	_ROM_CALL_109+$12

So return value should be
$770E

But these adresses will probably only work on TI89 / Rom 1.00

Xavier VASSOR
---The Doors Team
E-mail:xvassor@mail.dotcom.fr
Doors Homepage: http://start.at/doors
ICQ:10241721




References: