home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!sun4nl!tuegate.tue.nl!svin09!svin09.info.win.tue.nl!robert
- From: robert@wsooti11.info.win.tue.nl (Robert Lukassen)
- Newsgroups: comp.sys.mac.programmer
- Subject: Button() not callable from interrupt ?
- Message-ID: <ROBERT.92Nov9103642@wsooti11.info.win.tue.nl>
- Date: 9 Nov 92 09:36:42 GMT
- Sender: news@svin09.info.win.tue.nl
- Distribution: comp
- Organization: Eindhoven University of Technology, the Netherlands
- Lines: 19
-
- Hi,
-
- I ran into a bit of trouble the other day when I tried to read the state of the
- mouse-button from an interrupt-routine. I know that the state of the mouse-button
- is represented by a single bit in some low-memory variable and this works well, but
- why does (the old version of) Inside Macintosh claims that Button() can move or purge
- memory. That is absolutely insane! A simple fetch of a low-memory variable can't
- trigger a memory move or memory purge. What are they doing that makes calling
- Button() so dangerous?
-
- Robert
- --
- +--------------------------------------+--------------------------------------+
- | Robert 'MacBear' Lukassen | Eindhoven University of Technology |
- | Email: robert@info.win.tue.nl | The Netherlands |
- +--------------------------------------+--------------------------------------+
- | 'So logically ? If she weighs the same as a duck, she's made of wood... |
- | And therefore ? ...a WITCH !!!!' - Monty Python, the Holy Grail. |
- +-----------------------------------------------------------------------------+
-