Advocacy

  Myths
  Press

Dojo (HowTo)

  General
  Hack
  Hardware
  Interface
  Software

Reference

  Standards
  People
  Forensics

Markets

  Web

Museum

  CodeNames
  Easter Eggs
  History
  Innovation
  Sightings

News

  Opinion

Other

  Martial Arts
  ITIL
  Thought


Apple Easter Eggs
Programming


By: David K. Every
& Daniel Fanton
(C) Copyright 1999 DKE - All Rights Reserved.

Traps.h

A little information: Traps.h is a part of the Universal Interfaces which are a set of files published by Apple that are for use by programmers. Basically what they do is define all of the Mac toolbox calls (traps) to tell your program where in the ROM calls are (via the address).

This is probably a question you have never asked: Just what are the"Miscellaneous Traps" toward the end of Traps.h that have calls to DogCow locations? Well since you asked, these are the odd traps:

_InitDogCow = 0xA89F,
_EnableDogCow = 0xA89F,
_DisableDogCow = 0xA89F,
_Moof = 0xA89F,
HFSPinaforeDispatch = 0xAA52,

Those few defines in Traps.h are leftover baggage that are unused -- so the programmers figured "why not define them to something creative?"

For what it is worth,

0xA89F is really _Unimplemented
0xAA52 is really _HighLevelFSDispatch


Created: 07/26/99
Updated: 11/09/02


Top of page

Top of Section

Home