Files
Claude 688f4c3645 Add the Mac OS 9 Toolbox: HFS Plus glue, Icon Services, Threads, MP, TEC, URL Access, Keychain
- data/trapinfo-os9.json: the 68k traps that the glue in Mac OS 9.2.1's
  InterfaceLib, IconServicesLib, FoldersLib, SoundLib, PowerMgrLib and
  DisplayLib still calls. add-protos.py and check-traps.py read it, and
  tools/retrap.py attaches those traps to existing definitions that had
  none (the HFS Plus PB calls, the FSRef Alias Manager calls,
  FSOpenResFile, the Gestalt value calls).
- 68k glue for the high-level HFS Plus calls (FSOpenFork,
  FSGetCatalogInfo, FSIterateForks, ...): fill in a parameter block and
  call the PB...Sync trap, as 9.2.1's glue does.
- Icon Services (trap 0xAA75), Folder Manager 9, anti-aliased text,
  the VM and resource-file additions, Power Manager 2, Sound Manager
  3.x and Display Manager 2, on both CPUs where the glue shows a trap.
- Thread Manager (<Threads.h>, trap 0xABF2) for 68k and PowerPC. Its
  callbacks are TVector UPPs (plain function pointers), so funptr
  definitions take `tvector: true`.
- Multiprocessing Services, TextCommon, the Text Encoding Converter,
  the Unicode Converter, URL Access and the Keychain Manager, PowerPC
  only.
- examples/macos9.c, run on Mac OS 9.2.1 (QEMU mac99) as PowerPC code
  and as 68k code in the emulator.
- check-traps: 1,960 calls match, 0 differ.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRDDKyi26yxudMyvEb
2026-11-02 06:55:15 +00:00

3 lines
79 B
C

/* TextCommon.h: generated by tools/gen-headers.py. */
#include "Multiverse.h"