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

Combo Quest (Games)
Combo Quest 1.0 Device: iOS Universal Category: Games Price: $.99, Version: 1.0 (iTunes) Description: Combo Quest is an epic, time tap role-playing adventure. In this unique masterpiece, you are a knight on a heroic quest to retrieve... | Read more »
Hero Emblems (Games)
Hero Emblems 1.0 Device: iOS Universal Category: Games Price: $2.99, Version: 1.0 (iTunes) Description: ** 25% OFF for a limited time to celebrate the release ** ** Note for iPhone 6 user: If it doesn't run fullscreen on your device... | Read more »
Puzzle Blitz (Games)
Puzzle Blitz 1.0 Device: iOS Universal Category: Games Price: $1.99, Version: 1.0 (iTunes) Description: Puzzle Blitz is a frantic puzzle solving race against the clock! Solve as many puzzles as you can, before time runs out! You have... | Read more »
Sky Patrol (Games)
Sky Patrol 1.0.1 Device: iOS Universal Category: Games Price: $1.99, Version: 1.0.1 (iTunes) Description: 'Strategic Twist On The Classic Shooter Genre' - Indie Game Mag... | Read more »
The Princess Bride - The Official Game...
The Princess Bride - The Official Game 1.1 Device: iOS Universal Category: Games Price: $3.99, Version: 1.1 (iTunes) Description: An epic game based on the beloved classic movie? Inconceivable! Play the world of The Princess Bride... | Read more »
Frozen Synapse (Games)
Frozen Synapse 1.0 Device: iOS iPhone Category: Games Price: $2.99, Version: 1.0 (iTunes) Description: Frozen Synapse is a multi-award-winning tactical game. (Full cross-play with desktop and tablet versions) 9/10 Edge 9/10 Eurogamer... | Read more »
Space Marshals (Games)
Space Marshals 1.0.1 Device: iOS Universal Category: Games Price: $4.99, Version: 1.0.1 (iTunes) Description: ### IMPORTANT ### Please note that iPhone 4 is not supported. Space Marshals is a Sci-fi Wild West adventure taking place... | Read more »
Battle Slimes (Games)
Battle Slimes 1.0 Device: iOS Universal Category: Games Price: $1.99, Version: 1.0 (iTunes) Description: BATTLE SLIMES is a fun local multiplayer game. Control speedy & bouncy slime blobs as you compete with friends and family.... | Read more »
Spectrum - 3D Avenue (Games)
Spectrum - 3D Avenue 1.0 Device: iOS Universal Category: Games Price: $2.99, Version: 1.0 (iTunes) Description: "Spectrum is a pretty cool take on twitchy/reaction-based gameplay with enough complexity and style to stand out from the... | Read more »
Drop Wizard (Games)
Drop Wizard 1.0 Device: iOS Universal Category: Games Price: $1.99, Version: 1.0 (iTunes) Description: Bring back the joy of arcade games! Drop Wizard is an action arcade game where you play as Teo, a wizard on a quest to save his... | Read more »

Price Scanner via MacPrices.net

Apple’s M4 Mac minis on sale for record-low p...
B&H Photo has M4 and M4 Pro Mac minis in stock and on sale right now for up to $150 off Apple’s MSRP, each including free 1-2 day shipping to most US addresses. Prices start at only $469: – M4... Read more
Deal Alert! Mac Studio with M4 Max CPU on sal...
B&H Photo has the standard-configuration Mac Studio model with Apple’s M4 Max CPU in stock today and on sale for $300 off MSRP, now $1699 (10-Core CPU and 32GB RAM/512GB SSD). B&H also... Read more

Jobs Board

All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.