MCPcopy Index your code
hub / github.com/djhworld/simple-computer / setOutputRAMAddress

Method setOutputRAMAddress

io/display.go:205–211  ·  view source on GitHub ↗
(address uint16)

Source from the content-addressed store, hash-verified

203}
204
205func (s *ScreenControl) setOutputRAMAddress(address uint16) {
206 s.adapter.screenBus.SetValue(address)
207 s.adapter.displayRAM.OutputAddressRegister.Set()
208 s.adapter.displayRAM.OutputAddressRegister.Update()
209 s.adapter.displayRAM.OutputAddressRegister.Unset()
210 s.adapter.displayRAM.OutputAddressRegister.Update()
211}
212
213func (s *ScreenControl) renderPixelsFromRAM(y, x uint16) {
214 s.adapter.displayRAM.Enable()

Callers 1

UpdateMethod · 0.95

Calls 4

SetValueMethod · 0.80
SetMethod · 0.65
UpdateMethod · 0.65
UnsetMethod · 0.65

Tested by

no test coverage detected