class Chip8::Console
Defined in:
chip8/console.cr
Constant Summary
-
DISPLAY_SIZE =
WIDTH * HEIGHT
-
FONTSET =
[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].map(&.to_u8)
-
HEIGHT =
32_u16
-
KEYS =
16_u8
-
MEM_SIZE =
4096_u16
-
REGISTERS =
16_u8
-
SPRITE_WIDTH =
8_u8
-
STACK_SIZE =
16_u8
-
WIDTH =
64_u16
Constructors
Instance Method Summary
Constructor Detail
Instance Method Detail
def
display : Array(UInt8)
#
def
keypress(index, flag)
#