Working on an emulator? A while ago, I wrote a little proof-of-concept for rootless display of a back buffer on Mac OS X: https://github.com/uliwitness/RootlessForEmulators It's Objective-C, but the general approach still works.
GitHubGitHub - uliwitness/RootlessForEmulators: A little example of how one would implement a rootless display for an emulator that uses one large back buffer (like MacOS 9 would).A little example of how one would implement a rootless display for an emulator that uses one large back buffer (like MacOS 9 would). - GitHub - uliwitness/RootlessForEmulators: A little example of ...