[A89] Re: change the SR


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

[A89] Re: change the SR




> > I'm looking at Gareth James's docs right now:
> >
> > void _ToSupervisor_int( void ); /* Trap #12 */
> > /* Switch to supervisor mode */

Is this an AMS2 addition or has someone implemented Trap 12 in a kernel?

> I do ASM. Don't ask me why, i just always want the most difficult thing with
> the most possibilies. Niklas already gave me the ASM code.
> 
> BTW Niklas, how do you know what the traps do?

Mainly from the DoorsOS docs, but that's a bit outdated now. A better source
is probably http://tict.ticalc.org/docs/J89hw.txt

--
 / Niklas Brunlid
Check out Prosit for the TI-89 / TI-92+ at http://prosit.ticalc.org
Random PQF v5.1 Quote follows:

In the Beginning

It was a nice day.
        -- (Terry Pratchett & Neil Gaiman, Good Omens)





References: