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

Method IsDataMode

components/iobus.go:59–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57}
58
59func (i *IOBus) IsDataMode() bool {
60 return i.wires[DATA_OR_ADDRESS].Get() == false
61}
62
63func (i *IOBus) IsAddressMode() bool {
64 return i.wires[DATA_OR_ADDRESS].Get() == true

Callers 2

writeToInputMARMethod · 0.80
writeToDisplayRAMMethod · 0.80

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected