cbmshell
This Python module provides an interactive shell to read and write files to disk image files (.d64, .d71, .d80, .d81, .d82) and tape image files (.t64, .tap) used by various Commodore microcomputer emulators and tools.
It permits moving files between images and the local file system as well as other actions such as directory listing and file deletion.
It provides many common benefits of a traditional UNIX shell including filename completion, command history and output redirection.
Quickstart Guide
The shell is started by running the cbm-shell command, this presents the prompt
(cbm)
The list of available commands is shown by the help command
(cbm) help Documented commands (use 'help -v' for verbose/'help <topic>' for details): =========================================================================== alias detach from_petscii lock rename shell unlist attach directory help macro renumber shortcuts unlock cat edit history merge run_pyscript text untext copy file images mkdir run_script to_petscii delete format list quit set token_set
Detailed information for a command is shown using help <command>.
Images need to be attached to a drive number in order to be used.
(cbm) attach mydisk.d64 Attached mydisk.d64 to 0
Up to ten images can be attached at any one time.
Files in an image can be addressed by prefixing the drive number followed by a colon. For example, to list a BASIC program in the image
(cbm) list 0:PRINT 5 INPUT"UPPER OR LOWER";C$:SA=0:IFC$="L"THENSA=7 10 INPUT"FILENAME";F$ 11 OPEN4,4,SA 15 OPEN2,8,2,F$+",S,R" 20 GET#2,A$:IFST<>0THENPRINT#4:CLOSE4:CLOSE2:END 21 IFA$="π"THENA$="," 30 PRINT#4,A$;:GOTO20
Full documentation on Read the Docs.
TODO
more commands
better error handling
Metadata
Release files for cbmshell 1.18
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cbmshell-1.18.tar.gz | 19.8 kB | Without provenance | Details for cbmshell-1.18.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cbmshell-1.18-py3-none-any.whl | Python 3 | none | any | Details for cbmshell-1.18-py3-none-any.whl |
Total release size: 41.8 kB
Release files / cbmshell-1.18.tar.gz
| Download URL | cbmshell-1.18.tar.gz |
|---|---|
| Size | 19.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
61c230369176bc70b8cd0d88b713e4613a4489b4e6eeca213e1ad11b8dbc3b50
|
|
BLAKE2b-256 checksum How to use checksums |
9cb0e2396199aa5b4916d01b8960a662e70c1c16a38db1bbfa0f9f13f4c5b8c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Mageia","version":"9","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / cbmshell-1.18-py3-none-any.whl
| Download URL | cbmshell-1.18-py3-none-any.whl |
|---|---|
| Size | 22.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a2702d323181fa9b4b77fbde22979bc5b87c9e5fad63a1672e00772b754656ed
|
|
BLAKE2b-256 checksum How to use checksums |
9136d576c2e472d6a35b8f2aa260de946b0ab00f436195ce57f9e0aabeb7a321
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Mageia","version":"9","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for cbmshell 1.18
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.