class Vm::Interpreter
- Vm::Interpreter
- Reference
- Object
Defined in:
vm/interpreter.crConstant Summary
-
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]
Constructors
Instance Method Summary
- #char_font_p(char)
- #cpu_cycle : Nil
- #load_fontset!
- #load_program! : Nil
- #log(str)
- #next_code!
- #process_(opcode) : Nil
- #read_opcode
- #repeat(hz : Int, in_fiber : Bool, &block)
- #repeat(hz : Int, &block)
-
#run! : Nil
stealing go brrr (thanks https://github.com/mattrberry/chip-8 for good practices!)
- #skip_next_code!
- #timers_cycle : Nil