class

Tchipi8::Chip8

Inherits Reference < Object

Constants

TIMER_TICK_PERIOD = Time::Span.new(nanoseconds: 1000000000 // 60)

Constructors

Instance methods

custom_flags
Source
custom_flags=(custom_flags : Hash(Symbol, Bool))
Source
delay_timer
Source
delay_timer=(delay_timer : UInt8)
Source
hault
Source
hault=(hault : Bool)
Source
i=(i : UInt16)
Source
io=(io : IO::Controller)
Source
load_program(file : File) : Nil
Source
memory
Source
memory=(memory : Array(UInt8))
Source
pc=(pc : UInt16)
Source
pixels
Source
pixels=(pixels : Array(Array(UInt8)))
Source
run(clock_mhz = 10) : Nil
Source
sound_timer
Source
sound_timer=(sound_timer : UInt8)
Source
stack
Source
stack=(stack : Array(UInt16))
Source