Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/djhworld/simple-computer
/ IsOutputMode
Method
IsOutputMode
components/iobus.go:55–57 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
53
}
54
55
func
(i *IOBus) IsOutputMode() bool {
56
return
i.wires[MODE].Get() == true
57
}
58
59
func
(i *IOBus) IsDataMode() bool {
60
return
i.wires[DATA_OR_ADDRESS].Get() == false
Callers
3
Update
Method · 0.80
writeToInputMAR
Method · 0.80
writeToDisplayRAM
Method · 0.80
Calls
1
Get
Method · 0.45
Tested by
no test coverage detected