| 153 | } |
| 154 | |
| 155 | type ScreenControl struct { |
| 156 | adapter *DisplayAdapter |
| 157 | inputBus *components.Bus |
| 158 | outputChan chan *[160][240]byte |
| 159 | |
| 160 | clock <-chan time.Time |
| 161 | quit chan bool |
| 162 | |
| 163 | //y, x |
| 164 | output [160][240]byte |
| 165 | } |
| 166 | |
| 167 | func NewScreenControl(adapter *DisplayAdapter, outputChan chan *[160][240]byte, quit chan bool) *ScreenControl { |
| 168 | s := new(ScreenControl) |
nothing calls this directly
no outgoing calls
no test coverage detected