TweetFollow Us on Twitter

Unannounced Calls
Volume Number:8
Issue Number:4
Column Tag:On the Lighter Side

New Unannounced System Calls
from the WWDC

By Gar, DataPak Software

You may have missed one or more of the several “secret” meetings in Room K of the San Jose Convention Center during the World Wide Developers Conference. Our sneak reporter was on the scene and has obtained exclusive information, leaked, regarding some of the new unannounced system extensions planned for the Macintosh operating system. Details are still sketchy, but we managed to obtained this exclusive reportage on the following new System Managers.

Features Manager

PROCEDURE SetReviewerMode (resID:resource; MicrosoftClone, 
ClarisClone, AldusClone:ProcPtr);

This is used to instantly add features demanded by trade journal reviewers. The resID is a resource of menus that add the features reviewers look for. MicrosoftClone is a procedure you can call which enables your software to look and act just like some Microsoft product. For example, in word processing your ProcPtr would point to an MSWord() procedure and spreadsheet to a MSExcel() procedure. ClarisClone and AldusClone may also be used for the same purposes. However, if all three ProcPtr parameters = NIL, the default procedure, “MeToo” is used by the system software.

Note: This procedure originally had an array of ProcPtrs to refer to any given number of product look alikes. However general usage has dictated that this be reduced to these three.

Support Manager

FUNCTION GenerateComplaint (address:Str255;
key_words:LONGINT; vast_threat:Boolean):TEHandle;

This function generates a complaint to any software vendor of your choosing, writing the complaint and/or threatening letter for you.

The address string should contain the mailing address for the letter; if the string is empty, the last address used for a complaint will be used again.

The key_words parameter is an array of bits defining the key words and phrases to include in the letter, as follows:

Bit Key Word/Phrase Generated

1 “You people...” is inserted wherever possible.

2 “Your product...” is used, otherwise “my product” is inserted.

