From MSX Game Library

< Install

For the installation, macOS users need to manually setup their environment before they can run the MSXgl's Build tool. Here is a guide provided by user Syntrax to help you in this process.


  • Install Node.js (18.12.1 or newer), or use NVM (brew install nvm)


  • Install SDCC 4.2.0, or use Brew (brew install sdcc)


Go in to the MSXgl folder and recompile all the enclosed tools. As sources are included, its mostly running ./ on every folder. At minimum, you require the Xcode Command line tools (xcode-select --install). That will compile for example MSXhex, MSXbin and msxtar.


Then the project/sample's script will start calling SDCC components or the binaries. macOS will block that for security reasons, so will fail. You must de-quarantine the freshly built/downloaded binaries:

xattr -r -d ./MSXgl

The full process takes about 10~15 minutes to get it up and running.


  • MSXhex is used to convert .IHX files generated by SDCC into final binary file (.ROM, .COM or .BIN).
  • msxtar (not part of MSXtk) is used to generate .DSK file for MSX-DOS or BASIC binary target.
  • Other tools from MSXtk are not part of the build process.