Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main Page
Community Portal
Village Pump
Recent Changes
Upload File
Help
Help Contents
Editing Guide
Repair Guide Template
Sandbox
Browse Wiki
๐ Service Manuals
๐ Schematics
๐ Apple
๐ฎ Nintendo
๐ Sega
โก Troubleshooting
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Macintosh Toolbox
(section)
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== PowerPC Mixed-Mode Implementation === PowerPC Macs lack illegal instruction traps, requiring a different approach: '''Universal Procedure Pointers (UPPs):''' <pre> TYPE RoutineDescriptor = RECORD goMixedModeTrap: INTEGER; {$AAFE} version: BYTE; {7 for PowerPC} flags: BYTE; {ISA and calling conventions} reserved: LONGINT; reserved2: BYTE; selectorCount: BYTE; routineCount: INTEGER; {Array of RoutineRecords follows} END; </pre> '''Mixed-Mode Switch Process:''' # Code calls UPP thinking it's a routine address # UPP contains $AAFE trap at offset 0 # 68k emulator intercepts trap # Mixed-Mode Manager examines descriptor # Routes to native PPC or emulated 68k code # Handles calling convention translation '''Native Implementation Flags:''' The Power Mac ROM includes tables indicating native implementations: * '''$FFF00000''': Native trap table base * '''Bit vector''': 1 bit per trap (1=native, 0=emulated) * '''Jump table''': Direct PPC routine addresses
Summary:
Please note that all contributions to RetroTechCollection may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
RetroTechCollection:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Macintosh Toolbox
(section)
Add topic