Skip to main content
https://github.com/codeatcpp/zxtools/actions/workflows/python-package.yml/badge.svg https://codecov.io/gh/codeatcpp/zxtools/branch/master/graph/badge.svg https://img.shields.io/github/release/codeatcpp/zxtools.svg?style=flat https://img.shields.io/pypi/v/zxtools.svg?style=flat https://img.shields.io/github/issues/codeatcpp/zxtools.svg https://app.fossa.io/api/projects/git%2Bgithub.com%2Fjia3ep%2Fzxtools.svg?type=shield

Here’s a set of utils to manipulate files that were copied from a TR-DOS diskette or from a tape.

Originally the tools were written to simplify the following workflow:

  1. Grab diskette image using Hobeta tool.

  2. Strip the file header and save the result to a new file.

  3. Convert resulting Zeus Z80 assembler file to the plain text format.

TODO: I have future plans to implement some more tools I need to restore my old ZX Spectrum projects.

But you can use them in the way you need. And it’s very easy to use: download the package, run setup.py (or install via pip install zxtools), invoke in the following way:

$ python3 -m zxtools.hobeta strip input.hobeta result.zeus
$ python3 -m zxtools.zeus2txt result.zeus listing.asm --include-code
https://raw.githubusercontent.com/codeatcpp/zxtools/master/zeus2txt.jpg

NOTE: Python 3 is required to use this package, and Python 2 is not supported but you are welcome to fix it.

To view the resulting files with syntax colorization you can use special Visual Studio Code plugin:

https://raw.githubusercontent.com/codeatcpp/vscode-language-z80-asm/master/vscode.png

Release files for zxtools 1.0.24

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zxtools 1.0.24
File Size Uploaded
zxtools-1.0.24.tar.gz 15.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for zxtools 1.0.24
File Interpreter ABI Platform
zxtools-1.0.24-py3-none-any.whl Python 3 none any Details

Total release size: 25.0 kB

Release files / zxtools-1.0.24.tar.gz

Download URL zxtools-1.0.24.tar.gz
Size 15.2 kB
Tags Source
SHA-256 checksum
How to use checksums
15c92c6c89a1736dcac3e14755e46ff3766e005ec898481899d7b948899a1da3
BLAKE2b-256 checksum
How to use checksums
2974e7d0a89e85386d6ff2426c9920e8a624da8632ed7b58c089fabe400d14ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.4

Release files / zxtools-1.0.24-py3-none-any.whl

Download URL zxtools-1.0.24-py3-none-any.whl
Size 9.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c1098fc42aa0d50448b0a6213ff2b27033cfc2e369c17cae7eab3b8860735002
BLAKE2b-256 checksum
How to use checksums
49be1cca8fccb2c3836c09a704457ae1bc5cb16717250a1f17d7f8c4e3d7c18c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.4

Release history Release notifications | RSS feed

This release

1.0.24 This release

2 release files

1.0.22

1 release file

1.0.20

1 release file

1.0.15

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page