Giter Club home page Giter Club logo

r8format_fork's Introduction

r8format - Tools for Manipulating and Converting Retro-8-bit File Formats

This repository contains tools (mainly written in Python) and Python libraries for manipulating and converting some common file formats used on old 8-bit computers.

Installation

The tools are run directly from the bin/ directory; no installation is required. The libraries are under pylib/. All files under bin/ that use the libraries find them under the pylib/ at the same level.

These are tested only under Linux (the top level ./Test script will run the unit and functional tests) but probably work under Windows as well, though this is untested.

A PyPI package is planned.

If you have a need to run this on a platform that isn't working, please contact the authors (below) for support.

Programs

bastok

bastok is a program for de-tokenising and re-tokenising MS-BASIC programs; it currently supports MSX-BASIC 2.0. Its special powers include user-configurable conversion between MSX character sets/encodings and Unicode and an "expanded" Unicode file format that allows better formatting and extra comments while being able to compress this back down to a format that uses minimal space in microcomputer memory. See doc/bastok.md for full documentation.

The programs under bin/ include:

  • basdump: Hex dump of tokenised MS-BASIC programs that formats the information to make clear the line pointer, line number and tokenised text information.
  • bddiff: Use meld or another diff tool to show the differences between the basdump output of two tokenised MS-BASIC programs.
  • blines: Produce single BASIC lines from ASCII/Unicode BASIC source that may split lines using detok's expanded format.
  • detok: De-tokenise a BASIC program to Unicode.

cmtconv

cmtconv converts WAV files of cassette tape saves to .cas and other data file formats, and vice versa. It also understands higher-level formats such as BASIC and machine-language files. See doc/cmtconv.md for full documentation.

The programs under bin/ include:

  • cmtconv: Conversion program. Use -h for help.
  • analyze-cmt: Analysis of (usually unknown) CMT save formats in WAV files.

Other Programs

The programs under bin/ include:

  • msx-dasm: Disassemble an MSX BSAVE-format program using z80dasm.

Python Libraries

The following top-level modules are under pylib:

  • binary: Object file and assembler symbol file formats.
  • bastok: MS-BASIC de- and re-tokenisation.
  • cmtconv: Microcomputer CMT (cassette tape) image handling.

Support

Contact Curt Sampson (usually known as 'cjs') if you have questions, comments, feature requests, or just want help using this. The following are good places to get in touch, more or less in order of preference:

  • The "The MSX2 Channel" server on Discord, in the #development group. (Feel free to start a thread if the question is not trivially answered.)
  • @cjs_cynic on Telegram
  • 0cjs on Discord.
  • Email to [email protected], but a reply from that might take days.

Authors

r8format_fork's People

Contributors

0cjs avatar croys avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.