home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / mac / system / 11807 < prev    next >
Encoding:
Text File  |  1992-09-11  |  2.8 KB  |  78 lines

  1. Newsgroups: comp.sys.mac.system
  2. Path: sparky!uunet!mcsun!sunic!kth.se!dront.nada.kth.se!d88-jwa
  3. From: d88-jwa@dront.nada.kth.se (Jon W{tte)
  4. Subject: Re: What do I need to develop Mac apps?
  5. In-Reply-To: streater@unixhub.SLAC.Stanford.EDU's message of 11 Sep 92 06:29:14 GMT
  6. Message-ID: <D88-JWA.92Sep11193733@dront.nada.kth.se>
  7. Originator: d88-jwa@dront.nada.kth.se
  8. Sender: usenet@kth.se (Usenet)
  9. Nntp-Posting-Host: dront.nada.kth.se
  10. Organization: Royal Institute of Technology, Stockholm, Sweden
  11. References: <5457@unixhub.SLAC.Stanford.EDU>
  12. Date: Fri, 11 Sep 1992 18:37:33 GMT
  13. Lines: 63
  14.  
  15. .EDU> streater@unixhub.SLAC.Stanford.EDU (Tim Streater) writes:
  16.  
  17.    I am thinking of writing Mac apps, and have a number of questions:
  18.  
  19.    1) Is MacsBug any use? I see version 6.2 sold with the Apple doccy in
  20.       bookstores, is there a later version? 6.2 appears to be 1990 vintage.
  21.  
  22. A must-have, unless you have TMON Pro which costs money.
  23. macsBug 6.2.2 is the latestm and is available for ftp from
  24. ftp.apple.com (without the dox)
  25.  
  26.    2) I assume that "Inside Mac" books are a prerequisite, is the new version
  27.       actually out yet, I looked in 2 technical bookstores in Palo Alto tonight
  28.       and only saw the older version.
  29.  
  30. Well, so buy the older ones. Or save the money and buy a CD
  31. ROM drive, and a $40 _develop_ subscription, which comes with
  32. a CD disc, which has both the older ones and many of the newer
  33. ones electronically.
  34.  
  35.    3) I want to be able to read disk blocks directly from within a file, and
  36.       furthermore to do it *asynchronously*. Are there primitives to do this?
  37.  
  38. Yup. PBReadAsync instead of PBReadSync. You could get a callback
  39. to a function, or poll a field to see if it's done; your choise.
  40.  
  41.    4) Sort of related to (3). Does it make any sense for me to be issuing SCSI
  42.       commands to the disk or is this merely what the driver does?
  43.  
  44. Leave it to the driver.
  45.  
  46.    5) Do I have access to and control over interrupts? If I have some code that
  47.       *has* to execute within a given time can I disable interrupts to ensure
  48.       that this happens (and not thereby miss interrupts).
  49.  
  50. Well, you are currently running in supervisor mode, so just move
  51. into the flags register. Unfortunately, that breaks under A/UX
  52. and system 8 and on RISC macs (right around the corner)
  53.  
  54.    6) I understand there are app builders that can set me up a skeleton app to
  55.       handle window redraws etc, any recommendations here? I plan to use
  56.       Think-C.
  57.  
  58. Think C comes with a good class library. Study it; use it.
  59.  
  60.    7) Can I do sound asynchronously? I have limited experience here, but it
  61.       seems that when the Mac plays a sound everything else stops.
  62.  
  63. Nah, that's just the SysBeep() sound. Async sounds aren't very hard
  64. at all on the mac!
  65.  
  66.    8) Er....
  67.  
  68. Lakerol?
  69.  
  70.    9) That's it.
  71.  
  72. Cheers,
  73.  
  74. -- 
  75. Jon W{tte, h+@nada.kth.se, Sweden, Phone +46-8-107069
  76.  
  77. Help eradicate FIDO-Net <-> Usenet gateways in our time!
  78.