[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] Ssystem() & Setexec()
> I've heard from the autor of Cecile (I'm at Centek new home, now)
> that the function "setexec()" was used to read & write at the botom of
> the RAM. So, why did "ssystem()" was created if such function was in the
> system from TOS 1.0 ???
1) setexec takes the vector number, so the memory address is a multiple of
four. So you can't easily read longwords on odd addresses (such as $4b2).
2) I have used the setexec in SETCLOCK (IIRC) to read the CookieJar ptr
without switching to Supervisor mode and it caused crashing on some
old machines.
Petr