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