Skip to main content

Tools to manipulate files from ZX Spectrum

Project description

https://img.shields.io/travis/codeatcpp/zxtools/master.svg?style=flat 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 http://img.shields.io/pypi/dm/zxtools.svg?style=flat

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

Project details


Download files

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

Source Distribution

zxtools-1.0.22.tar.gz (12.8 kB view details)

Uploaded Source

File details

Details for the file zxtools-1.0.22.tar.gz.

File metadata

  • Download URL: zxtools-1.0.22.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for zxtools-1.0.22.tar.gz
Algorithm Hash digest
SHA256 bb87cb811526fc8310e864172af71dba21b0cc8e2633f1ac95fd68872ad524e8
MD5 4fff975819dcfc99c03fec9ed2365d16
BLAKE2b-256 1a8826278c6adb61ec8595ef15240498dcdffa988a8151961c18c4da626bf396

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page