Giter Site home page Giter Site logo

weshatheleopard / bktools Goto Github PK

View Code? Open in Web Editor NEW
11.0 5.0 1.0 3.43 MB

All kinds of tools for BK-0010 (my personal project open for public to see)

License: GNU General Public License v3.0

Ruby 15.04% Assembly 84.96%
bk0010 bk-0010 tape-format floppy-disks

bktools's Introduction

bktools

All kinds of tools for BK-0010 (my personal project open for public to see)

CircleCI

Standard (ROM) tape format

Unlike some other renditions, this description has been derived from the analysis of the actual BK-0010 firmware.

The code that supports this format is located in the computer's ROM. No additional software is required to handle it.

Description of standard tape format.

Accelerated tape format "HELP7"

This format was supported by a number of application programs that had to be loaded first.

Description of HELP7 tape format.

Using this tool

Reading data from a WAV file

require 'mag_reader' ; m = TapeReader.new('name.wav', 50); m.read

Saving read file to disk

m.bk_file.save

Load file from the disk

f = BkFile.load "some_file_name"

Compare files and print discrepancies

f1 = BkFile.load "some_file_name"
f2 = BkFile.load "another_file_name"
f1.compare(f2)

Writing data to a WAV file

require 'mag_writer' ; writer = MagWriter.new(bk_file); writer.save('some_filename.wav')

Automatic splitting

In case you have one big WAV image of a magnetic tape with multiple files on it, there's a method that will split such file into a few WAV files corresponding to a standard-format tape file each.

require 'mag_reader' ; m = TapeReader.new('tape.wav', 50); m.split_tape

Reading floppy disks

Now this toolset supports reading data from floppy disks.

Experimental features

Display file as octal printout

bk_file.display

Display file as PDP-11 disassembly

bk_file.disassemble

Display labels instead of addresses

bk_file.disassemble_with_labels

bktools's People

Contributors

weshatheleopard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

zer0nka

bktools's Issues

[Feature Request] Support for FluxEngine and greaseweazle

I've built an opensource GreaseWeazle floppy reader and trying to read/decode and encode/write BK floppies usinf FluxEngine software.
Unfortunately it seems FluxEngine decoder unable to decode some of my weared floppies and the FluxEngine encoder can not write correct data from existing image to new BK floppies :(

It will be cool to have an utility to debug and rescue old BK floppies using open source GreaseWeazle reader hardware or using flux data readed by open source FluxEngine. Also to write floppies from raw images...

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.