xv68k is a command-line program that runs m68k code in emulation using the v68k library.

xv68k provides several interfaces between the host system and the emulated environment:

In addition, xv68k implements minimal Mac OS support for compatibility with Metrowerks runtime code:

xv68k also implements some low memory globals (e.g. Ticks and MemErr), and _Gestalt (defining the 'v68k' selector) so Mac programs can detect whether they’re running in the emulator.

Additional Mac OS support is available by loading the ams-core module:

xv68k -m ams-core screen-test


xv68k’s runtime interface overlaps with that of MacRelix, so the same binaries work in both environments. The differences are: