MCPcopy Create free account
hub / github.com/djhworld/simple-computer / writeToDisplayRAM

Method writeToDisplayRAM

io/display.go:132–149  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

130}
131
132func (k *DisplayAdapter) writeToDisplayRAM() {
133 // if writeToRAM == true then put bus contents in RAM
134 k.displayRAMSetGate.Update(
135 k.ioBus.IsDataMode(),
136 k.ioBus.IsSet(),
137 k.ioBus.IsOutputMode(),
138 k.displayAdapterActiveBit.Get(),
139 k.writeToRAM.Get(),
140 )
141
142 if k.displayRAMSetGate.Output() {
143 k.displayRAM.Set()
144 k.displayRAM.UpdateIncoming()
145 k.displayRAM.Unset()
146 k.displayRAM.UpdateIncoming()
147 k.toggleWriteToRAM()
148 }
149}
150
151func (k *DisplayAdapter) String() string {
152 return ""

Callers 1

UpdateMethod · 0.95

Calls 10

toggleWriteToRAMMethod · 0.95
IsDataModeMethod · 0.80
IsSetMethod · 0.80
IsOutputModeMethod · 0.80
UpdateIncomingMethod · 0.80
UpdateMethod · 0.65
SetMethod · 0.65
UnsetMethod · 0.65
GetMethod · 0.45
OutputMethod · 0.45

Tested by

no test coverage detected