Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/akatsuki105/dawngb
/ functions
Functions
944 in github.com/akatsuki105/dawngb
⨍
Functions
944
◇
Types & classes
178
↓ 122 callers
Function
SetBit
(val V, idx W, b bool)
core/gb/internal/bit.go:13
↓ 84 callers
Method
Pack
()
core/gb/cpu/sm83/register.go:41
↓ 64 callers
Method
bit
(val uint8, bit int)
core/gb/cpu/sm83/algorithms.go:53
↓ 61 callers
Method
fetch
()
core/gb/cpu/sm83/sm83.go:61
↓ 52 callers
Method
Read
(addr uint16)
core/gb/cpu/sm83/sm83.go:8
↓ 52 callers
Method
Write
(addr uint16, val uint8)
core/gb/cpu/sm83/sm83.go:9
↓ 38 callers
Method
Unpack
(val uint8)
core/gb/cpu/sm83/register.go:50
↓ 27 callers
Function
enosys
()
docs/wasm_exec.js:8
↓ 25 callers
Function
Bit
Bit check val's idx bit
core/gb/internal/bit.go:6
↓ 23 callers
Function
getBit
(val uint8, bit int)
core/gb/apu/psg/io.go:222
↓ 21 callers
Method
Write
(addr uint16, val uint8)
core/gb/apu/psg/io.go:61
↓ 17 callers
Method
add
(val uint8, carry bool)
core/gb/cpu/sm83/algorithms.go:74
↓ 16 callers
Method
set_hl
(bit int, b bool)
core/gb/cpu/sm83/algorithms.go:89
↓ 16 callers
Method
sub
(val uint8, carry bool)
core/gb/cpu/sm83/algorithms.go:81
↓ 14 callers
Method
branch
(dst uint16)
core/gb/cpu/sm83/algorithms.go:17
↓ 13 callers
Method
call
(dst uint16)
core/gb/cpu/sm83/algorithms.go:62
↓ 10 callers
Method
Load
(cmd LoadCmd, args ...any)
core/gb/gb.go:126
↓ 10 callers
Method
Read
(addr uint16)
core/gb/ppu/ppu.go:22
↓ 10 callers
Function
btou8
(b bool)
core/gb/cpu/sm83/sm83.go:67
↓ 10 callers
Function
statIRQAsserted
(stat uint8)
core/gb/ppu/ppu.go:180
↓ 9 callers
Method
IsColor
IsCGBMode returns true if the hardware has CGB features (i.e., it's a CGB or AGB).
core/gb/gb.go:245
↓ 8 callers
Method
Reset
()
core/gb/cpu/cpu.go:58
↓ 8 callers
Method
cp
(val uint8)
core/gb/cpu/sm83/algorithms.go:67
↓ 8 callers
Function
flip
Helper functions
core/gb/ppu/renderer/software/software.go:115
↓ 8 callers
Method
read
(addr uint16, peek bool)
core/gb/memory.go:7
↓ 7 callers
Method
rl
(r *uint8)
core/gb/cpu/sm83/algorithms.go:108
↓ 7 callers
Method
rlc
(r *uint8)
core/gb/cpu/sm83/algorithms.go:137
↓ 7 callers
Method
rr
(r *uint8)
core/gb/cpu/sm83/algorithms.go:96
↓ 7 callers
Method
rrc
(r *uint8)
core/gb/cpu/sm83/algorithms.go:103
↓ 7 callers
Method
sla
(r *uint8)
core/gb/cpu/sm83/algorithms.go:114
↓ 7 callers
Method
sra
(r *uint8)
core/gb/cpu/sm83/algorithms.go:131
↓ 7 callers
Method
srl
(r *uint8)
core/gb/cpu/sm83/algorithms.go:120
↓ 7 callers
Method
swap
(r *uint8)
core/gb/cpu/sm83/algorithms.go:126
↓ 6 callers
Method
DirectBoot
()
core/gb/gb.go:85
↓ 6 callers
Method
IRQ
(id int)
core/gb/ppu/ppu.go:23
↓ 6 callers
Function
New
(model Model, audioBuffer io.Writer)
core/gb/gb.go:62
↓ 6 callers
Method
Reset
()
core/gb/gb.go:74
↓ 6 callers
Method
push16
(val uint16)
core/gb/cpu/sm83/algorithms.go:28
↓ 6 callers
Method
ret
()
core/gb/cpu/sm83/algorithms.go:58
↓ 5 callers
Method
TurnOff
()
core/gb/apu/psg/ch_wave.go:48
↓ 5 callers
Method
Write
(addr uint16, val uint8)
core/gb/memory.go:66
↓ 5 callers
Method
Write
(addr uint16, val uint8)
core/gb/cpu/dma.go:55
↓ 5 callers
Method
pop16
()
core/gb/cpu/sm83/algorithms.go:40
↓ 5 callers
Function
setBit
(val uint8, bit int, b bool)
core/gb/apu/psg/io.go:226
↓ 5 callers
Method
write
(addr uint16, val uint8)
core/gb/cartridge/cartridge.go:11
↓ 4 callers
Method
CreateSnapshot
()
core/gb/cartridge/serialization.go:19
↓ 4 callers
Method
GetOutput
GetOutput gets 4bit sample (0..15)
core/gb/apu/psg/ch_wave.go:84
↓ 4 callers
Method
SetOBP
(bank, val uint8)
core/gb/ppu/renderer/renderer.go:11
↓ 4 callers
Method
clock256Hz
()
core/gb/apu/psg/ch_wave.go:64
↓ 4 callers
Method
clockTimer
()
core/gb/apu/psg/ch_wave.go:73
↓ 4 callers
Method
dacEnable
()
core/gb/apu/psg/ch_noise.go:116
↓ 4 callers
Method
reload
()
core/gb/apu/psg/ch_wave.go:54
↓ 4 callers
Method
reset
()
core/gb/cpu/dma.go:31
↓ 4 callers
Method
windowStepCycle
()
core/gb/apu/psg/ch_wave.go:140
↓ 3 callers
Method
Dump
(cmd DumpCmd, args ...any)
core/gb/gb.go:192
↓ 3 callers
Method
LoadROM
(data []uint8)
src/ebi/emu.go:78
↓ 3 callers
Method
LoadSave
(data []uint8)
src/ebi/emu.go:120
↓ 3 callers
Method
ReadIO
(addr uint16)
core/gb/cpu/io.go:3
↓ 3 callers
Method
RunFrame
()
core/gb/gb.go:204
↓ 3 callers
Method
Serialize
(w io.Writer)
core/gb/serialization.go:84
↓ 3 callers
Method
SkipBIOS
()
core/gb/cpu/cpu.go:74
↓ 3 callers
Method
Write
(addr uint16, val uint8)
core/gb/ppu/io.go:44
↓ 3 callers
Method
_resume
()
docs/wasm_exec.js:555
↓ 3 callers
Method
clock64Hz
()
core/gb/apu/psg/ch_noise.go:55
↓ 3 callers
Method
compareLYC
()
core/gb/ppu/ppu.go:147
↓ 3 callers
Method
drawScanline
(y int)
core/gb/ppu/renderer/software/layer_bg.go:28
↓ 3 callers
Method
dutyStepCycle
デューティ比の1ステップの長さを(2MHzの)サイクル数で返す
core/gb/apu/psg/ch_square.go:117
↓ 3 callers
Method
read
(addr uint16)
core/gb/cartridge/cartridge.go:10
↓ 3 callers
Method
reset
()
core/gb/apu/psg/unit_sweep.go:23
↓ 3 callers
Method
update
()
core/gb/apu/psg/ch_square.go:102
↓ 2 callers
Function
Byte
(data V, offset W)
core/gb/internal/helper.go:5
↓ 2 callers
Function
ByteSliceFromUint16Slice
(arr []uint16)
internal/unsafeslice/unsafeslice.go:5
↓ 2 callers
Method
CreateSnapshot
()
core/gb/cpu/dma.go:130
↓ 2 callers
Method
Deserialize
(r io.Reader)
core/gb/serialization.go:96
↓ 2 callers
Method
RAMSize
()
core/gb/cartridge/cartridge.go:79
↓ 2 callers
Method
Resolution
()
core/gb/gb.go:230
↓ 2 callers
Method
Run
(cycles8MHz int64)
core/gb/ppu/ppu.go:97
↓ 2 callers
Method
Screen
()
core/gb/gb.go:231
↓ 2 callers
Method
SetBGP
(val uint8)
core/gb/ppu/renderer/renderer.go:10
↓ 2 callers
Function
SetByte
(data V, offset W, value uint8)
core/gb/internal/helper.go:9
↓ 2 callers
Method
SetKeyInput
(key string, press bool)
core/gb/gb.go:233
↓ 2 callers
Method
SetLCDC
(val uint8)
core/gb/ppu/renderer/renderer.go:9
↓ 2 callers
Method
SetSCX
(val uint8)
core/gb/ppu/renderer/renderer.go:12
↓ 2 callers
Method
SetSCY
(val uint8)
core/gb/ppu/renderer/renderer.go:13
↓ 2 callers
Method
SetWX
(val uint8)
core/gb/ppu/renderer/renderer.go:14
↓ 2 callers
Method
SetWY
(val uint8)
core/gb/ppu/renderer/renderer.go:15
↓ 2 callers
Method
Step
()
core/gb/cpu/cpu.go:141
↓ 2 callers
Method
WriteIO
(addr uint16, val uint8)
core/gb/cpu/io.go:41
↓ 2 callers
Method
calcFreqency
1ステップの長さを(2MHzの)サイクル数で返す
core/gb/apu/psg/ch_noise.go:104
↓ 2 callers
Method
checkInterrupt
()
core/gb/cpu/cpu.go:189
↓ 2 callers
Method
checkOverflow
()
core/gb/apu/psg/unit_sweep.go:79
↓ 2 callers
Method
getColor
(palID, n uint8)
core/gb/ppu/renderer/software/layer_sprite.go:130
↓ 2 callers
Method
getColor
(palID, n uint8)
core/gb/ppu/renderer/software/layer_bg.go:86
↓ 2 callers
Method
instruction
()
core/gb/cpu/cpu.go:175
↓ 2 callers
Method
isMBC30
ポケモンクリスタルなどは、MBC30と呼ばれる特殊なMBC3を使っている これを見分ける方法は今のところ、カートリッジヘッダのROMサイズとRAMサイズを見るしかない
core/gb/cartridge/mbc3.go:40
↓ 2 callers
Function
newEnvelope
()
core/gb/apu/psg/unit_envelope.go:15
↓ 2 callers
Function
newSquareChannel
(hasSweep bool)
core/gb/apu/psg/ch_square.go:28
↓ 2 callers
Function
parseHex
(s string)
core/gb/debugger_gdb.go:36
↓ 2 callers
Method
pop8
()
core/gb/cpu/sm83/algorithms.go:33
↓ 2 callers
Method
push8
(val uint8)
core/gb/cpu/sm83/algorithms.go:22
next →
1–100 of 944, ranked by callers