This is source code of the Magic Tokens game by Shiru for ZX Spectrum 48K. The game is public domain, and the sources are too, however be aware that there is BitBuster depacker in the code, which has different license.

To compile the code you'll need a lot of tools. Some of them are included into the archive, these are mine, and you can use or redistribute them freely. You need to find and download some others, they all are free, but with lack or too long license texts which I can't or just too lazy too read, to find if I can redistribute them or not.

SDCC (http://sdcc.sourceforge.net/) - install somewhere, then edit path in the first line of the compile.bat file

hex2bin (http://hex2bin.sourceforge.net/) - or any other that able to convert Intel HEX to binary files, put the exe file into the \tools\ of the sources directory

Hrust (http://trd.speccy.cz/pcutilz/HRUSTDEH.ZIP) - put the exe into \tools\

BIN2SNA (http://trd.speccy.cz/pcutilz/BN2SN101.ZIP) - put the exe into \tools\

BitBuster (somewhere on msx.org) - put the exe into \tools\


Finally, you ready to compile the game. Run compile.bat, wait a while, and get your TAP and SCL versions of the game.