Article View: comp.sys.mac
Article #19762C problem
From: J.S.Shapiro
Date: Mon, 28 Sep 1987 06:35
Date: Mon, 28 Sep 1987 06:35
17 lines
1066 bytes
1066 bytes
Now that we have different screen sizes, it no longer suffices to hardwire things like the screen width. A DA is not really allowed to call InitGraf. What can I do (assembler is ok) to find out the values of the screenBits rect? I have tried going indirect via register a5 to get at the host application's quickdraw globals structure, and that doesn't seem to work. This may be a MANX bug. If I simply say 'qd.screenBits', I get the diagnostic: Undefined symbol: _main which, let me tell you, was a bitch to isolate. How does one do this? Jds aondimo
Technical Details
Message-ID:
<2120@sfsup.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!cmcl2!rutgers!bellcore!faline!ulysses!sfmag!sfsup!shapShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!cmcl2!rutgers!bellcore!faline!ulysses!sfmag!sfsup!shap From: shap@sfsup.UUCP (J.S.Shapiro) Newsgroups: comp.sys.mac Subject: C problem Message-ID: <2120@sfsup.UUCP> Date: Mon, 28-Sep-87 02:35:39 EDT Article-I.D.: sfsup.2120 Posted: Mon Sep 28 02:35:39 1987 Date-Received: Mon, 5-Oct-87 01:22:15 EDT Organization: AT&T-IS, Summit N.J. USA Lines: 17 Summary: Need help with screenBits from a DA