Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
59
func
(i *IOBus) IsDataMode() bool {
60
return
i.wires[DATA_OR_ADDRESS].Get() == false
61
}
62
63
func
(i *IOBus) IsAddressMode() bool {
64
return
i.wires[DATA_OR_ADDRESS].Get() == true
Callers
2
writeToInputMAR
Method · 0.80
writeToDisplayRAM
Method · 0.80
Calls
1
Get
Method · 0.45
Tested by
no test coverage detected