Re: A83: Re: A ROM call
[Prev][Next][Index][Thread]
Re: A83: Re: A ROM call
Sam,
Look in squish.inc for the addresses of many functions including, MOV9TOOP1.
The address is: 4206h
This would then call the routine in the system ROM (or on another ROM
page - haven't had time to investigate which - I should assume somewhere
from $0000-$4000).
Ben.
bwise@labyrinth.net.au
Original Message
------------------------------
Date: Fri, 16 Oct 1998 13:50:16 PDT
From: "Evil Sam" <evil_sam@hotmail.com>
Subject: Re: A83: Re: A ROM call
>rst is read "restart", but that's a wry name. It performs a call to the
>specified address, but only addresses 0, 8, 16, 24, 32, 40 and 48 are
>allowed. The instruction is always 1 byte long, whereas call is 3
bytes. It
>was mainly implemented so that interrupting devices could place an op
code on
>the data bus easily (only 1 byte).
>
>What the rst:s do is of course dependent of the code placed in the very
>beginning of the rom. On the ti-83, this is:
>rst 0 Power-up (has to be; the processor starts at address 0000
>automatically)
>rst 8 call _OP1TOOP2 (copy OP1 to OP2)
>rst 16 call _FINDSYM (not chkfindsym, so only non-progs and non-lists)
>rst 24 call _PUSHREALO1 (push OP1 to the fps)
>rst 32 call _MOV9TOOP1 (move 9 bytes from hl to OP1)
>rst 40 call _FPMULT (OP1 * OP2 -> OP1)
>rst 48 call _FPADD (OP1 + OP2 -> OP1)
>
>Linus
>
I put "rst 32" in my code and it gave me a TASM error. I tried "call
_MOV9TOOP1", it also gave me a TASM error because MOV9TOOP1 is not
defined in TI83ASM.INC. What is the addr for MOV9TOOP1?
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
------------------------------