3 “Dr.” is appended to your name (e.g., “Dr. Donald Trump,” and so on. However, if this bit is not set, “Ph.D.” is appended by default.

4 “... very disconcerting” is used frequently.

5 Sweeping, vague generalities are randomly generated. Examples: “Your product is buggy,” and “... everyone dislikes your product,” etc.

If the vast_threat parameter = TRUE, a threat to complain about the vendor on all e-mail services and trade journals is included in the letter.

GenerateComplaint will mercifully truncate the resulting letter to 32K by returning a TEHandle as the result.

System 7: Two Secret Functions

FUNCTION TransVol6 (chap:Integer):Handle;

This function returns a Handle of text which simplifies and explains a specific chapter in Inside Mac, volume 6. Generally, the chapter in vol 6 will make no sense as-is unless this function is used to return a layman’s translation.

Although TransVol6 could prove useful to developers, it remains undocumented because the text answers require an additional CD which isn’t shipped with the freebies; if this special CD is not on-line, the function returns NIL.

PROCEDURE FillAll (Var complaint:Str255);

This forces all available memory in the machine to be used even if the application doesn’t need it quite yet; even if the application doesn’t call this function, portions of it are still used by System 7 itself.

FillAll is used by most of the major Mac developers; although it is accessible to anyone, small developers generally don’t use it since their situation demands their programs run on smaller, less expensive machines.

The complaint parameter will return a special Applelink address in which you can contact Apple and beg for bigger machines than ever.

FillAll is particularly useful if you are shipping an expensive product that does very little - research has shown that a user feels more secure with a product in which they are forced to upgrade their memory to use it.

The Undocumented Mac ROM Routines

As we were rummaging through some pre-1984 archives, we came across a top-secret document of ROM traps that have never been publically documented!

PROCEDURE MacWait (diskGrind:Boolean);

Causes the processor to delay, usually because the application is running too fast. MacWait is called repeatedly by most of the popular Macintosh programs, and is called most frequently from applications that are greater than 500K and/or cost more than $500.

If diskGrind = TRUE, the internal drive will spin a few times before this function returns.

MacWait can be used by programmers who want to annoy the user for fairly good reasons (such as forcing him or her to type slower or to use the mouse instead of command keys).

PROCEDURE GhostSwap (name:Str255; random:Boolean);

Presents a disk-swap icon of a floppy disk that the user hasn’t seen in hours or hasn’t seen before at all. The basic purpose of GhostSwap is to ensure that the user is on their toes and to check the integrity of the floppy drive at random intervals.

Although applications generally don’t call GhostSwap, it is still used frequently by the Mac OS and Finder. GhostSwap is called the most often after the floppy drive has remained dormant for several weeks but wakes up from, say, doing a backup.

The name of the floppy is given in the name parameter, or if random = TRUE, the OS makes up a name. Although technical superstitition would dictate otherwise, there is no foundation to the belief that GhostSwap gets called most often when the OS senses you are in a hurry to finish an important job.

FUNCTION ChoosePrice(k:LongInt; glossies:Integer;suf95:Boolean; 
quality:Boolean):LongInt;

Returns the recommended suggested retail price for any new Macintosh software program. ChoosePrice a is highly proprietory function and is only used by the very largest companies either before or during the launch of a new release.

The price suggestion is computed as follows: k is the size of the application in kilobytes (if you are guessing at k during pre-development, multiply 150K times the number of people making design decisions).

The k parameter is the most critical since ChoosePrice will roughly compute $100 per k.

The glossies parameter is the second most critical number; it indicates the number of double-page glossy ads that will appear in the next six months. However, if the first six months of glossies will appear before the first version is shipping, you should add a little extra to the function to recoup your financial losses.

The suf95 parameter indicates what the price should end with: if the suf95 = TRUE, then the last two digits of the price will end with “95.” otherwise the price will end with “99” (the default).

The quality parameter is basically ignored in all the latest ROM versions, but is in the definition for compatibility purposes (originally, this parameter indicated the quality and usefullness of the software to determine the suggested price but was later discarded on the realization this factor had no bearing on this decision).

 

Community Search:
MacTech Search:

Software Updates via MacUpdate

Latest Forum Discussions

See All

Aether Gazer unveils Chapter 16 of its m...
After a bit of maintenance, Aether Gazer has released Chapter 16 of its main storyline, titled Night Parade of the Beasts. This big update brings a new character, a special outfit, some special limited-time events, and, of course, an engaging... | Read more »
Challenge those pesky wyverns to a dance...
After recently having you do battle against your foes by wildly flailing Hello Kitty and friends at them, GungHo Online has whipped out another surprising collaboration for Puzzle & Dragons. It is now time to beat your opponents by cha-cha... | Read more »
Pack a magnifying glass and practice you...
Somehow it has already been a year since Torchlight: Infinite launched, and XD Games is celebrating by blending in what sounds like a truly fantastic new update. Fans of Cthulhu rejoice, as Whispering Mist brings some horror elements, and tests... | Read more »
Summon your guild and prepare for war in...
Netmarble is making some pretty big moves with their latest update for Seven Knights Idle Adventure, with a bunch of interesting additions. Two new heroes enter the battle, there are events and bosses abound, and perhaps most interesting, a huge... | Read more »
Make the passage of time your plaything...
While some of us are still waiting for a chance to get our hands on Ash Prime - yes, don’t remind me I could currently buy him this month I’m barely hanging on - Digital Extremes has announced its next anticipated Prime Form for Warframe. Starting... | Read more »
If you can find it and fit through the d...
The holy trinity of amazing company names have come together, to release their equally amazing and adorable mobile game, Hamster Inn. Published by HyperBeard Games, and co-developed by Mum Not Proud and Little Sasquatch Studios, it's time to... | Read more »
Amikin Survival opens for pre-orders on...
Join me on the wonderful trip down the inspiration rabbit hole; much as Palworld seemingly “borrowed” many aspects from the hit Pokemon franchise, it is time for the heavily armed animal survival to also spawn some illegitimate children as Helio... | Read more »
PUBG Mobile teams up with global phenome...
Since launching in 2019, SpyxFamily has exploded to damn near catastrophic popularity, so it was only a matter of time before a mobile game snapped up a collaboration. Enter PUBG Mobile. Until May 12th, players will be able to collect a host of... | Read more »
Embark into the frozen tundra of certain...
Chucklefish, developers of hit action-adventure sandbox game Starbound and owner of one of the cutest logos in gaming, has released their roguelike deck-builder Wildfrost. Created alongside developers Gaziter and Deadpan Games, Wildfrost will... | Read more »
MoreFun Studios has announced Season 4,...
Tension has escalated in the ever-volatile world of Arena Breakout, as your old pal Randall Fisher and bosses Fred and Perrero continue to lob insults and explosives at each other, bringing us to a new phase of warfare. Season 4, Into The Fog of... | Read more »

Price Scanner via MacPrices.net

Boost Mobile will sell you an iPhone 11 for $...
Boost Mobile, an MVNO using AT&T and T-Mobile’s networks, is offering an iPhone 11 for $149.99 when purchased with their $40 Unlimited service plan (12GB of premium data). No trade-in is required... Read more
Free iPhone 15 plus Unlimited service for $60...
Boost Infinite, part of MVNO Boost Mobile using AT&T and T-Mobile’s networks, is offering a free 128GB iPhone 15 for $60 per month including their Unlimited service plan (30GB of premium data).... Read more
$300 off any new iPhone with service at Red P...
Red Pocket Mobile has new Apple iPhones on sale for $300 off MSRP when you switch and open up a new line of service. Red Pocket Mobile is a nationwide MVNO using all the major wireless carrier... Read more
Clearance 13-inch M1 MacBook Airs available a...
Apple has clearance 13″ M1 MacBook Airs, Certified Refurbished, available for $759 for 8-Core CPU/7-Core GPU/256GB models and $929 for 8-Core CPU/8-Core GPU/512GB models. Apple’s one-year warranty is... Read more
Updated Apple MacBook Price Trackers
Our Apple award-winning MacBook Price Trackers are continually updated with the latest information on prices, bundles, and availability for 16″ and 14″ MacBook Pros along with 13″ and 15″ MacBook... Read more
Every model of Apple’s 13-inch M3 MacBook Air...
Best Buy has Apple 13″ MacBook Airs with M3 CPUs in stock and on sale today for $100 off MSRP. Prices start at $999. Their prices are the lowest currently available for new 13″ M3 MacBook Airs among... Read more
Sunday Sale: Apple iPad Magic Keyboards for 1...
Walmart has Apple Magic Keyboards for 12.9″ iPad Pros, in Black, on sale for $150 off MSRP on their online store. Sale price for online orders only, in-store price may vary. Order online and choose... Read more
Apple Watch Ultra 2 now available at Apple fo...
Apple has, for the first time, begun offering Certified Refurbished Apple Watch Ultra 2 models in their online store for $679, or $120 off MSRP. Each Watch includes Apple’s standard one-year warranty... Read more
AT&T has the iPhone 14 on sale for only $...
AT&T has the 128GB Apple iPhone 14 available for only $5.99 per month for new and existing customers when you activate unlimited service and use AT&T’s 36 month installment plan. The fine... Read more
Amazon is offering a $100 discount on every M...
Amazon is offering a $100 instant discount on each configuration of Apple’s new 13″ M3 MacBook Air, in Midnight, this weekend. These are the lowest prices currently available for new 13″ M3 MacBook... Read more

Jobs Board

Omnichannel Associate - *Apple* Blossom Mal...
Omnichannel Associate - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) - Apple Read more
Operations Associate - *Apple* Blossom Mall...
Operations Associate - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) - Apple 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
IT Systems Engineer ( *Apple* Platforms) - S...
IT Systems Engineer ( Apple Platforms) at SpaceX Hawthorne, CA SpaceX was founded under the belief that a future where humanity is out exploring the stars is Read more
*Apple* Systems Administrator - JAMF - Activ...
…**Public Trust/Other Required:** None **Job Family:** Systems Administration **Skills:** Apple Platforms,Computer Servers,Jamf Pro **Experience:** 3 + years of Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.