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 assembly language. 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 version of the disassembly.
Features
With SkoolKit you can:
use sna2ctl.py to generate a control file (an attempt to identify routines and data blocks by static analysis) from a snapshot (SNA, SZX or Z80) or raw memory file
enable sna2ctl.py to generate a much better control file that more reliably distinguishes code from data by using a code execution map produced by an emulator or rzxplay.py
use sna2skool.py along with this control file to produce a disassembly of a snapshot or raw memory file
add annotations to this disassembly (or the control file) as you discover the purpose of each routine and data block
use skool2html.py to convert a disassembly into a bunch of HTML files (with annotations in place, and the operands of CALL and JP instructions converted into hyperlinks)
use skool2asm.py to convert a disassembly into an assembler source file (also with annotations in place)
use skool2ctl.py to convert a disassembly back into a control file (with annotations retained)
use skool2bin.py to convert a disassembly into a raw memory file
use tap2sna.py to convert a PZX, TAP or TZX file into a ‘pristine’ Z80 or SZX snapshot
use snapinfo.py to analyse a snapshot or raw memory file and list the BASIC program it contains, show register values, produce a call graph, find tile graphic data, find text, or find sequences of arbitrary byte values
use trace.py to trace the execution of machine code in a snapshot or raw memory file
use rzxplay.py to trace the execution of machine code in an RZX file, and produce a code execution map for sna2ctl.py
use tapinfo.py to analyse the blocks in a PZX, TAP or TZX file, and list the BASIC program it contains
use rzxinfo.py to analyse the blocks in an RZX file, and extract snapshots from it
use bin2tap.py to convert a snapshot or raw memory file into a PZX or TAP file
use bin2sna.py to convert a raw memory file into a Z80 or SZX snapshot
use snapmod.py to modify the register values or memory contents in a Z80 or SZX snapshot
use sna2img.py to convert graphic data in a disassembly, SCR file, snapshot or raw memory file into a PNG image
In an HTML disassembly produced by skool2html.py you can also:
use the image macros to build still and animated PNG images from graphic data
use the #AUDIO macro to build WAV files for sound effects and tunes
use the #R macro in annotations to create hyperlinks between routines and data blocks that refer to each other
use [Bug:*], [Fact:*] and [Poke:*] sections in a ref file to neatly render lists of bugs, trivia and POKEs on separate pages
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, Jet Set Willy and Hungry Horace.
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 HTML or assembly language):
$ 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 a file that can be fed to an assembler:
$ skool2asm.py game.skool > game.asm
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for skoolkit-9.4-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | afdfac69e7d45e52c3dd11297e30651378a1c417ecfd2a99adef786bba5b8cd5 |
|
MD5 | 2970bdb3aec2d22fc69035fa2d115319 |
|
BLAKE2b-256 | 79db159a729cea15e3de81796b736e5c16d054f73e95caeec8338fe9ad185652 |
Hashes for skoolkit-9.4-cp312-cp312-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9537588cdf6d7f6146284c93d86981c3c2eb045da32008357b9ab6db86606deb |
|
MD5 | 7fb39eb873f3c866abbdb9478b0ea8bc |
|
BLAKE2b-256 | 3f32da6a26e5703006c84c91d030e938ebdfdbdc716008f4edc1d799c6155700 |
Hashes for skoolkit-9.4-cp312-cp312-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 063a396a279811a0d5b11c83245b970e9c37e2006a03fff5e26b123113e15c97 |
|
MD5 | a4e837dd7d655d5cf226d432e1ff680b |
|
BLAKE2b-256 | 5ee6101a52b376fb4be5a8a5360ac68e5f24d9b6949a89880e79b631b2e950ba |
Hashes for skoolkit-9.4-cp312-cp312-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8429d3d2d1fdd3b4ba40f27a2646b8fcdfaa47aa43235ba65a74468f4c7b5ac8 |
|
MD5 | 06cddcc2c8c8e9dd7bfdf284784136fa |
|
BLAKE2b-256 | ecc9b1b4a23d0a5ab7fd34a11e5a54f8cbaf8bd12870b0199fdb7618bfe12b0e |
Hashes for skoolkit-9.4-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea074ec5aee877ba234e806e6e6e4d24ef173946d6be2c43c3e1e35a1a23fa4b |
|
MD5 | a0c1affed035c631a48ad157f92cd4f2 |
|
BLAKE2b-256 | df5c991e7ed4655241d361a3932e73750874369362fb84ce74ded67f424acf0d |
Hashes for skoolkit-9.4-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 284989019a0bf1a76b148de125217ec8436bbd7d3085de6eb9857838c8dbd272 |
|
MD5 | 0fadcf01aff16838c452039b0a703086 |
|
BLAKE2b-256 | 0eab17bfdb18f4b327e4cb7332b80683e90c2bdc2baac25212c4f1c42aa5b2f2 |
Hashes for skoolkit-9.4-cp312-cp312-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e064851471c6041d257ce24f5ba89d18e143688e174e70b80f2b7daf900f89bf |
|
MD5 | eba64d477beb1bc0c53132a00696c6c4 |
|
BLAKE2b-256 | 0e3c32b52a38aaf6305b8edfe4060c3deb3a7415a2d8578004503b4ff335abdf |
Hashes for skoolkit-9.4-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c280ee26f2f05dcf1ad3207250b98c62fdf077eb949cb48688f917674550b2c8 |
|
MD5 | bbdda7427f4aae92b6cef7e5077eaf41 |
|
BLAKE2b-256 | 321beba2e73c8682dc63482b3378f83b3fc6442b94386243ab6adae573b9694c |
Hashes for skoolkit-9.4-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3a3953b6768a3146412257de449a36df3c57a96d4dd658e0a26fc53b40f56e8 |
|
MD5 | cd98f8e56dfccb4fe6bf54d617b3a946 |
|
BLAKE2b-256 | a1abc0adaa31cfc88a532f2d7b9df7bfea3ba3dc0c41eaf109b92040d6c2c2ea |
Hashes for skoolkit-9.4-cp311-cp311-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e15c3c32d6b09d2d7f869721025d546c4577c00f126bad1d82154cf9d60f711d |
|
MD5 | 164cf3dd791d79bf5febdba7a6c39b95 |
|
BLAKE2b-256 | 2ee4bfcb68de6977acd9792572f0c36df42173db9db6e8df0f05fa922b06874a |
Hashes for skoolkit-9.4-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e4e3153c7efd20312c78d19527017b647dbe96267402a920fb429b0473c700b |
|
MD5 | 092fbb3395ffb95116050b81e25229f5 |
|
BLAKE2b-256 | 2fd312ea187977c006f6e26ba88adb29a76c179aa46e238f0743a6647e38d452 |
Hashes for skoolkit-9.4-cp311-cp311-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dba06bc221034d748c8f4115f2650d783fbffbc8a51a0171e382bfc35c8c10c9 |
|
MD5 | f255bf36d54343402da1c65f50fd4fe3 |
|
BLAKE2b-256 | 17b99491fedfced8776f6cc8558193db47e04204392073b67cb3d63f0f918617 |
Hashes for skoolkit-9.4-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1aa629dee618fb170d87247955a4087b8d90cde9e0a29cf738e029f49d469c8 |
|
MD5 | 4a341c8321310831625302f3ed897c78 |
|
BLAKE2b-256 | 7e7bf4c73e1dba89164a6cb41897bdc525be75fefcd1afd3174e7730a5ae8c89 |
Hashes for skoolkit-9.4-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64b687a674f6c90f64ab2604908190c535ac45fd0524c171f61dd870649cb35b |
|
MD5 | 60a4b39e30706959a2c2ffd433e34a45 |
|
BLAKE2b-256 | 99695c8f80c824d02908825b4f645eb5af7926b3348f861b441f8ad1dbab2e34 |
Hashes for skoolkit-9.4-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fecbe369bb07b9406c415c0fc79b9984eed30c5584575a6aecceb4d0fdbd130e |
|
MD5 | a85529f3b58018089559c79f3fbc3b1a |
|
BLAKE2b-256 | dac3d33027710f2a41d6a2ad6d6164d1c25338e9935c06a71533969c4e1300cc |
Hashes for skoolkit-9.4-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62508a116f9cc0db2402ed7281f054fed2781d17fb96c99947d67b2d6132f3a9 |
|
MD5 | e2d4ba0fd9fcb3d59a05f1c4fe79bcc2 |
|
BLAKE2b-256 | 436567001ab9ef2cfb21c6f60c6b7273e3295cedc7f9400ab3c2942dddc3dc17 |
Hashes for skoolkit-9.4-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec648c20a82161b4251c7c73b3877d6f88920d861be6fa1f9eed711a5951516b |
|
MD5 | 71d9f7c51506d2efce8d293675ef5336 |
|
BLAKE2b-256 | 8f087d2fdfaa848c98d082b9ab6d824c55745a94a1e74b6d757870885fa19861 |
Hashes for skoolkit-9.4-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59dfb4016df87ea7ee675b1f77334063996378f3f6e7e8da093e18ec8fce9707 |
|
MD5 | b48b7c8565c38be659aa02fa079efb52 |
|
BLAKE2b-256 | 00c00b183ac838b39aadf828ce5ab46166a031d7f01661bf3ae79ec87bfe275c |
Hashes for skoolkit-9.4-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5fbe1b54a884908ed1b56c3b730a6e1fba44dad9ccf6e1d5f0381ea6ffd1f53 |
|
MD5 | a137ae625618a25c9c131751e5c5ebf6 |
|
BLAKE2b-256 | 63079866c6f0cd56e42c519e5f2fc3a1b87d8194dadcd10ef6c69ece553e1524 |
Hashes for skoolkit-9.4-cp310-cp310-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 533c978b4c805d161f47f6fe5d0d80fdd68b7007ea188ac15cb53bcf3297b8f2 |
|
MD5 | 497e46e3e396e831e3a72b615964094b |
|
BLAKE2b-256 | 884ed160c27bc5e649928d27608115b6d4064e1fd42a8a76486a000edb44266b |
Hashes for skoolkit-9.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b75d23d22c58feece77fb0451cd1d0ad22fe86460c1c0c51d3fe51bd040b14df |
|
MD5 | 4eec7c57828f9447fbd91af0c8c55917 |
|
BLAKE2b-256 | 998280d038e93b390237e4962877b5724b56a4730e626f598d00699de7d33d51 |
Hashes for skoolkit-9.4-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 952b28bdc52f4830326b4faa93c89fa8c93ff3a8feca58a6b35d33a96aa66a60 |
|
MD5 | d4b898fdcd3b1442593243780010d5e9 |
|
BLAKE2b-256 | 693447b49ac4a634d2033801987b118f0718fbe7b19e57bd01fb52eb0d97dd06 |
Hashes for skoolkit-9.4-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b15e9a4b26e6908873f41024a3012128f28b2b10276477874b723a8eed638f2 |
|
MD5 | cc966e306ee5b9ccb19608510aa3ec4e |
|
BLAKE2b-256 | 1c5c3463d95169da57f948c2dd7627240f0e7792ce0bd394b12ee67953f30a33 |
Hashes for skoolkit-9.4-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a1efb6031b84d25b1008313fa1886c59e005d890e67699b153a9a38ca68f909 |
|
MD5 | 971370a7c0da82f7f413d351f19eb053 |
|
BLAKE2b-256 | c93f0cabe80412d3b835348df0d33419b3ca505c148fb614963f4547a0567e40 |
Hashes for skoolkit-9.4-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 308de4320f3765fcf16631c0cff0a9c904b8df7b88afe31b18e76b012e2a690c |
|
MD5 | f3511fd3a110e3aa4f1121790c531701 |
|
BLAKE2b-256 | ea966356bd40e5e1df0f0d478c5733f1a3ca3a841e8bcabeb20c35c6dbdfbe21 |
Hashes for skoolkit-9.4-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 982647197f216e169dbfc62e94e059d21e55125513107fd30ef1e9d5c9d34d11 |
|
MD5 | cf8797dba232780f3941ca29de8cc6a3 |
|
BLAKE2b-256 | a6d34172e78934981b794af9d499d254b99170a2e220e988f4817367114bb7d4 |
Hashes for skoolkit-9.4-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 486715d064ec2c68e74b665291d9c8d2b134e70f3e644fbf5e6fbfce8eaa5a4f |
|
MD5 | 8caff012fbd2a25bc81badd757eeeab4 |
|
BLAKE2b-256 | ba25aed3c4d59c25bdad4c4e286fcfb57d742c6276b5ef593916e8eff7432b9a |
Hashes for skoolkit-9.4-cp39-cp39-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66660bbc14c69d20d82034a4ebdead7010ffc3c6a5248f89692bb86ee577ada4 |
|
MD5 | dbc57ebf6edd6c7a6fbe8c9c013de5a2 |
|
BLAKE2b-256 | 48575cd6da38a26a1e8178ad2f1f1f76eae21ccc7f82dd2e9a99012e93491169 |
Hashes for skoolkit-9.4-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66191c59b19bfa3c34489972b80a196b19d38cec8c3d4bb7a3658b8545b7b41f |
|
MD5 | 107da137f305bb9a110d06e999efab9e |
|
BLAKE2b-256 | 2cd4bcba0b9a68949a760e71d91cf019f79f90fa05f40a0a046ef8788c83475d |
Hashes for skoolkit-9.4-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5a8bca9e77fbb7c06cbd00fe3caee13c33e34b4ed177012188d32cec6ca699b |
|
MD5 | e9b830ac857ba844336a58af4bf6a8d2 |
|
BLAKE2b-256 | c8f66cb2cfae2e3bd088fdca93c9b412d230b035103d50766c9d067d355fb281 |
Hashes for skoolkit-9.4-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb8cd6848928f7a146a2e6d072fa8f4fcc22ade822e44b4bf2dddc23cb8b6898 |
|
MD5 | 80b2e445619d01d758dbc3e086dd1cde |
|
BLAKE2b-256 | 5cee38c88632436b318e3213bffa5844e3e7f3bde3c2b3274aa8c3094dfed1bb |
Hashes for skoolkit-9.4-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3c96beabddd3e462ec86a2ccc3815abfc0bc6807781ea662a11b9e910261eb6 |
|
MD5 | 84c7194c52a2c175c608886deb6e5754 |
|
BLAKE2b-256 | 0161041dff4898a9abbd8f19ed347ff832ae41cb63b8de039d61bd3192ff915f |
Hashes for skoolkit-9.4-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e20ff690dc9314d3c154a07cf0e7ee58ee2f4786428658c9303526cb467caf81 |
|
MD5 | 5d727bb53d0c589b86c3c8867f36c57c |
|
BLAKE2b-256 | 3f046f4bf8988a3f63c5896dcc57110cec5b821475e004bc50c4d1f50f7b424d |
Hashes for skoolkit-9.4-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1df6ae49826c5dcbe74c297440448a8b099627a272431d90b80bcbc4358f591c |
|
MD5 | 534237ee6f7a9b78ceed8703cdd58cf9 |
|
BLAKE2b-256 | b33f1e22912a14a16f502ebea9a962e7423fbd336cf51fe390ad91449a24a7bd |
Hashes for skoolkit-9.4-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3afe43a135a6b94e13682fb788d72359c96aabeab5dcac19d58eb5fe5ed6aa9 |
|
MD5 | 58b733b97c890aa044932dec0c0c22da |
|
BLAKE2b-256 | 01a2b552518f3af6e3bfcdd1f980026700760f2c3479233d12b71bc931780c6f |
Hashes for skoolkit-9.4-cp38-cp38-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f5735cd5c99971e28e52906a88f956043200e8aa3a77e05df71a80febc6bc78 |
|
MD5 | b47b74bdb89df63992252f0b7ab349b6 |
|
BLAKE2b-256 | b3e27b5346781f04ca0fe67905b6ec88db39cdebacf414986242b47065cd5ee4 |
Hashes for skoolkit-9.4-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c93b186e2aa14bb7bf9d7696224f352743432db3b36c4b83557645a5708e213 |
|
MD5 | 9ff304ba233df773367d12a4d168496b |
|
BLAKE2b-256 | c513156f213ef5a435fbcccb5d6a714f87bc23436adeb35b7b56087e4ea60f21 |
Hashes for skoolkit-9.4-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4273e88858f5194f249efe96dab28b5e266d542fd44a97aadebeaead61faf96f |
|
MD5 | f5f9319507eb3cce707534e83766f980 |
|
BLAKE2b-256 | 76497d5d6cccd560b893986429aa6325545d4e5aea90eb9d841f399f914f705d |
Hashes for skoolkit-9.4-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96372e987e3e45c799f9666f1194b359ec56764616b825e8199909ef0c0c18e8 |
|
MD5 | 864aaa1bbe9073696ce5f981bd42f7ed |
|
BLAKE2b-256 | 26bcfdd0a2bb30eef0dbb5f907e74ff937119b93fa1f13f76492efafd3ab8f7c |
Hashes for skoolkit-9.4-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9bb43a898a5e6b812328c00c15c9403794a65013ca6b4469b3c86d7fe5241d8 |
|
MD5 | 4613b39226b5fd9c804a7337431cedc5 |
|
BLAKE2b-256 | 8d6bd8e44770d8a9b8a2a300094d994288c374beff7717df2c5e8f4b183f4168 |