info-mac-request@SUMEX-AIM.STANFORD.EDU (The Moderators) (01/28/91)
Info-Mac Digest Sun, 27 Jan 91 Volume 9 : Issue 20 Today's Topics: Accelerating the IIci Fedit/Script font/close windows on start up flaming on fonts Hierarchical menus How to use Monaco 6 font? IBM files w/Mac I don't like MacMoney... Info-Mac Digest V9 #19 Inside Mac Inside Mac queries Kodak Diconix M150 printer large system memory (2 msgs) Mac 128K error message? Mac Greek O.S. System memory-management-fix INIT try this memory-manager-init memory-managment-fix INIT problems (2 msgs) Mice and IIsi, SAS packages MM Init My request for an Internet Address of yesterday. No Printing in Draft Mode slow MacIIsi !?! Support software via anonymous FTP from Apple Co. Where's FreshStart Writing XCMDs with MPW C++ 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: Wed, 23 Jan 91 16:03:21 PLT From: Olin Balch <07902743@wsuvm1.csc.wsu.edu> Subject: Accelerating the IIci I am the happy owner of a IIci and interested in complex graphics illustrating force on a horse's foot via instrumented shoes. I would like to increase my speed and add the possibility of video display either in hypercard, supercard, or ?. I am thinking of purchasing a daystar 50 MHz PowerCache IIci, RasterOps 364 video card, and increasing my ram to 8 from my present 4. I would appreciate any advice from individuals who have used daystar accelerators. Will my IIci with 50 MHz accelerator be faster than the "wicked" fx? Also do I need math co-processor? Anything else, please? ------------------------------ Date: Thu, 24 Jan 91 07:14:12 EST From: Pete Tamas <V5296E%TEMPLEVM.BITNET@ricevm1.rice.edu> Subject: Fedit/Script font/close windows on start up Can anyone tell me how to get Fedit? 2) There is a mail order company that has a periodic disk mailing you subscribe to. I forget the name of the company, but they probably advertise in MacUser, etc. I have gotten several of their junk mailings. I purchased one of their disk w/ FreshScript on it for about $35. It's a good postscript script font. Does someone know the vendor's name? 3) Finally, there is a commercial utility called Secure Init which will auto- matically close all windows on start-up. It will also "refresh" files of your choosing. For example, if people keep changing Suitcase setting (such as clos- ing suitcases you want open), you can set Secure Init to refresh the suitcase cdev. Secure Init will make an invisible backup of this file and replace the copy in the System folder with a copy of the backup, therefor, resetting the cdev to your original settings. --Pete Acknowledge-To: <V5296E@TEMPLEVM> ------------------------------ Date: Thu, 24 Jan 91 11:30:40 EST From: saper@norway.biop.umich.edu (Mark A. Saper (313)764-3353) Subject: flaming on fonts Though I use the Mac alot, I sometimes wonder if I really like it. I find the typical screen fonts quite uncomfortable to read compared to say the screen fonts on an SGI Iris, or a conventional terminal. I think Geneva is probably the most readable, so sometimes I use Geneva to edit in Word and then reformat later with the desired fonts. Will the fonts on System 7 be any easier to read? Will they be antialiased? Thanks, Mark Saper ------------------------------ Date: Thu, 24 Jan 91 09:35 EDT From: <PJORGENS%COLGATEU.BITNET@forsythe.stanford.edu> (Peter Jorgensen) Subject: Hierarchical menus Z.Wang wonders (vol 9, issue 19) how to create hierarchical menus. The easiest way to make hierarchical menus in ResEdit is to install the Menu template resources that are in the Archives. I believe the file is called "ResMenu-12.HQX" A common mistake people trying to do it according to the Inside Mac information is not realizing that "$1B" represent a single character with ASCII code 1B(hex) or 27(dec). The id of the submenu is also ONE CHARACTER (e.g. "Z") which would correspond to an id of 90 (Z = ASCII 90). Therefore, your submenu ids must fall in the range of 1-255 (some values MAY BE RESERVED). Peter Jorgensen Microcomputer specialist, VAX consultant Colgate University - Hamilton, NY 13346 BITNET - PJORGENSEN@COLGATEU tel - 315-824-7742 AppleLink - U0523 ------------------------------ Date: Thu, 24 Jan 91 00:48:09 PST From: REM@suwatson.stanford.edu Subject: How to use Monaco 6 font? I downloaded the Monaco 6 font and used Font/DA mover to install it in my System file, but most applications don't show it in their font size menus. So far HyperCard is the only application I've found that recognizes it is present and lets me use it. The other applications seem to have a fixed menu of sizes 9 10 12 14 18 20 and 24 or the like. For such applications, is there any general trick to allow the 6 point Monaco font to be used? ------------------------------ Date: Thu, 24 Jan 91 08:27:14 EST From: Murph Sewall <SEWALL%UCONNVM.BITNET@forsythe.stanford.edu> Subject: IBM files w/Mac On Wed, 23 Jan 91 10:42 CST you said: >How do you use a Superdrive connected to a mac to read IBM files? Do you have >to have a software package? I popped an IBM disk into a mac superdrive and it >would not recognize the disk. Launch Apple File Exchange; wait until its dialog box appears, THEN pot the MeSsy DOS disk into the drive. If you're copying ASCII (text) files, be sure and check the text translate item in the MS DOS-->Mac menu, otherwise AFE will use "default" (8-bit unaltered) translation and you'll have all those superfluous, unwanted MeSsy DOS linefeed characters. If you have more than the occasional need to read MeSsy DOS disks, I highly recommend AccessPC (an cdev from the same folks who produce SoftPC). There's another alternative called DOS Mount which I've heard of but have no first hand experience with. AccessPC really does make MeSsy DOS disks appear to be the same as a Mac disk (in fact I sometimes confuse myself, because the only really obvious way to tell the formats apart is when PC Tools FileEdit shows a desktop file of only 1.5K :-) Using AccessPC and Loodles I can even write disk labels for my colleagues "old fashioned" disks :-) /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: Wed, 23 Jan 91 23:19:33 EST From: abboud%cuavax.dnet@netcon.cua.edu (Hisham) Subject: I don't like MacMoney... Rob Coben writes: > Try MacMoney. You'll love it. I have been using it for 2+ years without > a problem. They have upgraded it twice, with another upgrade in the works. --flame on-- I dislike MacMoney. I've been using the Mac for seven years now, MacMoney for almost 4 years, and its user interface stinks. I does what it claims, but you gotta click a million times before you can do something. It's too procedural, a la MS-DOS. As a matter of fact, I have yet to see an all-Mac personal finance program. Most or all the ones currently on the market have been ported >From MS-DOS or the Apple ][. --flame off-- Let's hope the upgrade that Mr. Coben is referring to will fix some of these problems. Hisham. Hisham A. Abboud Post Office Box 29375 Washington, D.C. 20017 Bitnet: ABBOUD@CUA | Ain't got no quote today! Internet: ABBOUD%CUAVAX.DNET@NETCON.CUA.EDU | or ABBOUD%CUAVAX.DNET@192.31.193.2 | ------------------------------ Date: 24 Jan 91 17:51:22 GMT From: bin@primate.wisc.edu (Brain in Neutral) Subject: Info-Mac Digest V9 #19 |> > Actually, I'm left handed and find that I work much better with the |> > mouse in the standard right hand position. Why? Because it keeps my |> > left hand free for writing. I mouse much better with my right hand |> > than with my left, and I'm EXTREMELY left handed. |> |> I'm left handed, too, and I agree with Keith. On odd occasions I consider |> left mousing, but it feels strange, so I've never stuck with it. My |> daughter is a leftie as well and has never raised the issue; I gather |> it has never concerned her. | | Maybe you're not a true lefty (with verbal orientation on the | left brain and spatial orientation on the right). If you mouse | with your right hand, and your spatial functions are on the | right, the signals have to cross the corpus callosum. Me, I | can't mouse right to save my soul. Fie on you for even suggesting it. :-) I'm so left-handed that I'm even left-eyed. Well, come to think of it, I bat right-handed, but that's the only exception I know of. -- Paul DuBois dubois@primate.wisc.edu ------------------------------ Date: Thu, 24 Jan 91 11:29:06 EST From: jbotz%MHC.BITNET@ricevm1.rice.edu Subject: Inside Mac > Q: Is Inside Macintosh going to have a new edition sometime in the near > future? yes. A major overhaul is in progress and almost complete. It will roll all the volumes into a single volume (probably not in a single binding, but org- anizationally at least) and include all the information from all the still- relevant tech notes. Also, more sample code than the current edition which has almost none. > Q: Is reading Inside Macintosh the best way for a beginning programmer to > learn about such things as the "toolbox" and other vague entities? no. Inside Mac is a reference. It is THE reference. There are _some_ people who can learn even really complex stuff from a reference manual, but I know *I* would have been lost without other sources. Try the Addison Wessley "Mac Inside Out" series edited by Scott Knaster. > Q: Is Inside Macintosh available in electronic copy? yes. It comes on the developer CD as a Hypercard stack and may be downloadable >From some sources (apple.com?) as well. ___________________________________________________________________________ Jurgen Botz | Internet: JBotz@MHC.bitnet ..or.. Academic Computing | JBotz%MHC.bitnet@cunyvm.cuny.edu Mount Holyoke College | Compu$erve: 70531,600 (rarely) South Hadley, MA, USA | Voice: (US) 413-538-2375 (daytime) ------------------------------ Date: Thu, 24 Jan 91 08:06 EST From: "Mark Nutter, Apple Support" <MANUTTER%IUP.BITNET@forsythe.stanford.edu> Subject: Inside Mac queries nherring@eleazar.dartmouth.edu had some questions about Inside Mac. The first one I can't answer, but I'll take a stab at the other two. >Q: Is reading Inside Macintosh the best way for a beginning programmer to > learn about such things as the "toolbox" and other vague entities? A: Yes. The same way reading the phone book is the best way to get to know the people in your town. Seriously, IM is intended mainly as a reference. There are a number of books out there that do a better job of introducing beginners the Mac Toolbox, depending on which language you want to use. Also, MacUser has been running a series on programming the Mac in C; a pretty decent tutorial, in my opinion. Hopefully, someone else will supply the names and authors of the best books; I can't seem to think of the exact titles right now (Macintosh Revealed was one of them, but I can't think of the author). >Q: Is Inside Macintosh available in electronic copy? A: Yes. APDA puts out a magazine called "d e v e l o p" that includes a CD-ROM disk, on which is a HyperCard stack called Spinside Macintosh. It includes all 5 volumes, text and illustrations, condensed into one huge stack. A one year subscription is only $27 from APDA, and individual back issues are only $10. Naturally, you have to have a CD-ROM drive to use it. Mark Nutter MANUTTER@IUP.BITNET Apple Support Manager Indiana University of Pennsylvania "You can lead a horse to water, but you can't look in his mouth." - Archie B. ------------------------------ Date: Thu, 24 Jan 91 09:45:59 EST From: Michael D. Prange <prange@erl.mit.edu> Subject: Kodak Diconix M150 printer Has anyone worked with the Kodak Diconix M150 printer? Is it worth the money? I'm looking for a printer with descent resolution that is smaller and cheaper than a Deskwriter. Michael prange@erl.mit.edu ------------------------------ Date: Thu, 24 Jan 91 08:10 EST From: "Mark Nutter, Apple Support" <MANUTTER%IUP.BITNET@forsythe.stanford.edu> Subject: large system memory (Carol Terry writes about a 2MB System file, even from a "plain vanilla" startup disk). Most likely culprit is that your RAM Cache (in the Control Panel) has been set to a large value and turned on. Turning it off and/or lowering the RAM Cache size should help (if this is the problem). Mark Nutter MANUTTER@IUP.BITNET Apple Support Manager Indiana University of Pennsylvania "You can lead a horse to water, but you can't look in his mouth." - Archie B. ------------------------------ Date: Thu, 24 Jan 91 08:18 EDT From: Jane Hesler <HESLER@ruby.vcu.edu> Subject: Large System Memory I think you will find that you have a RAMdisk automatically being set up as an INIT. That is what is eating up your memory. ------------------------------ Date: Thu, 24 Jan 91 11:33 EST From: "Harry E. Bates" <E7P2BAT@toe.towson.edu> Subject: Mac 128K error message? A friend of mine has just picked up an old 128K machine. When he tries to boot it he gets and error message #040800. Can anyone tell me what this means?? Thanks in advance. Harry E. Bates Department of Physics Towson State U. Baltimore, MD 21239 HBATES@TOWSONVX ------------------------------ Date: Wed, 23 Jan 91 19:26:07 EST From: Matthew Tolbert <MTOLBER%ERENJ.BITNET@forsythe.stanford.edu> Subject: Mac Greek O.S. System Folks, Just want to say thanx to all those who responded to my inquiry about obtaining a Greek-based Macintosh operating system & installer for our visiting researcher from Greece. Kudos especially to INFO-MACers Peter Jorgensen, Dale Southard, Steve Strassmann, Mark Nutter, and fellow employee Gary Menszyk (who works at another site) for their help. Basically, you can obtain the Greek O.S. as well as other international O.S.es from APDA (or is it ADPA--I keep getting them mixed up, darn it) by calling 1-800-282-2732. I've also ordered a subscription to the quarterly developers' magazine/CD-ROM service ($27 annually, charged to my AMEX) offered by APDA--it sounds like a real bargain. If you'll let me gush for a bit longer, I'd just like to add kudos to INFO-MAC and all its subscribers. INFO-MAC's been an excellent service for keeping up on Apple Macintosh issues, and the friendly, helpful comments I've received from the above-mentioned users gives me the impression that there's an enthusiastic and robust Macintosh user community keeping this bitnet conference/info service going. Keep up the great work, everybody! ------------------------------ Date: Thu, 24 Jan 91 08:54:52 EST From: Mauro <CAPUTI@vtvm1.cc.vt.edu> Subject: memory-management-fix INIT try this In response to Kenneth Falkenstein's posting yesterday about problems with MM INIT: the problem may be the use of System 6.0.4 and Finder 6.1.4. A colleague of mine has a IIci running System 6.0.7 and Finder 6.1.7 and has not experienced any of the problems described about DA's, the control panel, etc, while using the MM INIT. Also, on page 3 of the technical details that comes with MM INIT, the MM INIT was tested on a system running under System 6.0.7. If you can get a copy of the new System and Finder, try it out on your IIci. Maybe that will solve the problem. Mauro J. Caputi Bitnet: CAPUTI@VTVM1.CC.VT.EDU Bradley Dept. of Electrical Engineering Virginia Tech Blacksburg, VA ------------------------------ Date: Thursday, 24 Jan 1991 10:07:10 EST From: m21743@mwvm.mitre.org (Kenneth Falkenstein) Subject: memory-manager-init Hi Net-kin, The other day I whined that I was having problems with MMInit. Thanks to thoes who replied. I have since changed the name to 0MMInit so it would load first at startup and have found the problems seemed to disappear. This means that Inits like Virex which (I am told) should load before all else can't. But there can only be one first alas. I haven't noticed any major speed-ups yet, but I haven't really done much. The Tech notes which accompany the Init are very thorough. Thanks again for those suggestions. Ken Falkenstein Internet: m21743@mwvm.mitre.org The MITRE Corporation Disclaimer: Should we bury 'em Josey? McLean, VA Na. Buzzards gotta eat, same as the worms. * * Kenneth ------------------------------ Date: Thu, 24 Jan 91 08:39:08 EST From: Murph Sewall <SEWALL%UCONNVM.BITNET@forsythe.stanford.edu> Subject: memory-managment-fix INIT problems On Wednesday, 23 Jan 1991 15:34:56 EST you said: > I saw the MMInit sub to info-mac yesterday and was thrilled! Someone who > knows the mac finally wrote a patch to the memory mgt bug. I downloaded it, >expanded it and popped it into the System Folder. I had all kinds of problems I have had the MMInit loaded on my IIci (6.0.7) since yesterday and have noticed no problems at all (also I haven't noticed any difference in performance but it's surely possible that I haven't done anything yet that would have antagonized the bug). /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: Thu, 24 Jan 91 08:15:53 PST From: smith@whistler.sfu.ca (Richard Smith) Subject: memory-managment-fix INIT problems I had similar, although not as severe problems with the memory management fix init. After reading about your problems, I think I will take it out as soon as I get to work this morning. I hope I don't have to re-build my system folder! I wish there had been some sort of warning with the original posting. Incidentally, if you are saving these reports - perhaps for a summary report to the newsgroup, my configuration is this: Mac IIfx, system 6.0.5, pyro, ATM and FontPorter, those little eyes and a clock. The worst problem was after typing in a whole page in word, I attempted to open my control panel and the machine re-booted (strange re-boot, too, without the usual powerdown of the screen, just the applications all quit (except word, which seemed to have been nuked) and then restarted (ie the multifinder apps)). ...r ------------------------------ Date: Wed, 23 Jan 91 21:59:55 EST From: "D. Bylsma" <UOG01162@vm.uoguelph.ca> Subject: Mice and IIsi, SAS packages Hi there y'all...got a problem that the local apple dealer can't seem to solve, so I said I'd ask for them, so here is the problem: Setup: IIsi and Abaton Propoint Trackball Results: 'Squirly' mice problems. Mouse does not seem to like the computer, or vice-versa. Not usre if problems persist on other single ADB computers such as the LC and the Classic. This complaint has come from a number of people using their own trackballs. Query: SAS packages for the Mac What type of SAS packages are there for the Mac? I have an aquaintance that would like to upgrade from a 512k Mac but, since he forsees the need for SAS in his Master's thesis he would like to know if there are SAS packages around that can do the same that SAS for CMS can do or SAS for the Eye-Be-Em. Are there programs that have the ability to read the file formats of the CMS or Eye-Be-Em SAS programs? Any type of suggestion would be appreciated. Before the 28th would be even better. Thanks again, D. Bylsma ------------------------------ Date: Thu, 24 Jan 91 00:33 PST From: Gann Matsuda <IYI4DTN@mvs.oac.ucla.edu> Subject: MM Init RE: MM Init I have experienced no problems with DAs, folders opening or closing, not even anything unusual after installing MM Init last night. I am running an 8 mb IIci with System 6.0.5 and LOTS of inits/cdevs, including most of the ones Ken Falkenstein listed in his report of problems. I would be most interested in hearing others comments regarding this init, especially regarding problems and whether or not they are experiencing increased performance. So far, a few games seem to run faster and Word starts up a bit quicker. I haven't had time to do any extensive testing yet, however. Gann Matsuda UCLA Asian American Studies Center BITNET: IYI4DTN@UCLAMVS INTERNET: iyi4dtn@mvs.oac.ucla.edu ------------------------------ Date: Thu, 24 Jan 91 9:45:41 EST From: Tom Coradeschi <tcora@pica.army.mil> Subject: My request for an Internet Address of yesterday. >Hi. > >I have been talking to I fellow on the tech support staff at National >Instruments, and apparently they are currently *trying* to arrange for >an internet site to be set up there, but the "higher-ups" in the company need >"more justification". So, ANYONE out there who uses labview at all, >and feels that they would benefit from such a site, please send me >a letter stating as such. I am also sending in a letter stating why I would >appreciate such a thing, and will include yours to send in as well. > YES YES YES YES YES YES YES. Not only do they neet Internet access (even uucp connections via an MX would be ok), but they need some sort of a BBS. Better yet, an Internet mailing list/USENET group. Maybe I should try to start a mailing list. Any interest? Let me know. tom coradeschi <+> tcora@pica.army.mil <+> tcora@dacth01.bitnet ------------------------------ Date: Wed, 23 Jan 91 21:30:04 EST From: Gregory Mavrides <N640026%UNIVSCVM.BITNET@ricevm1.rice.edu> Subject: No Printing in Draft Mode I would like to thank everyone for their suggestions. It turned out that we had installed the imagewriter file without using the Apple Installer and this was the problem. As soon as I reinstalled the system files with Apple Installer, all was well in draft mode. Thanks for all for help. Greg. P.S. Just curious, why would using/not using the Apple Installer program make such a difference? ------------------------------ Date: Thu, 24 Jan 91 15:57 N From: <INMULLER%CNEDCU51.BITNET@forsythe.stanford.edu> Subject: slow MacIIsi !?! I am using a MacIIsi in my office and a Mac SE/30 at home. What a surprise to discover that MacIIsi is slower than SE/30 ! I run Oztex and MACL and both are about twice slower on MacIIsi than on SE/30. I thought the explanation in the memory manager bug reported in a previous info-mac, installad the memory manager fix init, nothing changed. Has someone on the net experienced the same thing. Should I try to deinstall particular inits and/or network software. Help !! Jean-Pierre Muller UNiversite de Neuchatel Switzerland ------------------------------ Date: Thu, 24 Jan 91 17:16:13 CST From: "Juan M. Courcoul" <COURCOUL%VMTECQRO.qro.itesm.mx@forsythe.stanford.edu> Subject: Support software via anonymous FTP from Apple Co. A couple of weeks ago, a contributor to INFO-MAC mentioned the possibility that Apple Co. was going to set up a host for anonymous FTP, which contained diverse technical support software for the Mac, like the different language versions of the System Software, RESEDIT, etc. Has anything concrete come out yet ? Juan Courcoul Monterrey Tech Mexico ------------------------------ Date: Thu, 24 Jan 1991 01:20:57 EST From: md_malam@sitvax.stevens-tech.edu (Mehboob Alam - Macintosh Monster) Subject: Where's FreshStart Hi, I know that there have been several purgings of the Info-Mac archives. I can't find an init called FreshStart. I also can't get in touch with its author. Please contact me if you know anything about the author. ON the same subject, does anyone know of any utility that will let me control the startup applications. "Set Startup..." is too easy to override, and can't seem to be locked in. The goal, I want to make sure a certain application gets launched every time the Mac starts up, and I also want to make sure MultiFinder is always switched on. Thanks, Mehboob Alam Internet - MD_MALAM@SITVAX.STEVENS-TECH.EDU BITNET - MD_MALAM@STEVENS ------------------------------ Date: Thu, 24 Jan 91 10:15:32 -0500 From: Andrew E. Scheck <aes@aplcomm.jhuapl.edu> Subject: Writing XCMDs with MPW C++ >How does one write XCMD and XFCN resources in MPW C++? I am forwarding this To use C++ from an XCMD all you have to do is use an entry routine that doesn't need globals but creates and initializes an environment for the code that does use globals. This is described in Tech Note #256. The source code given there is for Pascal, but I have included my C version here, along with a short example of how you might use the code. I hope this helps. Andy aes@aplcomm.jhuapl.edu --------------- MyXCMD.cp #ifndef __A5WORLD__ #include "A5World.h" #endif #ifndef __HYPERXCMD__ #include "HyperXCmd.h" #endif pascal void CPlusPlusCode( XCmdPtr args, long appA5 ); pascal void entrypoint( XCmdPtr p ) { A5RefType A5; long appA5; MakeA5World( &A5 ); appA5 = SetA5World( A5 ); CPlusPlusCode( p, appA5 ); RestoreA5World( appA5, A5 ); DisposeA5World( A5 ); } // other needed #includes pascal void CPlusPlusCode( XCmdPtr args, long appA5 ) { . . . } ----------------- A5World.h #ifndef __A5WORLD__ #define __A5WORLD__ #ifndef __TYPES__ #include <Types.h> #endif typedef Handle A5RefType; #ifdef __safe_link extern "C" { #endif pascal void MakeA5World( A5RefType *A5Ref ); pascal long SetA5World( A5RefType A5Ref ); pascal void RestoreA5World( long oldA5, A5RefType A5Ref ); pascal void DisposeA5World( A5RefType A5Ref ); #ifdef __safe_link } #endif #endif __A5WORLD__ ----------------- A5World.c #ifndef __MEMORY__ #include <Memory.h> #endif #ifndef __OSUTILS__ #include <OSUtils.h> #endif #ifndef __TYPES__ #include <Types.h> #endif #ifndef __A5WORLD__ #include <A5World.h> #endif /* The following 2 functions are the ones that set up and maintain our A5 world. You must Link with RunTime.o or CRunTime.o to call them. */ void A5Init( Ptr ); long A5Size( void ); /* The next 4 routines are our glue to the A5 maintenance routines. MakeA5World calls A5Size to get the amount of memory required for our A5 world. It then calls NewHandle to allocate that memory, and A5Init to initialize it. SetA5World takes care of swapping in our A5 world. It locks down the handle that holds our A5 data, sets A5 to point to it, and returns the original A5. RestoreA5world reverses the effects of SetA5World. It restores A5 to the value our host application needs, and unlocks our block of global data so as not to fragment our host's heap. DisposeA5World is called when we are all done. It is in charge of disposing our global data. Right now, this is just a call to DisposHandle. */ pascal void MakeA5World( A5RefType *A5Ref ) { *A5Ref = NewHandle( A5Size() ); if ( ! *A5Ref ) DebugStr( "\pOut of memory in MakeA5World" ); HLock( *A5Ref ); A5Init( (Ptr)((long)**A5Ref + A5Size() - 32) ); HUnlock( *A5Ref ); } pascal long SetA5World( A5RefType A5Ref ) { HLock( A5Ref ); return SetA5( (long)*A5Ref + A5Size() - 32 ); } pascal void RestoreA5World( long oldA5, A5RefType A5Ref ) { if ( SetA5( oldA5 ) ) HUnlock( A5Ref ); } pascal void DisposeA5World( A5RefType A5Ref ) { DisposHandle( A5Ref ); } ----------------- Link command Link -w -rt XFCN=200 -m ENTRYPOINT -sg CPlusPlusCode -t rsrc -c RSED 6 CPlusPlusCode.cp.o 6 A5World.c.o 6 {CLibraries}StdCLib.o 6 {CLibraries}CRuntime.o 6 {CLibraries}CInterface.o 6 {Libraries}Interface.o 6 -o CPlusPlusCode ----------------- end of sources ------------------------------ Date: Wed, 23 Jan 91 21:04:54 gmt From: Mr Gordon S Byron <gsb1@forth.stirling.ac.uk> I have installed the inits extracolor, and kolor. kolor works fine but extra color crashes the system every time. Anyt advice? It's on a IIcx running system 605 ******************************************************************************* Snailmail: Gordon Byron, Arts Computing Advisor,Pathfoot Building, University of Stirling,FK9 4LA Stirling, Scotland, UK. Voice: Phone: 0786 73171: Ext 7266 ******************************************************************************* ------------------------------ End of Info-Mac Digest ******************************