Expand description
Canonical guest machine profile used by Systemless’s accuracy harness.
Frozen reference values for “what does the guest see when it asks
about the host machine” — Gestalt selectors, screen geometry, RAM
size, VBL rate, etc. There’s exactly one shipped profile
(BASILISK_II_PLAY_PROFILE); a const alias ORACLE_MACHINE_PROFILE
exposes it under the role-name the trap dispatcher uses.
Library consumers don’t normally need to read this directly — the
Memory Manager, Gestalt, and screen-mode init paths in
crate::trap consult it on the consumer’s behalf.
Structs§
- Machine
Profile - Bag of constants describing one canonical guest machine: Gestalt selector responses, screen geometry, RAM size, VBL rate, realtime CPU MHz target.
Constants§
- BASILISK_
II_ PLAY_ PROFILE - Basilisk maps model ID 14 to a Quadra 900 / Gestalt machine type 20.
gestalt_native_cpu_type = 4per IM:Operating System Utilities 1994 (line 1439, line 2299):gestaltCPU68040 = $004under thegestaltNativeCPUtype(‘cput’) selector — value 5 there isgestaltCPU68LC040, which contradicts this profile’s 68040 FPU.gestalt_processor_type = 5because the legacygestaltProcessorType(‘proc’) selector uses its own numbering wheregestalt68040 = 5(IM:OSU line 1470). - ORACLE_
MACHINE_ PROFILE
Functions§
- oracle_
machine_ profile - Returns the oracle machine profile, optionally overridden by
SYSTEMLESS_SCREEN_WIDTHandSYSTEMLESS_SCREEN_HEIGHTenvironment variables.