(ioBus *components.IOBus, mainBus *components.Bus)
| 1030 | } |
| 1031 | |
| 1032 | func (p *DumbPeripheral) Connect(ioBus *components.IOBus, mainBus *components.Bus) { |
| 1033 | p.ioBus = ioBus |
| 1034 | p.mainBus = mainBus |
| 1035 | p.value = *components.NewRegister("P", p.mainBus, p.mainBus) |
| 1036 | |
| 1037 | } |
| 1038 | |
| 1039 | func (p *DumbPeripheral) Update() { |
| 1040 | p.updateEnabled() |
nothing calls this directly
no test coverage detected