Info-Mac-Request@SUMEX-AIM.STANFORD.EDU (The Moderators) (05/28/90)
Info-Mac Digest Mon, 28 May 90 Volume 8 : Issue 105 Today's Topics: [*] Mouse II INIT/cdev [*] Posted: Mickey Mouse [*] SendPS 2.0 Fixed ADB, The Extended Keyboard, and lighting up those lights! Arkinoid II Drawing Icons Feedback on ORACLE for Macintosh Hypercard 2.0 Macintosh LocalTalk/Ethernet & Mail Microphone V. 3.0 and Kermit Murph's VAPORWARE Column for June 1990 My vote for removing Anonimity.hqx NewPtr vs. malloc Timing Your Info-Mac Moderators are Bill Lipa, Lance Nakata, and Jon Pugh. The Info-Mac archives are available (by using FTP, account anonymous, any password) in the info-mac directory on sumex-aim.stanford.edu [36.44.0.6]. Help files are in /info-mac/help. Indices are in /info-mac/help/recent-files.txt and /info-mac/help/all-files.txt. Please send articles and binaries to info-mac@sumex-aim.stanford.edu. Send administrative mail to info-mac-request@sumex-aim.stanford.edu. ---------------------------------------------------------------------- Date: Tue, 1 May 90 11:57:37 EDT From: David Escalante <descalan@bbn.com> Subject: [*] Mouse II INIT/cdev Mouse II is an INIT/cdev that doubles the tracking rate of ADB mice. It does NOT work on non-ADB machines (like the Plus). Downloaded from GEnie. -------- David Escalante Internet: descalante@bbn.com (617)873-1814 Applelink: N0608 Room 20/807 UUCP: {backbone}!bbn!descalan [Archived as /info-mac/cdev/mouse-ii.hqx; 7K] ------------------------------ Date: Mon, 30 Apr 90 22:10 PST From: Tigger <GREG@pomona.claremont.edu> Subject: [*] Posted: Mickey Mouse Due to almost-overwhelming response (twenty five and counting), here are the two best of the Mickey the Sorcerer images that I received >From my recent inquiry to Info-Mac in a BinHexed StuffIt 1.5.1 archive. One is a GIF file, the other in PICT(2?). There are a few differences between the two versions. There is some variation in the colors, and there is some grass in the PICT version. Also, the PICT version covers more screen area, and so is more suitable for a startup screen or desktop picture. Thanks again to all those who responded! TTFN! Greg Orman greg@pomona.claremont.edu greg@pomona.bitnet [Archived as /info-mac/art/mickey-the-sorcerer.hqx; 34K] ------------------------------ Date: Sun, 29 Apr 90 16:32:38 PDT From: Les_Ferch@mtsg.ubc.ca Subject: [*] SendPS 2.0 Fixed If you have had trouble with the SendPS program losing its icon, you're not alone. It seems either the author or his compiler made a mistake in creating the BNDL, FREF, and ICN# resources. DeskCheck gives the following messages when it checks SendPS 1.2 or SendPS 2.0: The signature resource listed in BNDL 256, ASFD 0, is missing. BNDL 256 refers to resource ICN# 257, which is missing. The OwnerName in the bundle doesn't match the file's creator which which is 'ASPS'. Fixing the resources is a simple matter, but I have uploaded a new version to save everyone else the trouble. [Archived as /info-mac/util/sendps-20.hqx; 53K] ------------------------------ Date: Sat, 26 May 90 13:44 EDT From: WATTS@urhep Subject: ADB, The Extended Keyboard, and lighting up those lights! Hi y'all, A few issuse back some one asked how to turn on and off those lights on the Apple Extended keyboard. Unfortunately, I have lost the guys address and name, so... Check out the Spring 1990 issue of MacTech Quarterly, page 86, the article by Malcolm H. Teas called "Apple Desktop for the Hacker, So how do you use those lights on the Keyboard?" If you can't get a hold of the mag, send me a self-addressed, stamped, etc. envelope (at the below address), and I will see what I can do for you (the article is about 5 pages long). Gordon. BITNET: WATTS@UORHEP INTERNET: gwatts@ruthep.rutgers.edu USMAIL: Gordon Watts Dept. of Physics and Astronomy University of Rochester Rochester, NY 14627-0011 ------------------------------ Date: 28 May 90 04:57:01 GMT From: bradu@gnh-applesauce.cts.com (Bradley Unger) Subject: Arkinoid II Arkionoid II will no longer be in production by its manufacturer. It's a great game for the IIGS; however, I was wondering why they would cancel such a great game for the Macintosh? Does anybody out there know? Bradley Unger Co-Sysop, AppleSauce BBS [212] 721-4122 Proline: bradu@gnh-applesauce UUCP: !crash!pnet01!gnh-applesauce!bradu INET: bradu@gnh-applesauce.cts.com ARPA: crash!pnet01!gnh-applesauce!bradu@nosc.mil ------------------------------ Date: 27 May 90 08:00:59 GMT From: rdclark@apple.com (Richard Clark) Subject: Drawing Icons David Vernon <B645ZAB@utarlg.arl.utexas.edu> writes: > I have read Tech Note #55 concerning Icon List resources (ICN#'s) >and how the Finder draws them and I have hacked up some C that does this in >the form of a TCL Icon Class. The one thing that this Tech Note does not >mention is how to get the outline of the mask (or whatever it actually is) >that is used when the Icon is being dragged around by the mouse. Have you looked at the CalcMask() procedure (IM IV-24)?? I think this could do what you want. Otherwise, it shouldn't be too hard to write a "brute force" algorithm which looks for light<->dark transitions and sets a bit in the "mask" image. ...Richard -- -----------------------------+----------------------------------------------- Richard Clark | "If you don't know where you're going, Instructor/Designer | don't go there" -- Sybalski's Law Apple Developer University +----------------------------------------------- AppleLink, GEnie, Delphi, MCI, Internet: rdclark CI$: 71401, 2071 ------------------------------ Date: Sun, 27 May 90 11:09:25 HAE From: Carlos Reed <CLRPFSE%LAVALVM1.BITNET@forsythe.stanford.edu> Subject: Feedback on ORACLE for Macintosh Hi Nets! At the Agricultural economics dept. WE are working on a large data base >From the F.A.O. (Food Agricultural Organisation). WE want compatibility on Macs/PCs & IBM 3081,clear documenatation, statisticals functions and very nice interface. What about ORACLE, is it a good choice? All your comments will be very useful ? Thanks for your help! Carlos Reed QUBEC,CANADA CLRPFSE 1 ------------------------------ Date: 27 May 90 07:54:57 GMT From: rdclark@apple.com (Richard Clark) Subject: Hypercard 2.0 [misc. questions about System 7 and HyperCard 2.0's scheduling deleted] The two projects are seperate projects, with seperate engineering teams and seperate schedules. I don't think you can make any assumptions about how the two schedules are related, if at all. Besides, I've always found that depending on the schedule of a product which is under development is an exercise in frustration, at best. ...Richard -- -----------------------------+----------------------------------------------- Richard Clark | "If you don't know where you're going, Instructor/Designer | don't go there" -- Sybalski's Law Apple Developer University +----------------------------------------------- AppleLink, GEnie, Delphi, MCI, Internet: rdclark CI$: 71401, 2071 ------------------------------ Date: Thu, 24 May 90 16:05:02 EDT From: CON-ETDL-COM <contr003@monmouth-emh2.army.mil> Subject: Macintosh LocalTalk/Ethernet & Mail Macintosh & Mail: Thanks for all of the information I have been receiving about my Macintosh & UNIX mail question. Aren't nets wonderful? Keep the information coming my way please, I'm not done yet. Unfortunately a Kurt Baumann provided me with the following message, but I cannot reach him from my host. Please post this message in the hopes that he will read it and contact me. Thanks for the information. = =Received: from uunet.uu.net by MONMOUTH-EMH2.ARMY.MIL id aa05878; = 24 May 90 15:40 EDT =Received: by uunet.uu.net (5.61/1.14) with UUCP = id AA03766; Thu, 24 May 90 15:03:47 -0400 =Received: from macaw.intercon.com (macaw) by intercon.com (4.20/1.900112) = id AA18276; Thu, 24 May 90 15:05:48 edt =Date: Thu, 24 May 90 15:05:48 edt =Message-Id: <9005241905.AA18276@intercon.com> =From: Kurt Baumann <kdb@intercon.com> =To: contr003@monmouth-emh2.army.mil =Subject: Mail and Mac and InterNet... = =Hello, = =We sell a package that allows Macs to communicate via TCP/IP with the rest =of the world. Mail, news, ftp, telnet, etc... For more information please =drop me a line and I will FAX it to you, or drop me an address and I will =mail some information to you. = =It will run over LocalTalk, or EtherNet uses either a builtin driver or Apple's =MacTCP. Telnet does VT241, or TN3270 emulation. Mail will work via SMTP/POP. =News can be read via NNTP. Supports SNMP as well as much more. Hope to =hear from you. = =Kurt = Unfortunately, Kurt, I cannot reach you from this host, so please respond via voice or postal service. Yes, please send via the medium of your choice any and all information about your product(s) pertaining to the Macintosh/Mail question. Hard copy would be appreciated, as I'll invariably have to produce some form of propaganda to the lab director in question, but FAX copies and electronic copies are just as welcome (and get here faster). George ============================================================================ George F Tempel ................... contr003@monmouth-emh2.army.mil Vitronics, Inc | (134.80.0.1) 15 Meridian Road | "The sun's going down." Eatontown, NJ 07724 | "No, you're confused, the horizon's 908-542-0600 | moving up!" 908-542-1947 FAX ============================================================================ [end of message] ------------------------------ Date: Sat, 26 May 90 16:27:12 AST From: JOAO CANDIDO PORTINARI <USERJCP%LNCC.BITNET@forsythe.stanford.edu> Subject: Microphone V. 3.0 and Kermit After I received the MicroPhone II version 3.0 upgrade, I am no longer able to use Kermit to down/upload files from my bitnet node (actually, two nodes: one running MTS on an IBM, the other a VAX). I have tried changing all settings, etc., with no avail. However, I ahd no trouble at all using a PC compatible running ProComm at the other end (connecting the Mac to it through a null modem cable). I would appreciate if any of the net Kermit gurus could help me with this, as I have reached the end of my resources trying to figure out what is happening. Thanks in advance. Joao C. Portinari Projeto Portinari - PUC Rua Marques Sao Vicente 225 Rio de Janeiro, RJ 22453 Brazil Tel: 055-21-529-9364 FAX: 055-21-259-9697 E-Mail: pucrjpp@brfapesp.bitnet ------------------------------ Date: Sun, 27 May 1990 23:30:00 EDT From: Murph Sewall <Sewall%UConnVM.BITNET@forsythe.stanford.edu> Subject: Murph's VAPORWARE Column for June 1990 First (with your indulgence), two administrative matters. 1) I've received a couple of pieces of mail expressing some concern about the "off-the-wall" nature of occasional items in the Vaporware column. The gist of these communications is that frivolous items may mislead readers who take the column seriously. The notion of taking "vaporware" seriously seems incongruent to me. Anyway - *** DISCLAIMER *** You get what you pay for ;-) I do this column for *free* While it is true that, as a marketing academic, I have a professional in the development and marketing of innovation, the column is "extracurricular" (more hobby than profession). The sources are cited; however, InfoWorld, PC Week, and other publications have their own 'rumor' columns, and a significant fraction of what appears in the Vaporware column is gleaned, in whole or in part, from those columns (generally, if an item says that a company or named company representative "announced" or "was quoted as saying," then the source is a news item). I'm told that small high-tech firms use the column in-lieu of, or as a supplement to, a "clipping service." I have no problem with that use, I even find it amusing; so long as everyone remembers that the column is strictly *** READER BEWARE *** 2) I have a strong preference for using existing mailing lists and news services as a distribution mechanism. Considerable attention has been paid to making list distribution as efficient as possible. There are some readers who have a special need (newsletter editors, for example) to receive the column directly. The number of special cases has reached a point where it makes sense to use the DISTRIBUTE capability of the BITNET LISTSERV system. This is the first column using DISTRIBUTE. I continue to prefer to use existing lists to distribute to most readers because a) the efficiencies of DISTRIBUTE apply only to BITNET and b) procedures for dealing with subscribing/unsubscribing and delivery failures for lists are well developed. If you want to know how to use DISTRIBUTE to deliver a 'list' for you, email the command INFO DIST to any handy LISTSERV. There's an easy to follow sample at the end of the file which LISTSERV will send you. The LISTSERV doesn't have to be local (I'm using the one at YALEVM -- the nearest one between UCONNVM and the Internet gateway at CUNYVM. ------------------------------------------------------------------------ VAPORWARE Murphy Sewall From the June 1990 APPLE PULP H.U.G.E. Apple Club (E. Hartford) News Letter $15/year P.O. Box 18027 East Hartford, CT 06118 Call the "Bit Bucket" (203) 569-8739 Permission granted to copy with the above citation Apple IIgs - Mac Merger? Apple is beta testing a number of products intended to, eventually, make the distinction between the Macintosh and the older II line functionally irrelevant. IIgs Operating System 6 and IIgs HyperCard (yes, they really are in beta test) will make the IIgs appear more Mac-like than ever. A "Multi-Finder IIgs" which allows hard disk space to be used as virtual RAM also is nearing marketable shape. Future Apple computers are likely to offer compatibility with older software by using the technology of the //e on a chip which manages the I/O and video on the Mac IIfx (Did everyone catch John Sculley's reference to the "Macintosh IIgs" during Apple Vision 90's for educators on April 24)? Apple has, but has not committed to market, a Mac Plus board for the IIgs as well as the 16 MHz 68000 "under $2,000" color (under $1,500 black and white) Mac SE compatible with Apple II coprocessor. An Apple II board for the Mac II family also is in beta test. Apple executives may still be trying to decide which options to offer and when to announce them. Sources indicate they can only continue to hum a tune which sounds vaguely like "September Song." - found in my electronic mailbox Not PCjr. In August, IBM will once again attempt to penetrate the home market. This time Big Blue will endeavor to avoid a repeat of the PCjr failure by offering practical power at street prices as low as $1,000. MS-DOS, Microsoft Works, and Prodigy software will be bundled with the 10 MHz 80286-based AT-bus "Bluegrass" desktop (see last July's column) from their typewriter division. The list price will be between $1,300 and $2,000 depending on configuration. The display will support VGA; a 1.44 Mbyte 3.5 inch drive and 640K of RAM are standard. There are no expansion slots, but options do include a built-in 2400 baud modem, a 30 Mbyte hard disk, and a mouse. - PC Week 23 April Lap Size LapMac. Apple and Toshiba are working on a four to six pound Macintosh laptop to replace the current overpriced Mac Anvil, er Portable. - InfoWorld 23 April Zip's IIgs Accelerator. Zip Technology is beta testing a 12 MHz accelerator for the Apple IIgs which contains only 22 chips (compared to more than 200 on the older, slower Applied Engineering accelerator). Alas, the problem is that although the hardware zips, marketing doesn't. It may be some time before Zip ships. - found in my electronic mailbox Oops! Several readers reacted to the "reprogrammable microcode" item in last month's column. InfoWorld's Cringely spent two weeks apologizing for having been sucked in by a prankster ("...and there's this bridge in Brooklyn"). This column uncritically passed along the same bogus story ("Don't believe anything you read and only half of what you see" - Will Rogers). However, future models of the RS/6000 will be made faster using more conventional approaches. IBM has a 70 MHz model in their lab at Austin. Big Blue also has a 10 pound 80386 laptop being readied for fall Comdex. - InfoWorld 30 April and 14 May New NeXT. Steve Jobs says that NeXT will offer a Motorola 68040 based workstation with a very high resolution color monitor and at least six new applications by Christmas. Among the workstation's features will be built-in modem and fax capabilities. Mr. Jobs also said that owners of the present 68030 model will be able to upgrade motherboards for $1,495. Motorola claims the 25 MHz 68040 at 20 MIPS is 10 time faster than the 68030 and outperforms the 25 MHz Intel i486. - InfoWorld and PC Week 14 May Faster i486 Workstation. In an effort to become a serious player in the workstation and server markets, NCR has announced a pair of 33 MHz i486 MCA bus computers for shipment in July. A 27 MIP desktop with four MCA slots, 4 Mbytes of RAM, and Super VGA video will retail for $14,195. - PC Week 14 May Laser GS. Video Technologies is telling dealers in Canada that their 10 MHz Apple IIgs clone (see last September's column) which was shown to developers last July will be for sale by Christmas. - found in my electronic mailbox SPARC Laptop. Toshiba introduced an 18 pound Sparc-Station laptop to the Japanese market last month. A U.S. version is expected to ship early next year. The Sparc LT is built around a 13 MIP, 20 MHz SPARC CPU made by Cypress Semiconductor and has 8 Mbytes of RAM expandable to 40 Mbytes. The Japanese version with a 1.44 Mbyte floppy and a 180 Mbyte hard drive retails for $13,200. - InfoWorld 14 May Look Ma, No Boot Disk. Televideo plans to offer a PC this summer with DOS 4.0 and Windows 3.0 in ROM. - InfoWorld 7 May New Floppy Drive "Standard?" Last September, Phil Hage, a spokesman for 3M Corporation, said that the company would not enter the 4 Mbyte floppy disk market "until it is clear from IBM that there is a viable market." Does April's introduction of a 4 Mbyte 3.5 inch disk drive by 3M indicate PS/2's will soon be shipped with the new format? - PC Week 30 April Multiple Emulations. A reader of last month's column's touting of A/UX's ability to run UNIX, Macintosh, and MS-DOS software noted that the the new Amiga 3000 (see last February's column) will be able to run UNIX, AmigaOS, and MS-DOS. A Macintosh board is available for the Amiga but requires Mac ROM chips which are not easy to come by. Apparently, UNIX for the Amiga has been delayed until fall. - found in my electronic mailbox Windows Applications Under OS/2. Steve Ballmer, Microsoft's senior vice president for systems software, has committed the company to binary compatibility between future releases of Windows and OS/2. Plans call for OS/2 to become a superset of Windows. In the meantime, Microsoft offers "Porthole," a software migration kit which remaps Windows program calls to comparable Presentation Manager calls. - InfoWorld 7 May PostScript for the Masses. Adobe Systems plans a major rewrite of its page description language and a family of inexpensive PostScript controllers. Pat Marriott, the firm's director of marketing, says "within 18 months, Adobe's goal is to offer OEMs a range of controllers to bring users PostScript printers for under $1,000." Meanwhile, Apple plans to hold increase the performance of its LaserWriter line by offering a faster version of the IINTX within a few weeks. - PC Week 7 and 14 May Colorized Scanning. This August, Asuka Technologies will ship a discount coupon for Photopress software along with its new hand held scanner for the Macintosh. Photopress can "colorize" gray-scale images by substituting colors for specific shades of gray. The Asuka Model 256G scanner will retail for $499 (Nubus) or $599 (SCSI). The amount of discount offered for the $195 Photopress software hasn't been decided. - InfoWorld 7 May Mac System 7.0 Delayed Until Year's End Roger Heinen, Apple's vice president of software development, has reversed earlier assertions that the new Macintosh operating system announced last year is "on schedule" (see last month's column). Developers were told last month that "by New Year's, almost all of our users should have an opportunity to upgrade to System 7.0." Tony Meadows, former director of a Northern California Mac developers group translated "by New Year's" as meaning next January's MacWorld. A key feature of System 7 which Apple wants all developers to use is a set of application standards referred to as Interapplication Communication (IAC). IAC is designed for seamless communication among applications which should make it easier to build hybrid applications which collaborate with one another. - InfoWorld 14 May New HyperCard. HyperCard 2.0, a major rewrite, will be announced on June 26 and will ship with all Macs starting in July. Version 2.0 features variable card sizes, multiple windows, and a "style text" feature compatible with True Type, better printing capabilities, and enhanced HyperTalk. Version 2.1 will ship with System 7.0 and will offer Apple Events scripting and Mac Apps via HyperTalk. - InfoWorld 14 May 1-2-3 For Windows. Lotus has announced an intention to deliver a 1-2-3 product for Microsoft Windows 3.0 which will offer the core spreadsheet functions of 1-2-3 version 3.0 along with the look and feel of the 1-2-3/G Presentation Manager version. In the interim, Lotus plans to ship version 3.1 during the third quarter. The update will incorporate PC Publishing's Impress program to provide WYSIWYG graphics publishing and drawing features. - PC Week 7 and 14 May Norton for UNIX. Norton's popular utilities which recently became available for the Macintosh are now migrating to the UNIX environment. The utilities have been announced for Interactive Systems Corporation's Unix System V/386 Release 3.2. By fall, Norton for UNIX will be ported to Sun OS and Hewlett-Packard's HP 9000 Model 300 line. - InfoWorld 7 May Flash in the Pan. Don't expect any upgrades of bug fixes for Flash, Beagle's only Macintosh product. The only Mac programmer on Beagle's staff has left to work on Photo Shop for Adobe Systems (said to be an improved version of Pixel Paint Professional). Flash's future is limited anyway because Macintosh System 7.0 will offer it's major functions. - found in my electronic mailbox Upgrades One of These Days. dBase IV version 1.1, the alleged "bug fix," will appear this month and will still have bugs in it. Xyquest, which had announced an upgrade of Xywrite for the first quarter 1990 (did you miss it?), will delay shipping until late summer or early fall in order to add more features. Software Publishing plans to unveil two new DOS versions and an OS/2 Presentation Manager version of its popular Harvard Graphics by the end of the year. Harvard Graphics 2.3, an update to version 2.12, is expected in late June. Version 3.0 is slated for release in the fourth quarter along with the OS/2 PM version. Word Perfect Corporation officials have confirmed that a version of their popular word processor is forthcoming for the Windows 3.0 environment. While there is no definite shipment date, managers said they expect to deliver the Windows version within six months of the release of the forthcoming OS/2 Presentation Manager product. Word Perfect also is working on a scaled-down version of Word Perfect 5.1 called Letter Perfect for laptop users and others who don't need all the features of version 5.1 - InfoWorld 23 and 30 April and PC Week 7 May /s Murph <Sewall%UConnVM.BITNET@CUNYVM.CUNY.Edu> [Internet] or ...{psuvax1 or mcvax}!uconnvm.bitnet!sewall [UUCP] + Standard disclaimer applies ("The opinions expressed are my own" etc.) ------------------------------ Date: 25 May 90 17:58:00 EST From: "Jeffrey Templon" <templon@venus.iucf.indiana.edu> Subject: My vote for removing Anonimity.hqx Hi All, Please forgive me if I misunderstand the use of the recently posted Anonimity program. My understanding is that it is written solely to remove registration or personalization info from a program. An example is my (bought and paid for) copy of VersaTerm, which says 'Jeff Templon' when I launch it; if I gave someone a copy, (s)he could use Anonimity to remove this. If this is the correct intent, I request immediate removal of this program from the archives!! The sole purpose of this is, as the name suggests, to help program-pirates save face by not having someone else's name come up every time they launch their illegal copies. I wonder will this group begin to make virus software available for anonymous ftp soon!! Posting this sort of stuff, in my mind, is an affirmation of program pirating. I suggest you send the program back to the poster with a suggestion that instead of writing software to help pirate other's programs, (s)he write some useful software that is free and thus does not NEED to be pirated. Jeff (ps the stuff expressed above is solely my opinion.) [I can think of a few legitimate reasons why one might want to remove the personalized name. The person who registered it for your work group might leave the company. You might sell the program to someone else (this, I believe, is legal if you do not keep a copy). You might misspell your name. So long as there is a legitimate purpose for the software I think it should stay in the archive. -Bill] ------------------------------ Date: Sat, 26 May 90 13:21:23 PDT From: anders@penguin.verity.com (Anders Wallgren x7652) Subject: NewPtr vs. malloc "When you request some memory from malloc, it rounds the size up to the nearest power of 2 (8-byte minimum, ID checked at the door). If you ask for more than 2048 bytes, malloc just calls NewPtr to allocate the memory, and DisposPtr to get rid of it. Otherwise, malloc checks its internal free list looking for blocks of the specified size. If it doesn't find any blocks of that size, it allocates a chunk of memory with NewPtr big enough to hold 2K worth of blocks (plus 2 bytes overhead per block), and adds the new blocks to the free list for that size. It then returns you the first block off of the free list. "When you dispose of memory with the free routine, it looks at the block header to determine which free list to put the block in, and inserts it into the list (sorted by block address to allow for more intelligent freestore management in the future). Here's what a small free list looks like: "MPW (and other Mac development systems) provides versions of these routines to make life easier for people who are porting code from UNIX systems (or MS-DOS, OS/2, etc.). However, since the malloc routine calls NewPtr rather indiscrimately, it can cause blocks to be allocated in very inconvenient places inside your heap, and once these blocks have been allocated, they are never disposed of. "In just one possible scenario, the user opens a large document with your program SuperOOPWrite and creates 1000 standard C++ objects (each allocated by malloc) to represent the elements of the document, each about 100 bytes long. malloc asks NewPtr to create 63 blocks of memory (about 2K each), and you have about 100K less free memory than you used to. Now the user closes the document, and you dutifully dispose of all of your objects. Guess what? You still have 100K less memory available to you as far as the Mac's Memory Manager is concerned, your heap is chock full of 2K nonrelocatable blocks, and you don't have any way to preflight memory for the next time the user wants to open a document. "By the way, if this algorithm sounds familiar to you, it's because the MPW code is based on a public domain version of malloc written by Chris Kingsley." ---From "Using C++ Objects in a Handle-Based World," page 120 Anders Wallgren Verity, Inc. anders@verity.com ------------------------------ Date: Fri, 25 May 90 15:28 MDT From: Bernie <BSWieser%UNCAMULT.BITNET@forsythe.stanford.edu> Subject: Timing Greetings net-people. I am currently working on a project which needs accurate timing, and it looks like counting ticks (about 16ms give or take VBL/IRQ stuff) is a bit too shakey. Does anyone know of/have timing routines which can accurately wait some period of time (in ms)? I have heard that clocking video refresh alone is good, but then different II monitor cards refresh at different rates (?). Thanks in advance to anyone who replies. Bernie Wieser Dept. of Psychology University of Calgary (BSWieser@UNCAMULT.BITNET) ------------------------------ End of Info-Mac Digest ******************************