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

 
 
Power Save Mac

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  
ADVERTISEMENT
Click Here
Volume Number:1
Issue Number:2
Column Tag:Letters to The Editor

Letters to The Editor

Dr. Dobbs Look-alike

Thank you for the sample issue, I’m sold. So start my subscription with the next issue. Please find enclosed my check for $24. Please keep up the good work, your current issue looks very much like the first few issues of “Dr. Dobbs”. I think you have great potential to make “MacTech” a very slick publication.

- Andrew A. Koran

Albuquerque, NM

Thanks! We want to be the Dr. Dobbs of the Mac world. -D.S.

Modula-2 Support?

I picked up a copy of the December issue of MacTech at the Apple booth at Comdex. Terrific! Please find enclosed a check in the amount of $24 for a one year subscription, to start with the January issue, if possible. I am anxiously awaiting the arrival of my copy of MacPascal and would like to eventually move to Modula-2. I would greatly appreciate your providing coverage of this language too, once it becomes available. Thanks for the much needed publication.

- James E. Miller

Marshall, VA

We’re considering it. -D.S.

ICON CONVERTER IN C

Here’s a program to convert icons to resource format written in Aztex C. It must be run from the Aztec C shell, as I don’t have the upgrade from Manx Software that allows programs to be runnable from the finder yet.

The problem with icon design is that the icon editor saves icons as 128 bytes of binary data, the bit pattern, which represents the icon, in the data fork of a file. The icon as a resource is 128 bytes of binary data plus header, in the resource fork. The “human readable” format is ascii hex in a format suitable for a resource compiler. The enclosed program in Aztec C, reads icons from a list of files, and outputs resource compiler input format. A typical use of the program would be: iconRes*.icon>icon.res which would read all the “.icon” files and write them to “icon.res”.

- David Dunham

Goleta, CA

#include <stdio.h>
#include <fcntl.h>
#define NEWLINE ‘ \n’

main(argc,argv) int argc; char *argv[]; {
 int    f, i;
 char bufr[128];
 int    fil;

 for (f=1; f < argc; f++) {
 fil = open (argv[f],O_RDONLY);
 read(fil,bufr,128);
printf(“    RSRC ICON,%d,32,\”%s\””,f,argv[f]);
 for (i=0; i<=127; i++) {
 if ((i % 16) == 0) fputs(“\n      HEX “,stdout);
if ((i % 4) == 0 && (i % 16) != 0) putchar(‘_’);
 puthex(bufr[i] & 0xFF);
 }
 puts(“ \n   ENDR”);
 close(fil);
 }
}
puthex(byte) int byte; {
 put_digit(byte / 16);
 put_digit(byte % 16);
}
put_digit(nibble) int nibble; {
 if (nibble < 10)
    putchar(‘0’ + nibble);
 else
    putchar(‘A’ + nibble - 10);  }

Comdex Report

from The Mousehole

A Mac BBS by Rusty Hodge

One thing that was very nice to see was a “almost” release version of Microsoft Word. It was fast, and I mean fast!

- Mac Scotty

The BIG news is from a company called General Computer. They announced a Mac mod called HyperDrive, which is a RAM expansion to 512K, and the installation of a 10 meg hard disk with the controller INSIDE THE MACINTOSH. This allows direct booting from the hard disk, free modem port, no serial I/O to slow things down, and no external box to carry around. Price is $2,795 on a 128K machine or $2195 on a 512K machine. They do the installation or you can buy a kit from your dealer.

Jazz from Lotus is supposed to ship March 1985. It’s excellent. Five applications can be open at once. Spreadsheets can be pasted to charts, which can be pasted to word processing. But the real killer is when the spread- sheet was updated, the chart in the word proc- essor changed! That’s the first time word processing has been dynamically linked to a spreadsheet.

- SILVER SEE



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.