MCPcopy Index your code
hub / github.com/djhworld/simple-computer / SimpleComputer

Struct SimpleComputer

computer/computer.go:22–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22type SimpleComputer struct {
23 memory *memory.Memory64K
24 cpu *cpu.CPU
25 mainBus *components.Bus
26
27 displayAdapter *io.DisplayAdapter
28 screenControl *io.ScreenControl
29 keyboardAdapter *io.KeyboardAdapter
30
31 screenChannel chan *[160][240]byte
32 quitChannel chan bool
33}
34
35func NewComputer(screenChannel chan *[160][240]byte, quitChannel chan bool) *SimpleComputer {
36 c := new(SimpleComputer)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected