[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: animation skip problem
>Aaaa! Don't use cli! Use php, sei, and then plp when you are done.
This reminds me. I saw some source here a while ago that had a cli commented
as disabling interrupts. I think that is the 8086 notation.
--->cli enables interrupts<--- don't use it.
>And don't use GetMouse, use a GetNextEvent with it set to return only null
>events so it can fill in the wmWhere field for you. This way you will
>be compatible with alternate pointing devices.
GetMouse is OK. Don't use ReadMouse or ReadMouse2. Note that GetMouse returns
local coordinates and that it does this by getting the global coordinates
and calling GlobalToLocal, so you if you have a current event record around,
it will be faster. It's too bad the bank E0 location of the global mouse
coordiantes aren't documented.
--
--Jay, jay.krell@cornell.edu