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.6

Interim version, moto_fdar, the variant of moto_sdar that handle emulator floppy images, is available.

  • Resolves #48 : [moto_tar] Output the list of files when creating or extracting quietly
  • Resolves #50 : [moto_fdar] port moto_sdar to process *.fd images
  • Resolves #52 : [moto_sdar][moto_fdar] 'auto.bat' file MUST be flagged as tokenized basic file when creating/adding to a disk image archive

v0.0.5

Interim version, moto_sdar is now usable, but archives created with it need to be tested on emulators and real hardware.

  • Fixes #35 : [bug][moto_bas2lst] It should not emit empty lines
  • Resolves #30 : [moto_sdar][moto_fdar] put content as a new catalog entry
  • Resolves #38 : [moto_lib] DiskSector allows to change the data
  • Resolves #41 : [moto_sdar][moto_fdar] Create a disk image
  • Resolves #42 : [moto_sdar][moto_fdar] display pre- or post- processing of a file
  • Resolves #46 : [moto_sdar][moto_fdar] Update a disk image

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.6.tar.gz (165.0 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.6-py3-none-any.whl (64.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: moto_tools_by_sporniket-0.0.6.tar.gz
  • Upload date:
  • Size: 165.0 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.6.tar.gz
Algorithm Hash digest
SHA256 9e2a98e311917faa2d2792e36a0155ecea02da4820c45c883b2302c32a39ffc9
MD5 6635259997d9a210489c25a6312480a1
BLAKE2b-256 8943ae1c3d47741db56ab59785a44deab610f2bc83518b5bdd2e507f91698208

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for moto_tools_by_sporniket-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 3434ae93b3efb191f7cc87f26e5234b947538796ac7e0767e0e4f2ce272cf57a
MD5 100342729b5463017557606ced5e8049
BLAKE2b-256 8050f69d82c35fd628942e7790c7bc960b1746f8bd729a5d63ea8876b184d236

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