Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/fogleman/nes
/ functions
Functions
388 in github.com/fogleman/nes
⨍
Functions
388
◇
Types & classes
32
↓ 46 callers
Method
Read
(address uint16)
nes/mapper.go:9
↓ 29 callers
Method
setZN
setZN sets the zero flag and the negative flag
nes/cpu.go:400
↓ 16 callers
Method
chrBankOffset
(index int)
nes/mapper4.go:189
↓ 12 callers
Method
Write
(address uint16, value byte)
nes/mapper.go:10
↓ 12 callers
Method
prgBankOffset
(index int)
nes/mapper4.go:177
↓ 11 callers
Function
readKey
(window *glfw.Window, key glfw.Key)
ui/util.go:55
↓ 10 callers
Method
Load
(decoder *gob.Decoder)
nes/mapper.go:13
↓ 10 callers
Method
Save
(encoder *gob.Encoder)
nes/mapper.go:12
↓ 8 callers
Method
Read16
Read16 reads two bytes using Read to return a double-word value
nes/cpu.go:312
↓ 8 callers
Method
addBranchCycles
addBranchCycles adds a cycle for taking a branch and adds another cycle if the branch jumps to a new page
nes/cpu.go:295
↓ 6 callers
Method
Step
(x float32)
nes/filter.go:6
↓ 6 callers
Method
prgBankOffset
(index int)
nes/mapper1.go:157
↓ 6 callers
Method
stepEnvelope
()
nes/apu.go:180
↓ 6 callers
Method
writeControl
(value byte)
nes/apu.go:284
↓ 5 callers
Method
pull
pull pops a byte from the stack
nes/cpu.go:335
↓ 5 callers
Method
writeRegister
(address uint16, value byte)
nes/ppu.go:220
↓ 4 callers
Method
Read
(address uint16)
nes/memory.go:6
↓ 4 callers
Method
SetFlags
SetFlags sets the processor status flags
nes/cpu.go:370
↓ 4 callers
Method
ShowMenu
()
ui/director.go:88
↓ 4 callers
Method
Write
(address uint16, value byte)
nes/memory.go:7
↓ 4 callers
Method
chrBankOffset
(index int)
nes/mapper1.go:169
↓ 4 callers
Method
nmiChange
()
nes/ppu.go:440
↓ 4 callers
Function
pagesDiffer
pagesDiffer returns true if the two addresses reference different pages
nes/cpu.go:289
↓ 4 callers
Method
push
push pushes a byte onto the stack
nes/cpu.go:329
↓ 4 callers
Method
push16
push16 pushes two bytes onto the stack
nes/cpu.go:341
↓ 4 callers
Function
readJoystick
(joy glfw.Joystick, turbo bool)
ui/util.go:72
↓ 4 callers
Method
stepLength
()
nes/apu.go:192
↓ 4 callers
Method
stepSweep
()
nes/apu.go:187
↓ 4 callers
Method
updateOffsets
PRG ROM bank mode (0, 1: switch 32 KB at $8000, ignoring low bit of bank number; 2: fix first bank at $8000 and switch 16 KB bank at $C000; 3: fix las
nes/mapper1.go:185
↓ 3 callers
Method
Buffer
()
nes/console.go:76
↓ 3 callers
Method
Reset
()
nes/ppu.go:185
↓ 3 callers
Method
SetView
(view View)
ui/director.go:36
↓ 3 callers
Function
combineButtons
(a, b [8]bool)
ui/util.go:116
↓ 3 callers
Method
compare
(a, b byte)
nes/cpu.go:302
↓ 3 callers
Method
php
PHP - Push Processor Status
nes/cpu.go:774
↓ 3 callers
Method
read16bug
read16bug emulates a 6502 bug that caused the low byte to wrap without incrementing the high byte
nes/cpu.go:320
↓ 3 callers
Method
readPalette
(address uint16)
nes/ppu.go:194
↓ 3 callers
Method
readRegister
(address uint16)
nes/ppu.go:208
↓ 3 callers
Method
triggerIRQ
triggerIRQ causes an IRQ interrupt to occur on the next cycle
nes/cpu.go:411
↓ 3 callers
Method
writeTimerHigh
(value byte)
nes/apu.go:420
↓ 3 callers
Method
writeTimerLow
(value byte)
nes/apu.go:416
↓ 2 callers
Function
DrawCenteredText
(dst draw.Image, text string, dx, dy int, c color.Color)
ui/font.go:61
↓ 2 callers
Method
Flags
Flags returns the processor status flags
nes/cpu.go:356
↓ 2 callers
Function
HighPassFilter
(sampleRate float32, cutoffFreq float32)
nes/filter.go:38
↓ 2 callers
Function
MirrorAddress
(mode byte, address uint16)
nes/memory.go:129
↓ 2 callers
Function
NewConsole
(path string)
nes/console.go:22
↓ 2 callers
Function
NewController
()
nes/controller.go:20
↓ 2 callers
Function
NewMapper2
(cartridge *Cartridge)
nes/mapper2.go:15
↓ 2 callers
Method
PlayGame
(path string)
ui/director.go:76
↓ 2 callers
Method
SetAudioChannel
(channel chan float32)
nes/console.go:92
↓ 2 callers
Method
SetAudioSampleRate
(sampleRate float64)
nes/console.go:96
↓ 2 callers
Method
SetButtons
(buttons [8]bool)
nes/controller.go:24
↓ 2 callers
Method
SetTitle
(title string)
ui/director.go:32
↓ 2 callers
Method
Step
()
nes/console.go:47
↓ 2 callers
Method
StepSeconds
(seconds float64)
nes/console.go:69
↓ 2 callers
Method
clampScroll
(wrap bool)
ui/menuview.go:189
↓ 2 callers
Method
coord
(index int)
ui/texture.go:86
↓ 2 callers
Function
copyImage
(src image.Image)
ui/util.go:151
↓ 2 callers
Function
createTexture
()
ui/util.go:132
↓ 2 callers
Function
hashFile
(path string)
ui/util.go:124
↓ 2 callers
Function
joystickReset
(joy glfw.Joystick)
ui/util.go:105
↓ 2 callers
Method
load
(snapshot int)
ui/gameview.go:28
↓ 2 callers
Method
onPress
(index int)
ui/menuview.go:62
↓ 2 callers
Method
pull16
pull16 pops two bytes from the stack
nes/cpu.go:349
↓ 2 callers
Function
readKeys
(window *glfw.Window, turbo bool)
ui/util.go:59
↓ 2 callers
Method
restart
()
nes/apu.go:813
↓ 2 callers
Method
save
(snapshot int)
ui/gameview.go:44
↓ 2 callers
Function
savePath
(hash string, snapshot int)
ui/util.go:48
↓ 2 callers
Method
setN
setN sets the negative flag if the argument is negative (high bit is set)
nes/cpu.go:391
↓ 2 callers
Method
setZ
setZ sets the zero flag if the argument is zero
nes/cpu.go:382
↓ 2 callers
Function
sramPath
(hash string, snapshot int)
ui/util.go:41
↓ 2 callers
Method
sweep
()
nes/apu.go:476
↓ 2 callers
Function
thumbnailPath
(hash string)
ui/util.go:37
↓ 2 callers
Method
updateOffsets
()
nes/mapper4.go:201
↓ 2 callers
Method
writeControl
$2000: PPUCTRL
nes/ppu.go:243
↓ 2 callers
Method
writeControl
Control (internal, $8000-$9FFF)
nes/mapper1.go:121
↓ 2 callers
Method
writeLength
(value byte)
nes/apu.go:808
↓ 2 callers
Method
writeMask
$2001: PPUMASK
nes/ppu.go:257
↓ 2 callers
Method
writeOAMAddress
$2003: OAMADDR
nes/ppu.go:284
↓ 2 callers
Method
writeSweep
(value byte)
nes/apu.go:408
↓ 1 callers
Method
Bind
()
ui/texture.go:53
↓ 1 callers
Function
CreateGenericThumbnail
(text string)
ui/font.go:33
↓ 1 callers
Function
DrawCharacter
(dst draw.Image, x, y int, ch byte, c color.Color)
ui/font.go:70
↓ 1 callers
Function
DrawText
(dst draw.Image, x, y int, text string, c color.Color)
ui/font.go:82
↓ 1 callers
Method
Enter
()
ui/director.go:12
↓ 1 callers
Method
Exit
()
ui/director.go:13
↓ 1 callers
Method
HandleScanLine
()
nes/mapper4.go:71
↓ 1 callers
Method
Load
(decoder *gob.Decoder)
nes/console.go:144
↓ 1 callers
Function
LoadNESFile
LoadNESFile reads an iNES file (.nes) and returns a Cartridge on success. http://wiki.nesdev.com/w/index.php/INES http://nesdev.com/NESDoc.pdf (page 2
nes/ines.go:25
↓ 1 callers
Method
LoadState
(filename string)
nes/console.go:134
↓ 1 callers
Method
Lookup
(path string)
ui/texture.go:61
↓ 1 callers
Function
LowPassFilter
sampleRate: samples per second cutoffFreq: oscillations per second
nes/filter.go:28
↓ 1 callers
Function
NewAPU
(console *Console)
nes/apu.go:62
↓ 1 callers
Function
NewAudio
()
ui/audio.go:12
↓ 1 callers
Function
NewCPU
(console *Console)
nes/cpu.go:175
↓ 1 callers
Function
NewCPUMemory
(console *Console)
nes/memory.go:16
↓ 1 callers
Function
NewCartridge
(prg, chr []byte, mapper, mirror, battery byte)
nes/cartridge.go:14
↓ 1 callers
Function
NewDirector
(window *glfw.Window, audio *Audio)
ui/director.go:25
↓ 1 callers
Function
NewGameView
(director *Director, console *nes.Console, title, hash string)
ui/gameview.go:23
↓ 1 callers
Function
NewMapper
(console *Console)
nes/mapper.go:16
next →
1–100 of 388, ranked by callers