| 20 | } |
| 21 | |
| 22 | type 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 | |
| 35 | func NewComputer(screenChannel chan *[160][240]byte, quitChannel chan bool) *SimpleComputer { |
| 36 | c := new(SimpleComputer) |
nothing calls this directly
no outgoing calls
no test coverage detected