class Chip8::CPU
- Chip8::CPU
- Reference
- Object
Defined in:
cpu.crConstructors
Instance Method Summary
-
#decrement_timers
60 Hz
- #display : Display
- #display=(display : Display)
- #dt : UInt8
- #dt=(dt : UInt8)
-
#execute_cycle
500 Hz
- #i : UInt16
- #i=(i : UInt16)
- #keyboard : Keyboard
- #keyboard=(keyboard : Keyboard)
- #load(io)
- #load_font
-
#memory : StaticArray(UInt8, 4048)
Memory - 4kb (4096 bytes) memory storage (8-bit) I - stores memory addresses PC - Program Counter (8-bit) stores currently executing address
-
#memory=(memory : StaticArray(UInt8, 4048))
Memory - 4kb (4096 bytes) memory storage (8-bit) I - stores memory addresses PC - Program Counter (8-bit) stores currently executing address
- #pc : UInt16
- #pc=(pc : UInt16)
- #process_opcode(opcode : UInt16)
- #read_opcode : UInt16
- #reset
- #sp : Int8
- #sp=(sp : Int8)
-
#st : UInt8
ST - Sound Timer (8-bit) DT - Delay Timer (8-bit)
-
#st=(st : UInt8)
ST - Sound Timer (8-bit) DT - Delay Timer (8-bit)
-
#stack : StaticArray(UInt16, 16)
Stack - (16 * 16-bit) SP - Stack Pointer (8-bit) points at top level of stack
-
#stack=(stack : StaticArray(UInt16, 16))
Stack - (16 * 16-bit) SP - Stack Pointer (8-bit) points at top level of stack
-
#v : StaticArray(UInt8, 16)
V - registers (16 * 8-bit) V0 through VF; VF is a flag
-
#v=(v : StaticArray(UInt8, 16))
V - registers (16 * 8-bit) V0 through VF; VF is a flag
Constructor Detail
Instance Method Detail
Memory - 4kb (4096 bytes) memory storage (8-bit) I - stores memory addresses PC - Program Counter (8-bit) stores currently executing address
Memory - 4kb (4096 bytes) memory storage (8-bit) I - stores memory addresses PC - Program Counter (8-bit) stores currently executing address
Stack - (16 * 16-bit) SP - Stack Pointer (8-bit) points at top level of stack
Stack - (16 * 16-bit) SP - Stack Pointer (8-bit) points at top level of stack