a naive attempt to emulate Classic MacOS runtime
GPL-2.0 License
a naive attempt to emulate Classic MacOS runtime
NOTE: This is a hacky experiment and is by no means pretty.
Depends on Qt5.
$ make
$ ./woolshed run examples/hello
You can see quite a bit of information about the PEF image with:
$ ./woolshed dump examples/hello
Most of the runtime initialization code is in src/run.c and in src/pef.c except the CPU emulation.
System libraries are in lib/ and all library function calls take the CPU state as their sole argument.
Resources used to write this hack: