Skip to main content

Module runner

Module runner 

Source
Expand description

Fixture Runner - Loading and execution infrastructure

Structs§

FixtureRunner
Canonical entry point of the systemless library.
FixtureRunnerConfig
Configuration knobs for FixtureRunner. Use FixtureRunnerConfig::default for the canonical defaults (10M-instruction budget, 0x10000 load base, arrow-keys NOT remapped to numpad, guest-controlled menu bar) — only override fields you actually need.
VfsFileSnapshot
VfsFileStat
VfsFileSummary

Enums§

MenuBarPolicy
Host presentation policy for the classic Mac menu bar.

Constants§

DEFAULT_POWERPC_SCREEN_DEPTH
Default direct-color display depth for native PowerPC applications. Imaging With QuickDraw (1994), p. 6-16, defines 16 bits per pixel as a supported Color QuickDraw screen and offscreen graphics-world depth.
DEFAULT_REALTIME_CPU_MHZ
Default emulated CPU speed from the canonical machine profile.
DEFAULT_REALTIME_INSTRUCTIONS_PER_SECOND
Default 68K realtime CPU budget used by scripted realtime mode and by GUI sessions that do not load a PowerPC executable.
DEFAULT_REALTIME_PPC_CPU_MHZ
PowerPC clock exposed by the native 604 machine profile. The Power Macintosh 9500/120 paired a 120 MHz clock with the same 604 processor reported by the PPC Gestalt implementation. https://support.apple.com/en-hk/112050
DEFAULT_VBL_HZ
Compact Mac video hardware refreshes at approximately 60.15 Hz.

Functions§

decode_fakeptr_pc
If pc matches a GetTrapAddress fake-pointer pattern, return a human-readable hint identifying the trap that the game most likely tried to JMP/JSR through. Else None.
default_realtime_instructions_per_tick
Returns the per-VBL instruction budget for the loaded guest architecture.
dump_wait_stats
Print the wait-elision diagnosis counters (no-op when env unset).