Set of MC-10 tools
Project description
mc10-tools
This is a simple collection of tools to assist with developing software for the TRS-80 Microcolor Computer MC-10.
Installation
git clone https://github.com/jamieleecho/mc10-tools.git
cd mc10-tools
make install-pre-commit
make install
Tools
c10tobas
Usage: c10tobas [OPTIONS] INPUT_FILE OUTPUT_FILE
Extract and detokenizes the *.bas file in INPUT_FILE and stores it in
OUTPUT_FILE
Options:
--version Show the version and exit.
--help Show this message and exit.
bastoc10
Usage: bastoc10 [OPTIONS] INPUT_FILE OUTPUT_FILE
Tokenizes the given *.bas file specified byt INPUT_FILE, outputing the
result into a *.c10 file specified by OUTPUT_FILE.
Options:
--version Show the version and exit.
--help Show this message and exit.
Developing and Testing
You will need a fairly modern python environment with uv installed.
You can begin by entering:
make install-pre-commit
make sync
make run-tests
The Makefile makes it easy to perform the most common operations:
make check-allruns linting anduv.lockchecksmake check-lintchecks for linting issuesmake check-lockverifies theuv.lockis aligned topyproject.tomlmake cleancleans the virtual environment and cachesmake defaultruns a default set of checks on the codemake fix-allformats the code, fixes lint errors and runs locksuv.locktopyproject.tomlmake fix-formatformats the codemake fix-lintfixes linting issuesmake fix-lint-unsafefixes linting issues potentially adding inadvertant bugsmake helpoutputs the different make optionsmake installbuild install the distributionmake install-pre-commitinstalls pre-commit hooksmake locklocksuv.locktopyproject.tomlmake install-pre-commitinstalls pre-commit hooksmake run-testsruns the unit testsmake syncsyncs the python environment withuv.lock
.vscode/settings.json is set so that unit tests can be run without further configuration.
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
mc10_tools-0.9.tar.gz
(11.0 kB
view details)
File details
Details for the file mc10_tools-0.9.tar.gz.
File metadata
- Download URL: mc10_tools-0.9.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7be988946dc5a26145e12a759b3e308197c8c3537e3d403ab98c56a699c199fa
|
|
| MD5 |
dd557ec9a82bb41e60c8ad88227cb75e
|
|
| BLAKE2b-256 |
7f6bd4981daea308dd98909f6be68318b2d6775a6cbed688cb9680cd036560ab
|
Provenance
The following attestation bundles were made for mc10_tools-0.9.tar.gz:
Publisher:
make-release.yml on jamieleecho/mc10-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mc10_tools-0.9.tar.gz -
Subject digest:
7be988946dc5a26145e12a759b3e308197c8c3537e3d403ab98c56a699c199fa - Sigstore transparency entry: 190621856
- Sigstore integration time:
-
Permalink:
jamieleecho/mc10-tools@400365dfa8ace5b8ecb5e308a763d74218f162e1 -
Branch / Tag:
refs/tags/0.9 - Owner: https://github.com/jamieleecho
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
make-release.yml@400365dfa8ace5b8ecb5e308a763d74218f162e1 -
Trigger Event:
workflow_dispatch
-
Statement type: