()
| 68 | } |
| 69 | |
| 70 | func (m *displayRAM) UpdateIncoming() { |
| 71 | m.InputAddressRegister.Update() |
| 72 | m.inputRowDecoder.Update( |
| 73 | m.InputAddressRegister.Bit(0), |
| 74 | m.InputAddressRegister.Bit(1), |
| 75 | m.InputAddressRegister.Bit(2), |
| 76 | m.InputAddressRegister.Bit(3), |
| 77 | m.InputAddressRegister.Bit(4), |
| 78 | m.InputAddressRegister.Bit(5), |
| 79 | m.InputAddressRegister.Bit(6), |
| 80 | m.InputAddressRegister.Bit(7), |
| 81 | ) |
| 82 | m.inputColDecoder.Update( |
| 83 | m.InputAddressRegister.Bit(8), |
| 84 | m.InputAddressRegister.Bit(9), |
| 85 | m.InputAddressRegister.Bit(10), |
| 86 | m.InputAddressRegister.Bit(11), |
| 87 | m.InputAddressRegister.Bit(12), |
| 88 | m.InputAddressRegister.Bit(13), |
| 89 | m.InputAddressRegister.Bit(14), |
| 90 | m.InputAddressRegister.Bit(15), |
| 91 | ) |
| 92 | |
| 93 | var row int = m.inputRowDecoder.Index() |
| 94 | var col int = m.inputColDecoder.Index() |
| 95 | |
| 96 | m.data[row][col].Update(m.set.Get(), false) |
| 97 | } |
| 98 | |
| 99 | func (m *displayRAM) UpdateOutgoing() { |
| 100 | m.OutputAddressRegister.Update() |
no test coverage detected