Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A suite of tools for creating disassemblies of ZX Spectrum games

Project Description

SkoolKit is a collection of utilities that can be used to disassemble a Spectrum game (or indeed any piece of Spectrum software written in machine code) into a format known as a skool file. Then, from this skool file, you can use SkoolKit to create a browsable disassembly in HTML format, or a re-assemblable disassembly in ASM format. So the skool file is - from start to finish as you develop it by organising and annotating the code - the common ‘source’ for both the reader-friendly HTML version of the disassembly, and the developer- and assembler-friendly ASM version of the disassembly.

Features

SkoolKit can:

  • convert a TAP or TZX file into a ‘pristine’ snapshot (using tap2sna.py)
  • disassemble SNA, Z80 and SZX snapshots as well as raw memory files
  • distinguish code from data by using a code execution map produced by an emulator
  • build still and animated PNG/GIF images from graphic data in the game snapshot (using the #UDG, #UDGARRAY, #FONT and #SCR macros)
  • create hyperlinks between routines and data blocks that refer to each other (by use of the #R macro in annotations, and automatically in the operands of CALL and JP instructions)
  • neatly render lists of bugs, trivia and POKEs on separate pages (using [Bug], [Fact] and [Poke] sections in a ref file)
  • produce ASM files that include bugfixes declared in the skool file (with @ofix, @bfix and other ASM directives)
  • produce TAP files from assembled code (using bin2tap.py)

For a demonstration of SkoolKit’s capabilities, take a look at the complete disassemblies of Skool Daze, Back to Skool, Contact Sam Cruise, Manic Miner and Jet Set Willy.

Quick start guide

SkoolKit includes fairly detailed documentation, but if you want to get up and running quickly, here goes.

To convert a SNA, Z80 or SZX snapshot of a Spectrum game into a skool file (so that it can be converted into an HTML or ASM disassembly):

$ sna2skool.py game.z80 > game.skool

To split the disassembly up into code and data blocks, you’ll need a control file.

To turn this skool file into an HTML disassembly:

$ skool2html.py game.skool

To turn it into an ASM file that can be fed to an assembler:

$ skool2asm.py game.skool > game.asm
Release History

Release History

This version
History Node

6.0

History Node

5.4

History Node

5.3

History Node

5.2

History Node

5.1

History Node

5.0

History Node

4.5

History Node

4.4

History Node

4.3

History Node

4.2

History Node

4.1.1

History Node

4.1

History Node

4.0

History Node

3.7

History Node

3.6

History Node

3.5

History Node

3.4

History Node

3.3.2

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
skoolkit-6.0.tar.gz (681.1 kB) Copy SHA256 Checksum SHA256 Source May 6, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting