MCPcopy Index your code

hub / github.com/djhworld/simple-computer / functions

Functions604 in github.com/djhworld/simple-computer

↓ 4 callersMethodUpdate
(inputA bool, inputB bool)
components/decoders.go:34
↓ 4 callersFunctioncheckDecoder2x4Output
(decoder *Decoder2x4, expected []bool, t *testing.T)
components/decoders_test.go:107
↓ 4 callersFunctioncounterRenderNibble
counterRenderNibble shifts the counter right by `shift` bits (using CLF before each SHR so the carry-in is always 0), masks the lowest 4 bits, looks u
cmd/generator/counter.go:64
↓ 4 callersFunctiongetValueOfOutput
(b Component, outputBits int)
components/components_test.go:416
↓ 4 callersFunctiontestALUAddWithCarry
(instruction uint16, inputRegisters, expectedOutputRegisters [4]uint16, t *testing.T)
cpu/cpu_test.go:670
↓ 4 callersFunctiontestJMPR
(instruction uint16, inputRegisters [4]uint16, expectedIAR uint16, t *testing.T)
cpu/cpu_test.go:330
↓ 4 callersMethodupdateStates
()
cpu/cpu.go:593
↓ 3 callersMethodCarry
()
components/adder.go:114
↓ 3 callersMethodEnable
()
components/register.go:39
↓ 3 callersMethodEqual
()
components/components.go:399
↓ 3 callersMethodInit
(title string)
cmd/simulator/glfw_io.go:49
↓ 3 callersMethodIsOutputMode
()
components/iobus.go:55
↓ 3 callersMethodIsSet
()
components/iobus.go:43
↓ 3 callersMethodLarger
()
components/components.go:403
↓ 3 callersFunctionNewANDGate5
()
components/big_gates.go:256
↓ 3 callersFunctionNewANDGate8
()
components/big_gates.go:179
↓ 3 callersFunctionNewDecoder3x8
()
components/decoders.go:61
↓ 3 callersFunctionNewDecoder4x16
()
components/decoders.go:121
↓ 3 callersFunctionNewORGate6
()
components/big_gates.go:135
↓ 3 callersFunctionNewORer
()
components/components.go:291
↓ 3 callersFunctionNewWord
()
components/storage.go:50
↓ 3 callersMethodSetInputWire
(index int, value bool)
components/components.go:183
↓ 3 callersMethodUpdate
()
components/components.go:187
↓ 3 callersFunctioncheckValueIs
(b Component, expected uint16)
components/register_test.go:143
↓ 3 callersMethodputValueInRAM
(address, value uint16)
computer/computer.go:77
↓ 3 callersFunctionselectDisplayAdapter
(useRegister asm.REGISTER)
cmd/generator/common.go:427
↓ 3 callersFunctionsetWireOnComponent16
(b Component, input int)
components/components_test.go:403
↓ 3 callersFunctiontestCLF
(initialInstruction uint16, initialRegisters [4]uint16, t *testing.T)
cpu/cpu_test.go:596
↓ 2 callersMethodCarry
()
components/adder.go:39
↓ 2 callersMethodDisable
()
memory/memory.go:74
↓ 2 callersMethodEnable
()
memory/memory.go:70
↓ 2 callersMethodEqual
()
components/components.go:484
↓ 2 callersMethodIsDataMode
()
components/iobus.go:59
↓ 2 callersMethodLarger
()
components/components.go:488
↓ 2 callersFunctionNewANDGate4
()
components/big_gates.go:221
↓ 2 callersFunctionNewANDer
()
components/components.go:251
↓ 2 callersFunctionNewAdd2
()
components/adder.go:74
↓ 2 callersFunctionNewAdder
()
components/adder.go:17
↓ 2 callersFunctionNewBusOne
(inputBus, outputBus *Bus)
components/components.go:504
↓ 2 callersFunctionNewCPU
(mainBus *components.Bus, memory *memory.Memory64K)
cpu/cpu.go:383
↓ 2 callersFunctionNewCell
(inputBus, outputBus *components.Bus)
memory/memory.go:16
↓ 2 callersFunctionNewComparator
()
components/components.go:440
↓ 2 callersFunctionNewCompare2
()
components/components.go:379
↓ 2 callersFunctionNewDumbPeripheral
()
cpu/cpu_test.go:1027
↓ 2 callersFunctionNewIOBus
()
components/iobus.go:18
↓ 2 callersFunctionNewKeyboardAdapter
()
io/keyboard.go:38
↓ 2 callersFunctionNewLeftShifter
()
components/components.go:65
↓ 2 callersFunctionNewNOTer
()
components/components.go:215
↓ 2 callersFunctionNewORGate3
()
components/big_gates.go:14
↓ 2 callersFunctionNewORGate5
()
components/big_gates.go:90
↓ 2 callersFunctionNewRightShifter
()
components/components.go:114
↓ 2 callersFunctionNewStepper
()
components/stepper.go:22
↓ 2 callersFunctionNewXORer
()
components/components.go:331
↓ 2 callersMethodRun
()
cmd/simulator/glfw_io.go:35
↓ 2 callersMethodSetInputWire
(index int, value bool)
components/bus.go:25
↓ 2 callersMethodShiftOut
()
components/components.go:81
↓ 2 callersMethodStep
()
cpu/cpu.go:533
↓ 2 callersMethodUnset
()
memory/memory.go:82
↓ 2 callersMethodUpdate
(set bool)
components/storage.go:70
↓ 2 callersMethodUpdate
(enable bool)
components/components.go:43
↓ 2 callersMethodUpdate
()
components/components.go:237
↓ 2 callersMethodUpdate
()
components/components.go:273
↓ 2 callersMethodUpdate
()
components/components.go:313
↓ 2 callersMethodUpdate
()
components/components.go:353
↓ 2 callersMethodUpdate
(clockIn bool)
components/stepper.go:63
↓ 2 callersMethodUpdate
(mode, dataOrAddress bool)
components/iobus.go:67
↓ 2 callersMethodUpdate
(set bool, enable bool)
memory/memory.go:25
↓ 2 callersMethodUpdateIncoming
()
io/display_ram.go:70
↓ 2 callersMethodUpdateOutgoing
()
io/display_ram.go:99
↓ 2 callersFunctioncheckBus
(b *components.Bus, expected uint16)
memory/memory_test.go:95
↓ 2 callersMethodclearMainBus
()
cpu/cpu.go:587
↓ 2 callersFunctiondeselectIO
(useRegister asm.REGISTER)
cmd/generator/common.go:434
↓ 2 callersFunctiongetNextExecutableInstructionLoc
(currentOffset uint16, currentInstrIndex int, instructions []Instruction)
asm/assembler.go:167
↓ 2 callersFunctiongetWriterFor
(file string)
cmd/assembler/main.go:82
↓ 2 callersMethodrunEnable
(state bool)
cpu/cpu.go:704
↓ 2 callersMethodrunSet
(state bool)
cpu/cpu.go:790
↓ 2 callersFunctionsetMemoryLocation2
(m *memory.Memory64K, address uint16, value uint16)
cpu/cpu_test.go:1102
↓ 2 callersFunctionsetWireOnComponent32
(b Component, inputA int, inputB int)
components/components_test.go:379
↓ 2 callersFunctionsineColumnWrite
sineColumnWrite reads the precomputed y*30 value from table[x], adds the column index x to get the display RAM address, then writes pixelValue to that
cmd/generator/sinewave.go:68
↓ 2 callersMethodstep
()
components/stepper.go:76
↓ 2 callersFunctiontestBusOneReturnsCorrectResult
(b *BusOne, inputBus, outputBus *Bus, input int, enableBus1 bool, expectedOutput int, t *testing.T)
components/components_test.go:514
↓ 2 callersFunctiontestCMP
(instruction uint16, inputRegisters [4]uint16, expectedOutputRegisters [4]uint16, compareA, compareB int, t *t
cpu/cpu_test.go:791
↓ 2 callersMethodtoggleWriteToRAM
()
io/display.go:105
↓ 1 callersMethodConnect
(*components.IOBus, *components.Bus)
io/peripheral.go:8
↓ 1 callersMethodConnect
(ioBus *components.IOBus, mainBus *components.Bus)
io/keyboard.go:44
↓ 1 callersMethodConnectKeyboard
(keyboard *io.Keyboard)
computer/computer.go:55
↓ 1 callersMethodConnectTo
(bus *components.Bus)
io/keyboard.go:136
↓ 1 callersMethodDestroy
()
cmd/simulator/glfw_io.go:122
↓ 1 callersMethodDrawFrame
(screenData *[160][240]byte)
cmd/simulator/glfw_io.go:129
↓ 1 callersMethodEnable
()
components/iobus.go:35
↓ 1 callersMethodGetOutputWire
(index int)
components/bus.go:28
↓ 1 callersMethodIsAddressMode
()
components/iobus.go:63
↓ 1 callersMethodLoadToRAM
(offset uint16, values []uint16)
computer/computer.go:59
↓ 1 callersFunctionNewComputer
(screenChannel chan *[160][240]byte, quitChannel chan bool)
computer/computer.go:35
↓ 1 callersFunctionNewDisplaydAdapter
()
io/display.go:36
↓ 1 callersFunctionNewGlfwIO
(screenChannel chan *[160][240]byte, keyPressChannel chan *io.KeyPress, quitChannel chan bool)
cmd/simulator/glfw_io.go:21
↓ 1 callersFunctionNewInstructionDecoder3x8
()
cpu/cpu.go:287
↓ 1 callersFunctionNewKeyboard
(keyPressChannel chan *KeyPress, quit chan bool)
io/keyboard.go:129
↓ 1 callersFunctionNewNORGate
()
circuit/gates.go:97
↓ 1 callersFunctionNewScreenControl
(adapter *DisplayAdapter, outputChan chan *[160][240]byte, quit chan bool)
io/display.go:167
← previousnext →101–200 of 604, ranked by callers