MacTech Network:   MacForge.net  |  Computer Memory  |  Register Domains  |  Printer Supplies  |  Cables  |  iPod Deals  |  Mac Deals  |  Mac Book Shelf


  MacTech Magazine

The journal of Macintosh technology

 
 
Leopard Authorized Training and Exams

Magazine In Print
  About MacTech  
  Home Page  
  Subscribe  
  Archives DVD  
  Submit News  
  Submit a Tip!  
  Get a copy of MacTech RISK FREE  
Google
Entire Web
mactech.com
Mac Community
More...
MacTech Central
  by Category  
  by Company  
  by Product  
MacTech News
  MacTech News  
  Previous News  
  MacTech RSS  
Article Archives
  Show Indices  
  by Volume  
  by Author  
  Source Code FTP  
Inside MacTech
  Writer's Kit  
  Editorial Staff  
  Editorial Calendar  
  Back Issues  
  Advertising  
Contact Us
  Customer Service  
  MacTech Store  
  Legal/Disclaimers  
  Webmaster Feedback  

APPLE II Q&A

APPLE II DEVLELOPER TECHNICAL SUPPORT

Q How can I get back to my program from the Init version of GSBug?

A The new version of GSBug, available from APDA in a beta version, comes with an Init file which installs the debugger to be present in the background, invocable with the keystrokes control-command-option-Escape. The command to quit the application version of GSBug ("Q") does not work from the Init version; the correct command is "R" (for "resume"). If you break on a tool call, be sure to take tool breaks out before doing any tracing if you hope to not die a different horrible death than the one your application would normally have given you.

Q I've heard about a version of SANE for eight-bit Apple II computers, but I can't find it anywhere. Is it still sold?

A SANE is considered part of the System Software and is distributed by Apple's Software Licensing group. You may contact them at (408) 974-4667 or through AppleLink address SW.LICENSE. Although older versions of SANE were sold as part of Apple's old "WorkBench" series, the current version should be obtained from Software Licensing. Even if you own an older copy of SANE you wish to use in your program, it still must be licensed from Software Licensing before distributing it. SANE is built in to all IIgs and Macintosh computers.

Q What file type should I use for my program's files?

A Apple II Developer Technical Support assigns file type and auxiliary type combinations to developers by request. Apple II DTS must assign file types and auxiliary types, rather than arbitrate as Macintosh DTS does, since the range of Apple II file types is much more limited. Please refer to "About Apple II File Type Notes" (included on CD or available from APDA) for information on how to submit a request for an assignment, as well as for a complete listing of all currently assigned file type and auxiliary type assignments.

Q What is "FASTFONT" and how can I use it?

A FASTFONT is a new disk file for System Software 5.0. It contains a pre-shifted version of the ROM font, Shaston 8. QuickDraw will load FASTFONT from theFonts directory at QDStartUp time (if present) and use it for greatly increased text drawing speed. Currently, the System does not support different or multiple FastFonts, and no special work is needed by the application to take advantage of the present capability. Q What is ExpressLoad and how do I use it?

A ExpressLoad works with the System Loader to load specially prepared (or "Expressed") files much faster than the System Loader does. Files may be prepared to work with ExpressLoad by using the APW tool "Express", the MPW IIgs tool "ExpressIIgs", or a linker that can automatically create Expressed files. If your file is not Expressed, it will work just fine with System Software 5.0; it just won't load as fast as Expressed files will. Similarly, Expressed files will load properly when ExpressLoad is not present. There are, however, some considerations that should be made when working with Expressed files. These are detailed in the Apple IIgs Technical Note "ExpressLoad Philosophy".

Q My program uses option-key equivalents for certain functions, and they no longer work under System Software 5.0. How come?

A (This is the kind of specific question with lots of details that DTS really likes.) System Software 5.0 includes a new key translation feature very similar to that found on the Macintosh. The feature allows special characters to be typed by pressing option-key keystokes. (For example, the ƒ character can be generated by typing option-f.) This will interfere with programs that already use option-key equivalents. Your program will not get the keydown event for option-f; you'll get an unmodified keydown event for the ASCII code for "ƒ". This feature may be controlled through new Event Manager calls, and may also be deactivated by using the "Translation" option of the "Alphabet" CDev in the Control Panel NDA.

Q I noticed the Finder is now using application-specific strings for the "kind" of a file. How can I use this capability?

A The Finder on System Software 5.0 uses a new data structure known as a File Type Descriptor to allow a string to be matched with a particular file type and auxiliary type. Like icon files, multiple File Type Descriptor files may be used, so strings may be "added" to the Finder's vocabulary. Details on the data structure and the Finder's implementation are in Apple II File Type Note for FileType $42.



Click here to find out more about our best subscription bundle deal ever!
2 years of the magazine, and the all new MacTech DVD ... at 70% off!



Click on the cover to
see this month's issue!

TRIAL SUBSCRIPTION
Get a RISK-FREE subscription to the only technical Mac magazine!
 
 


MacTech Magazine. www.mactech.com
Toll Free 877-MACTECH, Outside US/Canada: 805-494-9797

Register Low Cost (ok dirt cheap!) Domain Names in the MacTech Domain Store. As low as $1.99!
Save on brand compatible and name brank ink jet and laser supplies.
Save on long distance * Upgrade your Computer
Movies with No Late Fees!

See local info about Westlake Village
SJ * BRJ * BJ * OJ * NITS
Staff Site Links



All contents are Copyright 1984-2007 by Xplain Corporation. All rights reserved.

MacTech is a registered trademark of Xplain Corporation. Xplain, Video Depot, Movie Depot, Palm OS Depot, Explain It, MacDev, MacDev-1, THINK Reference, NetProfessional, NetProLive, JavaTech, WebTech, BeTech, LinuxTech, Apple Expo, MacTech Central and the MacTutorMan are trademarks or service marks of Xplain Corporation. Sprocket is a registered trademark of eSprocket Corporation. Other trademarks and copyrights appearing in this printing or software remain the property of their respective holders.