Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EMachad0/YAGBER
/ functions
Functions
784 in github.com/EMachad0/YAGBER
⨍
Functions
784
◇
Types & classes
180
↓ 60 callers
Method
address
(self)
crates/memory/src/interrupt.rs:26
↓ 46 callers
Method
read
(&self, address: u16)
crates/memory/src/bus.rs:36
↓ 45 callers
Method
address
(&self)
crates/memory/src/io_registers/io_type.rs:142
↓ 40 callers
Method
with_plugin
(mut self, plugin: P)
crates/app/src/emulator.rs:171
↓ 39 callers
Method
set_h
(&mut self, value: u8)
crates/cpu/src/registers.rs:90
↓ 38 callers
Method
flags_mut
(&mut self)
crates/cpu/src/registers.rs:66
↓ 37 callers
Method
set_n
(self, value: bool)
crates/cpu/src/registers.rs:221
↓ 35 callers
Method
set_c
(&mut self, value: u8)
crates/cpu/src/registers.rs:78
↓ 33 callers
Method
write
(&mut self, address: u16, value: u8)
crates/memory/src/bus.rs:61
↓ 32 callers
Method
with_hook
(&mut self, io: IOType, hook: F)
crates/memory/src/io_registers/io_bus.rs:87
↓ 29 callers
Method
read
(&self, address: u16)
crates/memory/src/io_registers/io_bus.rs:19
↓ 28 callers
Method
set_z_if_zero
(self, value: u8)
crates/cpu/src/registers.rs:217
↓ 27 callers
Method
a
(&self)
crates/cpu/src/registers.rs:29
↓ 27 callers
Method
attach_component
(&mut self, f: F)
crates/app/src/emulator.rs:204
↓ 26 callers
Function
match_mask
Check if the opcode matches the mask mask is the u8 with ones in the positions that should be ones nmask is the u8 with ones in the positions that sho
crates/cpu/src/instructions/binary_utils.rs:4
↓ 25 callers
Method
set_a
(&mut self, value: u8)
crates/cpu/src/registers.rs:70
↓ 23 callers
Method
r8
Get the r8 from instructions that use it r8: 3-bit, one of the 8-bit register
crates/cpu/src/instructions/instruction.rs:119
↓ 22 callers
Method
read_r8
(&self, r8: u3, bus: &mut Bus)
crates/cpu/src/cpu.rs:149
↓ 16 callers
Method
read
(&self, index: u8)
crates/memory/src/io_registers/wav_ram.rs:36
↓ 16 callers
Method
with_component
(&mut self, component: C)
crates/app/src/emulator.rs:181
↓ 15 callers
Method
imm8
Get the 8-bit immediate value
crates/cpu/src/instructions/instruction.rs:108
↓ 14 callers
Method
flags
(&self)
crates/cpu/src/registers.rs:62
↓ 14 callers
Method
write_r8
(&mut self, r8: u3, value: u8, bus: &mut Bus)
crates/cpu/src/cpu.rs:163
↓ 13 callers
Method
value
(&self)
crates/memory/src/io_registers/audlen.rs:79
↓ 12 callers
Method
value
(&self)
crates/cpu/src/instructions/condition_code.rs:11
↓ 11 callers
Method
audena_bit
(&self)
crates/memory/src/io_registers/audena.rs:26
↓ 11 callers
Function
cpu_instrs_individual_test
(test_name: &str)
tests/test_roms/blargg/cpu_instrs.rs:25
↓ 11 callers
Method
tick
(&mut self)
crates/timer/src/timer.rs:21
↓ 9 callers
Method
c
(&self)
crates/cpu/src/registers.rs:42
↓ 9 callers
Method
c_u8
(&self)
crates/cpu/src/registers.rs:183
↓ 9 callers
Method
hl
(&self)
crates/cpu/src/registers.rs:110
↓ 9 callers
Method
r16
Get the r16 from instructions that use it r16: 2-bit, one of the 16-bit registers r16stk: 2-bit, one of the 16-bit registers of the stack r16mem: 2-bi
crates/cpu/src/instructions/instruction.rs:152
↓ 9 callers
Method
tick
Ticks the APU. Meant to be called every T-cycle.
crates/apu/src/apu.rs:57
↓ 9 callers
Method
trigger_enabled
(&self)
crates/memory/src/io_registers/audgo.rs:23
↓ 8 callers
Method
ch_enabled
(&self, channel: AudioChannel)
crates/memory/src/io_registers/audena.rs:50
↓ 8 callers
Method
imm16
Get the 16-bit immediate value
crates/cpu/src/instructions/instruction.rs:113
↓ 8 callers
Method
is_pressed
Is this button pressed?
crates/input/src/key_state.rs:12
↓ 8 callers
Method
key_state
(&self, key: JoypKey)
crates/input/src/joyp_input_state.rs:85
↓ 8 callers
Method
mode
(&self)
crates/ppu/src/ppu.rs:339
↓ 8 callers
Method
write_unchecked
(&mut self, address: u16, value: u8)
crates/memory/src/io_registers/io_bus.rs:34
↓ 7 callers
Method
add_component
(&mut self, component: T)
crates/app/src/components/component_bus.rs:14
↓ 7 callers
Method
colour_index
Receives the pixel coordinate in the tile. Returns the colour index of the pixel.
crates/ppu/src/models/tile.rs:27
↓ 7 callers
Method
set_z
(self, value: bool)
crates/cpu/src/registers.rs:208
↓ 6 callers
Method
attach_components2
( &mut self, f: F, )
crates/app/src/emulator.rs:212
↓ 6 callers
Method
dac_enabled
(&self)
crates/memory/src/io_registers/audenv.rs:57
↓ 6 callers
Method
initial_volume
(&self)
crates/memory/src/io_registers/audenv.rs:41
↓ 6 callers
Method
mode
(&self)
crates/memory/src/io_registers/sys.rs:23
↓ 6 callers
Method
pace
(&self)
crates/memory/src/io_registers/audsweep.rs:24
↓ 6 callers
Method
push
(&mut self, sample: f32)
crates/apu/src/audio_buffer.rs:39
↓ 6 callers
Method
set_hl
(&mut self, value: u16)
crates/cpu/src/registers.rs:144
↓ 6 callers
Method
step
Perform a single CPU step Respects instruction timing Represents a single M-cycle
crates/cpu/src/cpu.rs:51
↓ 6 callers
Method
write_unhooked
(&mut self, address: u16, value: u8)
crates/memory/src/io_registers/io_bus.rs:45
↓ 5 callers
Method
attr
(&self)
crates/ppu/src/models/object.rs:49
↓ 5 callers
Method
cond
Get the condition code from instructions that use it cond: condition code (z, nz, c, nc) The condition code is a 2-bit value
crates/cpu/src/instructions/instruction.rs:176
↓ 5 callers
Method
priority
(&self)
crates/ppu/src/models/attribute.rs:41
↓ 5 callers
Method
read_next_byte
(&mut self, bus: &mut Bus)
crates/cpu/src/cpu.rs:138
↓ 5 callers
Method
step
(&mut self, bus: &mut Bus)
crates/ppu/src/ppu.rs:48
↓ 5 callers
Method
step
Step the emulator a single dot.
crates/app/src/emulator.rs:50
↓ 5 callers
Method
x
(&self)
crates/ppu/src/models/object.rs:26
↓ 4 callers
Method
add_callback
(&mut self, callback: F)
crates/app/src/callback_queue.rs:16
↓ 4 callers
Method
b3
Get the b3 from instructions that use it b3: 3-bit bit index The b3 is a 3-bit value
crates/cpu/src/instructions/instruction.rs:190
↓ 4 callers
Method
call
(&mut self, bus: &mut Bus, address: u16)
crates/cpu/src/cpu.rs:248
↓ 4 callers
Method
callbacks
(&self)
crates/app/src/callback_queue.rs:23
↓ 4 callers
Method
channel_tick
(&mut self, bus: &mut yagber_memory::Bus, channel: yagber_memory::AudioChannel)
crates/apu/src/apu.rs:102
↓ 4 callers
Method
check_condition
(&self, condition: ConditionCode)
crates/cpu/src/cpu.rs:227
↓ 4 callers
Method
data_slice
(&self)
crates/memory/src/ram.rs:38
↓ 4 callers
Method
decrement_length_counter
(&mut self)
crates/apu/src/channels/wave_channel.rs:47
↓ 4 callers
Method
get_channel_sample
( &self, bus: &mut yagber_memory::Bus, channel: yagber_memory::AudioChannel, )
crates/apu/src/apu.rs:177
↓ 4 callers
Method
h
(&self)
crates/cpu/src/registers.rs:54
↓ 4 callers
Method
just_entered_mode
(&self, mode: PpuMode)
crates/ppu/src/ppu.rs:365
↓ 4 callers
Method
length_enabled
(&self)
crates/memory/src/io_registers/audgo.rs:27
↓ 4 callers
Method
request_interrupt
(&mut self, interrupt: InterruptType)
crates/memory/src/bus.rs:86
↓ 4 callers
Method
stack_pop
(&mut self, bus: &mut Bus)
crates/cpu/src/cpu.rs:242
↓ 4 callers
Method
sweep_pace
(&self)
crates/memory/src/io_registers/audenv.rs:53
↓ 4 callers
Method
take_consumer
(&mut self)
crates/apu/src/audio_buffer.rs:47
↓ 4 callers
Method
timer_length
(&self)
crates/memory/src/io_registers/audlen.rs:66
↓ 4 callers
Method
value
(&self)
crates/ppu/src/models/attribute.rs:8
↓ 4 callers
Method
with_cartridge
(mut self, data: &[u8])
crates/memory/src/lib.rs:31
↓ 4 callers
Method
with_transformer
(&mut self, io: IOType, transformer: F)
crates/memory/src/io_registers/io_bus.rs:79
↓ 4 callers
Function
write_metadata
(path: &str, source: &str, version: &str)
scripts/fetch_test_roms.rs:249
↓ 3 callers
Method
add_dest
(&mut self, dest: Destination)
crates/link_cable/src/dest.rs:42
↓ 3 callers
Method
any_interrupt_pending
(&self, bus: &mut Bus)
crates/cpu/src/cpu.rs:255
↓ 3 callers
Method
bc
(&self)
crates/cpu/src/registers.rs:102
↓ 3 callers
Method
bg_window_enabled_priority
(&self)
crates/memory/src/io_registers/lcdc.rs:92
↓ 3 callers
Method
cgb_palette
(&self)
crates/ppu/src/models/attribute.rs:65
↓ 3 callers
Method
change_volume
(&mut self, value: i8)
crates/apu/src/channels/noise_channel.rs:89
↓ 3 callers
Method
de
(&self)
crates/cpu/src/registers.rs:106
↓ 3 callers
Method
disable
(&mut self, bus: &mut yagber_memory::Bus)
crates/apu/src/sweep.rs:82
↓ 3 callers
Method
frequency_calculation
(&self, aud_1_sweep: &yagber_memory::Aud1Sweep)
crates/apu/src/sweep.rs:69
↓ 3 callers
Method
mode
(&self)
crates/memory/src/io_registers/stat.rs:40
↓ 3 callers
Method
overflow_check
(&self, new_period: u16)
crates/apu/src/sweep.rs:78
↓ 3 callers
Method
period_high
(&self)
crates/memory/src/io_registers/audgo.rs:31
↓ 3 callers
Method
read_bit
(&self, address: u16, bit: u8)
crates/memory/src/memory.rs:15
↓ 3 callers
Method
read_r16
(&self, r16: u2)
crates/cpu/src/cpu.rs:177
↓ 3 callers
Method
read_usize
(&self, address: usize)
crates/memory/src/ram.rs:24
↓ 3 callers
Function
run_emulator
( rom: &[u8], out_log_path: &str, )
tests/test_roms/blargg/mod.rs:6
↓ 3 callers
Method
speed_mode
(&self)
crates/memory/src/io_registers/spd.rs:19
↓ 3 callers
Method
tick
(&mut self)
crates/apu/src/divapu.rs:46
↓ 3 callers
Method
to_vec
(&self)
crates/memory/src/ram.rs:42
↓ 3 callers
Method
with_serial_output_buffer
(mut self)
crates/link_cable/src/lib.rs:23
next →
1–100 of 784, ranked by callers