Skip to main content

A python library with a set of command line interfaces that will assist a developper of software running on emulators of the family of computers made by Thomson during the 1980s, models "MO" and models "TO".

Project description

Sporniket's MO/TO tools

Latest version Workflow status Download status

[WARNING] Please read carefully this note before using this project. It contains important facts.

Content

  1. What is Sporniket's MO/TO tools, and when to use it ?
  2. What should you know before using Sporniket's MO/TO tools ?
  3. How to use Sporniket's MO/TO tools ?
  4. Known issues
  5. Miscellanous

1. What is Sporniket's MO/TO tools, and when to use it ?

Sporniket's MO/TO tools is a python library with a set of command line interfaces that will assist a developper of software running on emulators of the family of computers made by Thomson during the 1980s, models "MO" and models "TO".

The current list of tools :

  • Tools for basic language
    • moto_nl : number the lines of a basic source that have line unnumbered ; the command line interface is designed after the command nl.
    • moto_prettier : consistently format the provided utf-8 encoded basic source file
    • moto_bas2lst : convert tokenized or ASCII basic program into an utf-8 encoded basic source file
    • moto_lst2bas : convert an utf-8 encoded source file into tokenized or ASCII basic program
  • Tools for manipulating media images (tape, floppy disks) for emulation and exchange
    • moto_tar : list, create or extract *.k7 tape images ; the command line interface is designed after the command tar (Tape ARchives)
    • moto_sdar : list, create or extract *.sd SDDrive disk images (a.k.a. SD ARchives) ; the command line interface is also designed after the command tar

Licence

Sporniket's MO/TO tools is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Sporniket's MO/TO tools is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Release notes

v0.0.4

Interim version, work has progressed tremendously after a year of hiatus. Tools have limited implementation but are not complete.

Support for python 3.8 and 3.9 is removed ; support for python 3.11, 3.12, and 3.13 is added

  • Resolves #12 : [moto_lst2bas][mo5] Convert to tokenized format
  • Resolves #14 : [moto_sdar] list the content of a disk archive
  • Resolves #15 : [moto_sdar][moto_fdar] A library to handle the data layout of a disk image
  • Resolves #17 : [moto_sdar][moto_fdar] A library to handle the file system of the drive operating system
  • Resolves #20 : [moto_sdar][moto_fdar] A library to display the content being processed
  • Resolves #28 : [moto_sdar][moto_fdar] extract the content of a catalog entry
  • Fixes #31 : [bug] block allocation numbering and reserved track
  • Resolves #33 : [moto_sdar] extract the content of a disk archive

v0.0.3

  • Resolves #6 [moto_prettier] force upper case outside litteral string

v0.0.2

  • Resolves #4 : [moto_tar][mo5] adjust the minimal sequence to spot the start of a bloc
  • Resolves #5 : [moto_bas2lst] Convert basic ascii file to plain text utf-8 file (#9)
  • Resolves #7 : [moto_lst2bas] Convert plain text files into ASCII basic

v0.0.1

The target platform is Thomson MO5.

Provides the following tools :

  • moto_tar : create, list or extract files to or from a tape archive format ; the command line interface is designed after the command tar.
  • moto_nl : number the lines of a basic source that have line numbers ; the command line interface is designed after the command nl.

2. What should you know before using Sporniket's MO/TO tools ?

Sporniket's MO/TO tools is written in python and supports python 3.10 up to 3.13

It uses the pdm utility to manage its dependencies and management tasks

see README packaging for further details.

Do not use Sporniket's MO/TO tools if this project is not suitable for your project.

3. How to use Sporniket's MO/TO tools ?

From sources

To get the latest available models, one must clone the git repository, build and install the package.

git clone https://github.com/sporniket/moto-tools.git
cd moto-tools
pdm run test
pdm build
pipx install $(ls ./dist/*.whl)

Then, invoke one of the command line interfaces :

python3 -m moto_tools_tar [option] input_file

Using pip

pipx install moto-tools-by-sporniket

Then, invoke the command line interface :

python3 -m moto_tools_tar [option] input_file

4. Known issues

See the project issues page.

5. Miscellanous

Supplemental documentation :

Report issues

Use the project issues page.

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

moto_tools_by_sporniket-0.0.4.tar.gz (100.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

moto_tools_by_sporniket-0.0.4-py3-none-any.whl (39.3 kB view details)

Uploaded Python 3

File details

Details for the file moto_tools_by_sporniket-0.0.4.tar.gz.

File metadata

  • Download URL: moto_tools_by_sporniket-0.0.4.tar.gz
  • Upload date:
  • Size: 100.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for moto_tools_by_sporniket-0.0.4.tar.gz
Algorithm Hash digest
SHA256 c7bbff88e268a30ede47e6b3dc4d5d4d8acf163eb764667139ce2c9ed324cf57
MD5 069105eda0bc1e8e13f0578d2e473da1
BLAKE2b-256 904393857b6d7c87400e553e616935b74dfdfe9fa5e2f0b61aa2e8b037913c30

See more details on using hashes here.

File details

Details for the file moto_tools_by_sporniket-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for moto_tools_by_sporniket-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 58e7a3fa193edc788c101d134cc32394f75f60eab89fb6fb8a3b3a023b70cb76
MD5 74c68d93967d4c9476e2ee3e71ff48f0
BLAKE2b-256 c51b2304f7c47d8c8ddb8912dd4490d9915069cffa2888dce327b862454bf47a

See more details on using hashes here.

Supported by

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