raydac / bkbin2wav

Converter of .BIN snapshots (BK-0010(01) emulator format) into WAV sound files to load through TAP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

License Apache 2.0 PayPal donation YooMoney donation

What is it?

It is a small utility to convert .BIN snapshots (BK-0010(01) emulator format) into sound WAV files which can be played and recognized by real BK-0010 TAP reader.
The Project is based on old QBasic based converter project.

Description in Russian

Утилита для конвертации BIN файлов (снапшотов для эмуляторов БК-0010 и БК-0010-01) в аудио WAV формат. Позволяет получать файлы с обычной скоростью загрузки и турбированные, пригодные к загрузке на БК-0010 через магнитофонный вход.

What is BK-0010

BK-0010 was the most popular soviet 16-bit home computer platform in 80-th and my first computer (still working).

Pre-built binaries?

Pre-compiled versions of the utility can be downloaded from the last release page.

Known archives with snapshots

How to use it?

Initially the converter was written in Python but then I made GoLang version. For Python version you have to install Python but pre-compiled GoLang version can be used as simple executable files without tricks.
The Utility is command line interface one, you can call it with listed configurations:

Example for native version

bkbin2wav-windows386.exe -i Arkanoid.bin -o Arkanoid.wav

Example for python version

python bkbin2wav.py -i Arkanoid.bin -o Arkanoid.wav

Start without arguments

If start the application without parameters, then it will print list of allowed options

bkbin2wav -i <binfile> [-a] [-o <wavfile>] [-n <name>] [-s addr] [-t]

    Command line options:
        -h          Print help
        -f          Use file size instead of .BIN header size field value
        -a          Amplify the audio signal in the result WAV file
        -i <file>   The BIN file to be converted
        -o <file>   The Result WAV file (by default the BIN file name with WAV extension)
        -n <name>   The Name of the file in the TAP header (must be less or equals 16 chars)
        -s <addr>   The Start address for the TAP header (by default the start address from the BIN will be used)
        -t          Use the double frequency "turbo" mode

Sometime .BIN files may contain wrong data size value defined in their header, in the case you can use -f flag to enforce usage of physical file length instead of the data length defined in the BIN header.

About

Converter of .BIN snapshots (BK-0010(01) emulator format) into WAV sound files to load through TAP

License:Apache License 2.0


Languages

Language:Go 55.8%Language:Python 44.2%