Module: SMPTool

Defined in:
lib/smp_tool.rb,
lib/smp_tool/version.rb,
lib/smp_tool/basic_10.rb,
lib/smp_tool/basic_20.rb,
lib/smp_tool/filename.rb,
lib/smp_tool/volume_io.rb,
lib/smp_tool/autoloader.rb,
lib/smp_tool/virtual_volume.rb,
lib/smp_tool/volume_io/data.rb,
lib/smp_tool/volume_io/dir_seg.rb,
lib/smp_tool/volume_io/dir_entry.rb,
lib/smp_tool/volume_io/directory.rb,
lib/smp_tool/volume_io/volume_io.rb,
lib/smp_tool/virtual_volume/utils.rb,
lib/smp_tool/volume_io/bootloader.rb,
lib/smp_tool/volume_io/home_block.rb,
lib/smp_tool/virtual_volume/volume.rb,
lib/smp_tool/volume_io/file_content.rb,
lib/smp_tool/volume_io/dir_seg_header.rb,
lib/smp_tool/virtual_volume/data_entry.rb,
lib/smp_tool/virtual_volume/volume_data.rb,
lib/smp_tool/virtual_volume/volume_params.rb,
lib/smp_tool/virtual_volume/file_interface.rb,
lib/smp_tool/virtual_volume/data_entry_header.rb,
lib/smp_tool/virtual_volume/utils/file_converter.rb,
lib/smp_tool/virtual_volume/utils/file_extracter.rb,
lib/smp_tool/virtual_volume/volume_params_contract.rb,
lib/smp_tool/virtual_volume/utils/converter_to_volume_io.rb,
lib/smp_tool/virtual_volume/utils/volume_params_validator.rb,
lib/smp_tool/virtual_volume/utils/converter_from_volume_io.rb,
lib/smp_tool/virtual_volume/utils/empty_vol_data_initializer.rb

Overview

Lib to work with Elektronika MK90 bin volumes.

Defined Under Namespace

Modules: Basic10, Basic20, VirtualVolume, VolumeIO Classes: Autoloader, Error, Filename

Constant Summary collapse

PAD_BYTE =
0x20
PAD_CHR =
PAD_BYTE.chr.freeze
PAD_WORD =
0x2020
N_SYS_CLUSTERS =

Sizes, in clusters:

2
N_CLUSTERS_PER_DIR_SEG =

Bootloader + home block.

2
N_CLUSTERS_MAX =
127
CLUSTER_SIZE =

Sizes, in bytes:

512
HEADER_SIZE =
10
2
ENTRY_BASE_SIZE =
14
RAD50_FN_SIZE =

Sizes, in 16-bit words:

3
EMPTY_ENTRY =

Directory entry status codes.

0x0200
PERM_ENTRY =

Empty entry.

0x0400
0x0800
DEF_CH_JOB =

Default entry attributes:

0x0000
DEF_DATE =
0xFFFF
VERSION =
"0.1.0"