Top Level Namespace

Defined in:

Constant Summary

CHANNEL_COUNT = 1
DISPLAY_HEIGHT = 32
DISPLAY_WIDTH = 64

Display

FONT = [240, 144, 144, 144, 240, 32, 96, 32, 32, 112, 240, 16, 240, 128, 240, 240, 16, 240, 16, 240, 144, 144, 240, 16, 16, 240, 128, 240, 16, 240, 240, 128, 240, 144, 240, 240, 16, 32, 64, 64, 240, 144, 240, 144, 240, 240, 144, 240, 16, 240, 240, 144, 240, 144, 144, 224, 144, 224, 144, 224, 240, 128, 128, 128, 240, 224, 144, 144, 144, 224, 240, 128, 240, 128, 240, 240, 128, 240, 128, 128] of Byte
FONT_ADDRESS = 80_u8
FRAMERATE = 60
INT16_MAX = (((2 ** 16) / 2) - 1).to_i16
KEYPAD_MAP = {SF::Keyboard::Num1 => 1, SF::Keyboard::Num2 => 2, SF::Keyboard::Num3 => 3, SF::Keyboard::Num4 => 12, SF::Keyboard::Q => 4, SF::Keyboard::W => 5, SF::Keyboard::E => 6, SF::Keyboard::R => 13, SF::Keyboard::A => 7, SF::Keyboard::S => 8, SF::Keyboard::D => 9, SF::Keyboard::F => 14, SF::Keyboard::Z => 10, SF::Keyboard::X => 0, SF::Keyboard::C => 11, SF::Keyboard::V => 15}
MEMORY_SIZE = 4096
NAME = "crystal8"
ROM_ADDRESS = 512
SAMPLE_RATE = 44100
UINT8_MAX = 2 ** 8
VERSION = "0.1.0"