Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ikskuh/cbm-tools
A small collection of CBM computer related tools
https://github.com/ikskuh/cbm-tools
c128 c64 cbm commodore-64 zig ziglang
Last synced: 27 days ago
JSON representation
A small collection of CBM computer related tools
- Host: GitHub
- URL: https://github.com/ikskuh/cbm-tools
- Owner: ikskuh
- Created: 2020-12-16T20:16:13.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-01-06T17:44:10.000Z (10 months ago)
- Last Synced: 2024-05-17T11:43:01.091Z (6 months ago)
- Topics: c128, c64, cbm, commodore-64, zig, ziglang
- Language: Zig
- Homepage:
- Size: 15.6 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CBM Tools
My collection of smaller tools related to [CBM](https://de.wikipedia.org/wiki/Commodore_International) computers like C64 or C128.
## `cbm-basic`
`cbm-basic` is a simple tokenizer/detokenizer to convert your BASIC `PRG` files into plain text files or back.
**Usage:**
```
cbm-basic [fileName]
Supported command line arguments:
-h, --help Prints this help text.
--start-address [num] Defines the load address of the basic program. [num] is decimal (default) or hexadecimal (when prefixed).
-o, --output [file] Sets the output file to [file] when given.
-m, --mode [mode] Sets the mode to `compile` or `decompile`.
-d, --device [dev] Sets the device. Supported devices are listed below.
-V, --version [vers] Sets the used basic version. Supported basic versions are listed below.In `compile` mode, the application will read BASIC code from stdin or [fileName] when given and will tokenize it into a CBM readable format.
Each line in the input must have a decimal line number followed by several characters. The input encoding is assumed to be PETSCII.In `decompile` mode the application will read in a BASIC PRG file and will output detokenized BASIC code.
Each line in the output will be prefixed by a decimal line number and a space. The output encoding is assumed to be PETSCII.Supported devices:
c64, c128Supported BASIC versions:
1.0, 2.0, 3.5, 7.0
```### `cbm2wav`
(*Planned*) Converts `PRG` files to audio files that can be used with a datassette.