home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / mac / system / 11813 < prev    next >
Encoding:
Internet Message Format  |  1992-09-11  |  3.3 KB

  1. Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!data.nas.nasa.gov!taligent!apple!minow
  2. From: minow@Apple.COM (Martin Minow)
  3. Newsgroups: comp.sys.mac.system
  4. Subject: Re: What do I need to develop Mac apps?
  5. Message-ID: <72280@apple.Apple.COM>
  6. Date: 11 Sep 92 22:24:32 GMT
  7. References: <5457@unixhub.SLAC.Stanford.EDU>
  8. Organization: Apple Computer Inc., Cupertino, CA
  9. Lines: 57
  10.  
  11. In article <5457@unixhub.SLAC.Stanford.EDU> streater@unixhub.SLAC.Stanford.EDU
  12. (Tim Streater) writes:
  13. >I am thinking of writing Mac apps, and have a number of questions:
  14. >
  15. >1) Is MacsBug any use? I see version 6.2 sold with the Apple doccy in
  16. >   bookstores, is there a later version? 6.2 appears to be 1990 vintage.
  17. The latest version I have (which might not be available outside Apple yet)
  18. is 6.2.2. It's on the September 92 developer's CD which will be mailed
  19. shortly.
  20. >
  21. >2) I assume that "Inside Mac" books are a prerequisite, is the new version
  22. >   actually out yet, I looked in 2 technical bookstores in Palo Alto tonight
  23. >   and only saw the older version.
  24. Both Stacey's and Computer Literacy in Cupertino have the first three
  25. volumes of the new series. If I were you, however, I'd get a good intro
  26. to Mac programming (Knaster and Rollin, for example) and use Think Reference
  27. for your "toolbox" reference.
  28. >
  29. >3) I want to be able to read disk blocks directly from within a file, and
  30. >   furthermore to do it *asynchronously*. Are there primitives to do this?
  31. The SCSI manager (and relevant parts of the operating system) is synchronous.
  32. If you need asychronous SCSI I/O, you'll probably have to use a 3rd party
  33. SCSI adaptor and driver software. Asychronous disk I/O is a non-trivial
  34. problem.
  35. >
  36. >4) Sort of related to (3). Does it make any sense for me to be issuing SCSI
  37. >   commands to the disk or is this merely what the driver does?
  38. I wouldn't do this if I were you: you lose the convenience of file I/O and
  39. volume partitioning. On the other hand, if you're trying to read a non-Mac
  40. SCSI drive, you're stuck.
  41. >
  42. >5) Do I have access to and control over interrupts? If I have some code that
  43. >   *has* to execute within a given time can I disable interrupts to ensure
  44. >   that this happens (and not thereby miss interrupts).
  45. Sort-of, but the Mac should not be regarded as a real-time operating system
  46. (i.e., it isn't RSX-11M). You should think through your application to
  47. see how you can avoid fine-grain real-time issues.
  48. >
  49. >6) I understand there are app builders that can set me up a skeleton app to
  50. >   handle window redraws etc, any recommendations here? I plan to use Think-C.
  51. Think C comes with a class library that simplifies application construction
  52. as it relieves you from a lot of work with the O.S. You might also find
  53. that AppMaker, Prototyper, or Marksman offer additional capabilities. You
  54. can also use Apple's MacApp, of course.
  55. >
  56. >7) Can I do sound asynchronously? I have limited experience here, but it seems
  57. >   that when the Mac plays a sound everything else stops.
  58. Yes. Read through comp.sys.mac.programming and look for anything written
  59. by Jim Reekes -- he's the Sound guru. Also, you should pull a copy of
  60. the Usenet Mac Programmer's Guide off of one of the archive sites; it has
  61. a lot of useful programming info.
  62. >
  63. >Thanks for any suggestions - Tim.
  64.  
  65. Martin Minow
  66. minow@apple.com
  67. The above does not represent the position of Apple Computer Inc.
  68.