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:
Grab diskette image using Hobeta tool.
Strip the file header and save the result to a new file.
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
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:
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)
| File | Size | Uploaded | |
|---|---|---|---|
| zxtools-1.0.24.tar.gz | 15.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|