Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/djhworld/simple-computer
/ functions
Functions
604 in github.com/djhworld/simple-computer
⨍
Functions
604
◇
Types & classes
92
↓ 1 callers
Method
Output
()
components/big_gates.go:206
↓ 1 callers
Method
Process
(codeStartOffset uint16, instructions []Instruction)
asm/assembler.go:42
↓ 1 callers
Method
Run
()
io/keyboard.go:141
↓ 1 callers
Method
Set
()
components/iobus.go:27
↓ 1 callers
Method
Set
()
memory/memory.go:78
↓ 1 callers
Method
Sum
()
components/adder.go:110
↓ 1 callers
Method
ToString
(codeStartOffset uint16, instructions []Instruction)
asm/assembler.go:97
↓ 1 callers
Method
Unset
()
components/iobus.go:31
↓ 1 callers
Method
Update
(inputA bool, inputB bool, inputC bool)
components/big_gates.go:32
↓ 1 callers
Method
Update
(inputA, inputB, inputC, inputD bool)
components/big_gates.go:66
↓ 1 callers
Method
Update
(inputA, inputB, inputC, inputD, inputE bool)
components/big_gates.go:108
↓ 1 callers
Method
Update
(inputA, inputB, inputC, inputD, inputE, inputF bool)
components/big_gates.go:155
↓ 1 callers
Method
Update
(a, b, c, d, e, f, g, h bool)
components/big_gates.go:195
↓ 1 callers
Method
Update
(inputA, inputB, inputC, inputD bool)
components/big_gates.go:241
↓ 1 callers
Method
Update
(inputA, inputB, inputC, inputD, inputE bool)
components/big_gates.go:273
↓ 1 callers
Method
Update
(inputA bool, inputB bool, inputC bool)
components/big_gates.go:308
↓ 1 callers
Method
Update
(shiftIn bool)
components/components.go:85
↓ 1 callers
Method
Update
(shiftIn bool)
components/components.go:134
↓ 1 callers
Method
Update
(inputA, inputB, equalIn, isLargerIn bool)
components/components.go:411
↓ 1 callers
Method
Update
()
components/components.go:462
↓ 1 callers
Method
Update
(carryIn bool)
components/adder.go:43
↓ 1 callers
Method
Update
()
io/display.go:190
↓ 1 callers
Method
Update
(inputA, inputB bool)
circuit/gates.go:17
↓ 1 callers
Method
Update
(inputA bool, inputB bool)
circuit/gates.go:31
↓ 1 callers
Method
Update
(input bool)
circuit/gates.go:49
↓ 1 callers
Method
Update
(inputA, inputB bool)
circuit/gates.go:71
↓ 1 callers
Method
Update
(inputA, inputB bool)
circuit/gates.go:89
↓ 1 callers
Method
Update
(inputA, inputB bool)
circuit/gates.go:103
↓ 1 callers
Function
asciiTable
(instructions asm.Instructions)
cmd/generator/main.go:87
↓ 1 callers
Function
brush
(instructions asm.Instructions)
cmd/generator/main.go:131
↓ 1 callers
Function
checkBus
(b *components.Bus, expected uint16)
io/keyboard_test.go:43
↓ 1 callers
Function
checkIR
(c *CPU, expValue uint16, t *testing.T)
cpu/cpu_test.go:1158
↓ 1 callers
Function
checkRegisterOutput
(r *Register, expected uint16)
components/register_test.go:155
↓ 1 callers
Function
countUint16s
(filename string)
cmd/simulator/main.go:87
↓ 1 callers
Function
counter
(instructions asm.Instructions)
cmd/generator/counter.go:15
↓ 1 callers
Function
counterDelay
counterDelay counts down from 0x4000 to slow the counter to a human-readable rate.
cmd/generator/counter.go:115
↓ 1 callers
Function
counterIncrement
counterIncrement adds 1 to the value stored at counterValueAddr, wrapping at 0xFFFF.
cmd/generator/counter.go:102
↓ 1 callers
Function
extractFlagsFrom
(name string)
asm/parser.go:160
↓ 1 callers
Function
getOutput
(stepper *Stepper)
components/stepper_test.go:31
↓ 1 callers
Function
getReaderFor
(file string)
cmd/assembler/main.go:74
↓ 1 callers
Function
getValueOfBus
(bus *components.Bus)
alu/alu_test.go:335
↓ 1 callers
Method
init
(title string)
cmd/simulator/glfw_io.go:85
↓ 1 callers
Function
initialiseCommonCode
()
cmd/generator/common.go:110
↓ 1 callers
Function
isReservedSymbol
(name string)
asm/assembler.go:160
↓ 1 callers
Function
loadCharIntoKeycodeRegister
(char rune)
cmd/generator/common.go:405
↓ 1 callers
Function
loadFontCharacterIntoFontRegion
(char rune)
cmd/generator/common.go:441
↓ 1 callers
Method
loadToRAM
(addr uint16, value uint16)
computer/computer.go:73
↓ 1 callers
Function
me
(instructions asm.Instructions)
cmd/generator/main.go:55
↓ 1 callers
Function
newDisplayRAM
(inputBus, outputBus *components.Bus)
io/display_ram.go:27
↓ 1 callers
Function
newGlfwDisplay
(onCloseHandler func())
cmd/simulator/glfw_io.go:73
↓ 1 callers
Function
parseDataInstruction
* func parseDataInstruction(operands string) (Instruction, error) { arguments := DATA_EXTRACTOR.FindStringSubmatch(operands) if len(arguments) != 4
asm/parser.go:302
↓ 1 callers
Function
parseDefSymbol
(line string)
asm/parser.go:69
↓ 1 callers
Function
parseIOInstruction
(name string, operands string)
asm/parser.go:169
↓ 1 callers
Function
parseInstruction
(line string)
asm/parser.go:107
↓ 1 callers
Function
parseLabelledJump
(name string, operands string)
asm/parser.go:138
↓ 1 callers
Function
parseOneRegisterInstruction
(name string, operands string)
asm/parser.go:243
↓ 1 callers
Function
parseTwoRegisterInstruction
(name string, operands string)
asm/parser.go:202
↓ 1 callers
Function
processLabel
(line string)
asm/parser.go:91
↓ 1 callers
Function
read
(filename string)
cmd/simulator/main.go:65
↓ 1 callers
Method
refreshFlagStateGates
()
cpu/cpu.go:808
↓ 1 callers
Method
refreshValue
(addressValue, dataValue uint16)
cpu/cpu_test.go:1046
↓ 1 callers
Method
renderPixelsFromRAM
(y, x uint16)
io/display.go:213
↓ 1 callers
Function
routine_drawBrush
(labelPrefix string)
cmd/generator/main.go:170
↓ 1 callers
Function
routine_drawFontCharacter
(labelPrefix string)
cmd/generator/common.go:208
↓ 1 callers
Function
routine_loadFontDescriptions
(label string)
cmd/generator/common.go:143
↓ 1 callers
Function
routine_pollKeyboard
(labelPrefix string)
cmd/generator/common.go:157
↓ 1 callers
Function
run
(bin []uint16)
cmd/simulator/main.go:43
↓ 1 callers
Method
runEnableGeneralPurposeRegisters
(state bool)
cpu/cpu.go:760
↓ 1 callers
Method
runEnableOnACC
(state bool)
cpu/cpu.go:735
↓ 1 callers
Method
runEnableOnBusOne
(state bool)
cpu/cpu.go:730
↓ 1 callers
Method
runEnableOnIAR
(state bool)
cpu/cpu.go:742
↓ 1 callers
Method
runEnableOnIO
(state bool)
cpu/cpu.go:715
↓ 1 callers
Method
runEnableOnRAM
(state bool)
cpu/cpu.go:748
↓ 1 callers
Method
runEnableOnRegisterA
()
cpu/cpu.go:725
↓ 1 callers
Method
runEnableOnRegisterB
()
cpu/cpu.go:720
↓ 1 callers
Method
runSetGeneralPurposeRegisters
(state bool)
cpu/cpu.go:920
↓ 1 callers
Method
runSetOnACC
(state bool)
cpu/cpu.go:872
↓ 1 callers
Method
runSetOnFLAGS
(state bool)
cpu/cpu.go:883
↓ 1 callers
Method
runSetOnIAR
(state bool)
cpu/cpu.go:854
↓ 1 callers
Method
runSetOnIO
(state bool)
cpu/cpu.go:836
↓ 1 callers
Method
runSetOnIR
(state bool)
cpu/cpu.go:867
↓ 1 callers
Method
runSetOnMAR
(state bool)
cpu/cpu.go:841
↓ 1 callers
Method
runSetOnRAM
(state bool)
cpu/cpu.go:892
↓ 1 callers
Method
runSetOnRegisterB
()
cpu/cpu.go:909
↓ 1 callers
Method
runSetOnTMP
(state bool)
cpu/cpu.go:897
↓ 1 callers
Method
runStep4Gates
()
cpu/cpu.go:673
↓ 1 callers
Method
runStep5Gates
()
cpu/cpu.go:686
↓ 1 callers
Method
runStep6Gates
()
cpu/cpu.go:698
↓ 1 callers
Function
setOp
(a *ALU, value uint16)
alu/alu_test.go:323
↓ 1 callers
Method
setOutputRAMAddress
(address uint16)
io/display.go:205
↓ 1 callers
Function
sineAdvanceTable
sineAdvanceTable rotates the sine table left by one entry, so each frame the wave appears to scroll one character column to the left.
cmd/generator/sinewave.go:128
↓ 1 callers
Function
sineWave
(instructions asm.Instructions)
cmd/generator/sinewave.go:34
↓ 1 callers
Method
step
(clockState bool)
cpu/cpu.go:563
↓ 1 callers
Function
stripEmptyGroups
(input []string)
asm/parser.go:97
↓ 1 callers
Function
testJMP
(expectedIAR uint16, t *testing.T)
cpu/cpu_test.go:357
↓ 1 callers
Function
textWriter
(instructions asm.Instructions)
cmd/generator/main.go:151
↓ 1 callers
Method
update
()
io/keyboard.go:70
↓ 1 callers
Method
updateALU
()
cpu/cpu.go:648
↓ 1 callers
Method
updateAdder
()
alu/alu.go:134
↓ 1 callers
Method
updateAnder
()
alu/alu.go:104
← previous
next →
201–300 of 604, ranked by callers