TweetFollow Us on Twitter

Jun 92 Mousehole
Volume Number:8
Issue Number:2
Column Tag:Mousehole

Mousehole

By Larry Nedry, MacTutor Regular Contributing Author

From: Scottab

Re: Palette Animation

The difference is in indexed vs. direct color. Indexed color uses as an index into a clut to determine what color to display for a certain pixel. Thus, changing the clut changes every pixel of that color on screen. Direct color (24 or 32 bit, and 16 bit, I believe) has no clut: the computer stores the RGB values for each pixel. Which is why palette animation in 16, 24, or 32 bits of monitor depth does not exist.

From: Jslee

Re: STR replacement

I found a series of Pascal routines that can replace/delete/add STR and STR# resources. I am converting it to C. So far I have the add function working pretty well, now on to the other functions. When I get it done I will upload the code. BTW, it is using Munger for all of the replacement stuff. I still have to manually change the number of STR# resources so that the file can be read by ResEdit (if you do not change the number of strings in the STR# resource an error will occur and ResEdit will politely remove the extraneous STR's for you).

From: Jslee

Re: SetIndStr.SIT

The file is attached to this reply. I converted someone's Pascal code into C. I will give them credits later. I could not think of an EASY way to delete STR# resources so I decided that if you wanted to delete a particular resource you should pass the negative of its id (so if you wanted to delete STR# 128 you would pass -128 to my routine). I know this is

not the easiest or the best way to do this so any suggestions would be appreciated.

From: Bonhoffer

Re: Memerror code

I was using Think 3 and after calling a memory manager routine like ReallocHandle, I got a MemError of -113. I could not find this code in IM or any where else. Does anybody know what this means?

From: Sysop

Re: Memerror code

There is a Desk Accessory in the System File LIB called System Errors Table that has all of the known system errors in an easy to read format.

You can also look in Errors.h or Errors.p. Error -113 is the memAZErr - Address in zone check failed

From: Bonhoffer

Re: Memerror code

Does that mean that it was in Inside Mac and I didn't find it or are there error codes that are not in IM I-V?

If I bought Think Reference, do you think that they would be easily referenced from there as well?

From: Sysop

Re: Memerror code

The Think Reference is one way you could have found your answer.

There is an amazing amount of information available in the language interface files (*.h, *.p and *.a). Do a little exploring in them sometime if you can't find your answer elsewhere.

But I use Think Reference religiously. It is much easier and faster to use than any other product I have seen including Inside Mac.

From: Megabozo

Re: New Apple adverts

Has anyone seen the new Apple commercials on the telly? (You know, the ones with the guys riding the coal car.) The tag line is 'Introducing the new technology'. Can someone more knowledgeable tell me, does this portend the announcement of a new computer (perhaps the long-awaited notebook Mac)? Or is Apple just baying at the moon? Also, does anyone know anything about the new CRAY Y-MP?

From: Badblud

To: ** ALL **

Re: INITs (1 reply)

Hi, I'm looking for source code to various type of INITs. I've seen some really nice stuff, you know, Public Folder or Broadcast. I will need to set parameters in the Chooser or the Control panel. The main part of the program will wait on the serial port for special characters.

I would like to mention this is not for a commercial product, but a university research project.

From: Sysop

To: Badblud

Re: INITs

Check out Morse.C in the Language File Library. It is an example of an INIT/cdev combination.

From: Sysop

To: Atom

Re: registering ZTerm (1 reply)

The address to register ZTerm is: David P. Alverson, 5635 Cross Creek Court, Mason, OH 45040

 

Community Search:
MacTech Search:

Software Updates via MacUpdate

Latest Forum Discussions

See All


Price Scanner via MacPrices.net

Early Black Friday Deal: Apple’s newly upgrad...
Amazon has Apple 13″ MacBook Airs with M2 CPUs and 16GB of RAM on early Black Friday sale for $200 off MSRP, only $799. Their prices are the lowest currently available for these newly upgraded 13″ M2... Read more
13-inch 8GB M2 MacBook Airs for $749, $250 of...
Best Buy has Apple 13″ MacBook Airs with M2 CPUs and 8GB of RAM in stock and on sale on their online store for $250 off MSRP. Prices start at $749. Their prices are the lowest currently available for... Read more
Amazon is offering an early Black Friday $100...
Amazon is offering early Black Friday discounts on Apple’s new 2024 WiFi iPad minis ranging up to $100 off MSRP, each with free shipping. These are the lowest prices available for new minis anywhere... Read more
Price Drop! Clearance 14-inch M3 MacBook Pros...
Best Buy is offering a $500 discount on clearance 14″ M3 MacBook Pros on their online store this week with prices available starting at only $1099. Prices valid for online orders only, in-store... Read more
Apple AirPods Pro with USB-C on early Black F...
A couple of Apple retailers are offering $70 (28%) discounts on Apple’s AirPods Pro with USB-C (and hearing aid capabilities) this weekend. These are early AirPods Black Friday discounts if you’re... Read more
Price drop! 13-inch M3 MacBook Airs now avail...
With yesterday’s across-the-board MacBook Air upgrade to 16GB of RAM standard, Apple has dropped prices on clearance 13″ 8GB M3 MacBook Airs, Certified Refurbished, to a new low starting at only $829... Read more
Price drop! Apple 15-inch M3 MacBook Airs now...
With yesterday’s release of 15-inch M3 MacBook Airs with 16GB of RAM standard, Apple has dropped prices on clearance Certified Refurbished 15″ 8GB M3 MacBook Airs to a new low starting at only $999.... Read more
Apple has clearance 15-inch M2 MacBook Airs a...
Apple has clearance, Certified Refurbished, 15″ M2 MacBook Airs now available starting at $929 and ranging up to $410 off original MSRP. These are the cheapest 15″ MacBook Airs for sale today at... Read more
Apple drops prices on 13-inch M2 MacBook Airs...
Apple has dropped prices on 13″ M2 MacBook Airs to a new low of only $749 in their Certified Refurbished store. These are the cheapest M2-powered MacBooks for sale at Apple. Apple’s one-year warranty... Read more
Clearance 13-inch M1 MacBook Airs available a...
Apple has clearance 13″ M1 MacBook Airs, Certified Refurbished, now available for $679 for 8-Core CPU/7-Core GPU/256GB models. Apple’s one-year warranty is included, shipping is free, and each... Read more

Jobs Board

Seasonal Cashier - *Apple* Blossom Mall - J...
Seasonal Cashier - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) - Apple Read more
Seasonal Fine Jewelry Commission Associate -...
…Fine Jewelry Commission Associate - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) Read more
Seasonal Operations Associate - *Apple* Blo...
Seasonal Operations Associate - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) - Read more
Hair Stylist - *Apple* Blossom Mall - JCPen...
Hair Stylist - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) - Apple Blossom Read more
Cashier - *Apple* Blossom Mall - JCPenney (...
Cashier - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) - Apple Blossom Mall Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.