Open eric-ja opened 6 years ago
There are 4 main code areas that deal directly with screen memory:
1. Pattern fill/blitting
2. Text drawing
3. Cursor drawing and animation
4. Pull-down menu save-behind buffer
Another good option is to make a smaller/faster 80-column mousetext-based lib, like Apple's original MTx lib for Apple Pascal, or as used in the text-based Finder util MouseFiler.
Mousetext UI would load faster and be more snappy than DHR.
Just as Apple shipped (and documented!) the MouseGraphics ToolKit, they also shipped the MouseText ToolKit, with many of the same APIs so it was straightforward to port from MouseText to MouseGraphics.
(I’ve actually been puzzled by the amount of work being put into reversing MGTK when the information is available…)
@eschaton The goal is not just the API but a complete understanding of the code and a basis for further dev work.
We do have some official docs and headers for MGTK (they are not 100% accurate.)
Heh, I stopped most of my work on MGTK when I began to suspect it was a separate library. Then some other pesky contributors started with the awesome PRs... :)
Isolate/abstract the parts of MGTK that deal directly with video hardware, in order to provide support for other modes/platforms.
Possible targets: