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!
== Performance Optimizations == === Register-Based Calling Conventions === Critical routines bypass stack operations for speed: '''QuickDraw Optimizations:''' * '''Region operations''': Pass region handles in A0/A1 * '''Line drawing''': Coordinates in D0-D3 * '''Pattern fills''': Pattern pointer in A0 '''Memory Manager Fast Paths:''' * '''NewPtr/NewHandle''': Size in D0, result in A0 * '''GetHandleSize''': Handle in A0, size in D0 * '''HandToHand''': Source in A0, dest in A0 === Caching Mechanisms === '''Font Cache:''' * '''512-byte bitmap cache''' per font * '''Strike matrices''' for different sizes * '''Width tables''' for kerning '''Resource Map Cache:''' * '''In-memory map''' for each open file * '''Handle table''' for loaded resources * '''One-deep cache''' for most recent '''Menu Bar Cache:''' * '''Pixel width calculations''' stored * '''Menu item enables''' pre-computed * '''Hierarchical menu''' locations cached
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