Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RIP-Comm/clementine
/ functions
Functions
771 in github.com/RIP-Comm/clementine
⨍
Functions
771
◇
Types & classes
120
↓ 3 callers
Method
request_memory
(&mut self)
ui/src/memory_inspector.rs:73
↓ 3 callers
Method
sbc
(&mut self, rd: usize, rn: u32, op2: u32, s: bool)
emu/src/cpu/arm/operations.rs:476
↓ 3 callers
Method
square_period
Duty-step period in CPU cycles for a square channel.
emu/src/cpu/hardware/sound.rs:342
↓ 3 callers
Method
state_bit
(self)
emu/src/cpu/psr.rs:131
↓ 3 callers
Method
step_timer
Advance one of timers 1..=3 and return how many times it overflowed. In cascade mode it ticks once per overflow of the timer below it, otherwise it is
emu/src/cpu/hardware/timers.rs:171
↓ 3 callers
Method
timing
Start timing mode (bits 12-13): 0 immediate, 1 `VBlank`, 2 `HBlank`, 3 special.
emu/src/cpu/hardware/dma.rs:24
↓ 3 callers
Method
waitcnt
(&self)
emu/src/bus.rs:1305
↓ 3 callers
Method
write_byte
(&mut self, offset: usize, value: u8)
ui/src/memory_inspector.rs:98
↓ 2 callers
Method
adc
(&mut self, rd: usize, rn: u32, op2: u32, s: bool)
emu/src/cpu/arm/operations.rs:455
↓ 2 callers
Method
advance
Advance one channel's source/destination pointers and count after a single unit transfer.
emu/src/cpu/hardware/dma.rs:83
↓ 2 callers
Method
and
(&mut self, rd: usize, rn: u32, op2: u32, s: bool)
emu/src/cpu/arm/operations.rs:428
↓ 2 callers
Method
bic
(&mut self, rd: usize, rn: u32, op2: u32, s: bool)
emu/src/cpu/arm/operations.rs:644
↓ 2 callers
Method
can_execute
(self, cond: Condition)
emu/src/cpu/psr.rs:56
↓ 2 callers
Method
channels_for_timing
(&self, timing: u16)
emu/src/cpu/hardware/dma.rs:73
↓ 2 callers
Method
cmn
(&mut self, rn: u32, op2: u32)
emu/src/cpu/arm/operations.rs:618
↓ 2 callers
Method
display_name
Display name for the UI.
ui/src/pokemon_debugger.rs:63
↓ 2 callers
Method
entry_point_address
(&self)
emu/src/cartridge_header.rs:202
↓ 2 callers
Method
eor
(&mut self, rd: usize, rn: u32, op2: u32, s: bool)
emu/src/cpu/arm/operations.rs:516
↓ 2 callers
Method
feed_dma_sound
Pop the DMA sound channels clocked by the given timer and refill any FIFO that dropped to half through its sound DMA channel.
emu/src/bus.rs:590
↓ 2 callers
Method
frame_sequencer_tick
One step of the 512 Hz frame sequencer: length at 256 Hz, sweep at 128 Hz, envelope at 64 Hz.
emu/src/cpu/hardware/sound.rs:428
↓ 2 callers
Method
get_blend_brightness
Get brightness coefficient (EVY) from BLDY. Range 0-16, representing fade amount (0 = none, 16 = full white/black).
emu/src/cpu/hardware/lcd/registers.rs:525
↓ 2 callers
Method
get_obj_character_vram_mapping
(&self)
emu/src/cpu/hardware/lcd/registers.rs:168
↓ 2 callers
Method
get_texture_space_point
( &self, sprite_size: Point<u16>, pixel_screen_sprite_origin: Point<u16>, tran
emu/src/cpu/hardware/lcd/layers/layer_obj.rs:166
↓ 2 callers
Method
has_valid_entry_point
(&self)
emu/src/cartridge_header.rs:228
↓ 2 callers
Function
in_horizontal_range
Check if x is within horizontal window bounds [left, right). Handles wrap-around: if right < left, the range wraps around the screen edge (i.e., x >=
emu/src/cpu/hardware/lcd/registers.rs:534
↓ 2 callers
Function
in_vertical_range
Check if y is within vertical window bounds [top, bottom). Handles wrap-around: if bottom < top, the range wraps around the screen edge. Returns fals
emu/src/cpu/hardware/lcd/registers.rs:546
↓ 2 callers
Method
irq_disable
(self)
emu/src/cpu/psr.rs:119
↓ 2 callers
Method
is_irq_pending
(&self)
emu/src/bus.rs:1494
↓ 2 callers
Method
layer_id
(&self)
emu/src/cpu/hardware/lcd/layers/layer_0.rs:107
↓ 2 callers
Method
mix
Combine the DMA sound and PSG channels according to `SOUNDCNT_L`/`H`/`X` into a normalized stereo pair in `[-1.0, 1.0]`.
emu/src/cpu/hardware/sound.rs:626
↓ 2 callers
Method
mul_or_mla
( &mut self, set_condition_codes: bool, does_accumulate: bool, rd: u32,
emu/src/cpu/arm/operations.rs:1195
↓ 2 callers
Method
muted
(&self)
ui/src/audio.rs:38
↓ 2 callers
Method
mvn
(&mut self, rd: usize, op2: u32, s: bool)
emu/src/cpu/arm/operations.rs:655
↓ 2 callers
Method
noise_period
Shift period in CPU cycles for the noise channel.
emu/src/cpu/hardware/sound.rs:357
↓ 2 callers
Method
orr
(&mut self, rd: usize, rn: u32, op2: u32, s: bool)
emu/src/cpu/arm/operations.rs:624
↓ 2 callers
Method
party_address
Get the party address (gPlayerParty) for this game version.
ui/src/pokemon_debugger.rs:33
↓ 2 callers
Method
pop_fifo
Pop the next byte of a DMA sound channel into its held sample. Returns `true` when the FIFO has drained to half or below and needs a refill.
emu/src/cpu/hardware/sound.rs:195
↓ 2 callers
Method
read_half_word
(&mut self, mut address: usize)
emu/src/bus.rs:1438
↓ 2 callers
Method
reload_count
Word count to load, treating 0 as the maximum for the channel.
emu/src/cpu/hardware/dma.rs:29
↓ 2 callers
Method
reload_square_envelope
(&mut self, index: usize)
emu/src/cpu/hardware/sound.rs:324
↓ 2 callers
Function
render_affine_bg
Renders an affine-mode background pixel. This is the shared implementation for affine backgrounds (BG2/BG3 in mode 2). # Affine Transformation ```t
emu/src/cpu/hardware/lcd/layers.rs:392
↓ 2 callers
Method
reset_fifo
Clear FIFO A/B and its held sample. Triggered by the reset bits in `SOUNDCNT_H`.
emu/src/cpu/hardware/sound.rs:183
↓ 2 callers
Method
restore_audio_out
Reinstall the audio sink after a save state load.
emu/src/bus.rs:1263
↓ 2 callers
Method
ror
Rotate Right rd by the value in rs, store the result in rd and set condition codes.
emu/src/cpu/arm/operations.rs:440
↓ 2 callers
Method
rsb
(&mut self, rd: usize, rn: u32, op2: u32, s: bool)
emu/src/cpu/arm/operations.rs:537
↓ 2 callers
Method
run_dma_block
Transfer one channel's currently latched block of units, then apply the repeat or disable rules.
emu/src/bus.rs:566
↓ 2 callers
Method
run_event_dma
Run the DMA channels triggered by an LCD timing event (1 = `VBlank`, 2 = `HBlank`). Each runs one latched block of transfers.
emu/src/bus.rs:555
↓ 2 callers
Method
run_fifo_dma
Run the sound DMA channels feeding the FIFO at `dest`. FIFO DMA always moves four 32-bit units into the fixed FIFO address and leaves the channel enab
emu/src/bus.rs:603
↓ 2 callers
Method
send_cheat
Push a cheat's freeze state to the emulator thread.
ui/src/pokemon_debugger.rs:985
↓ 2 callers
Method
send_frame
Send current LCD frame to UI.
ui/src/emu_thread.rs:683
↓ 2 callers
Method
set_current_pc
Updates the current program counter for BIOS read protection
emu/src/bus.rs:1503
↓ 2 callers
Method
set_hblank_flag
(&mut self, value: bool)
emu/src/cpu/hardware/lcd/registers.rs:192
↓ 2 callers
Method
set_last_bios_opcode
Updates the last BIOS opcode for BIOS read protection
emu/src/bus.rs:1508
↓ 2 callers
Function
set_open
(open: &mut BTreeSet<String>, key: &'static str, is_open: bool)
ui/src/app.rs:339
↓ 2 callers
Method
set_speed
Send speed update to the emulator thread.
ui/src/cpu_handler.rs:37
↓ 2 callers
Method
set_vblank_flag
(&mut self, value: bool)
emu/src/cpu/hardware/lcd/registers.rs:188
↓ 2 callers
Method
set_vcounter_flag
(&mut self, value: bool)
emu/src/cpu/hardware/lcd/registers.rs:196
↓ 2 callers
Method
show
(&mut self, ctx: &egui::Context, open: &mut bool)
ui/src/about.rs:11
↓ 2 callers
Method
show
(&mut self, ctx: &egui::Context, open: &mut bool)
ui/src/rom_info.rs:59
↓ 2 callers
Method
smull_or_smlal
( &mut self, set_condition_codes: bool, does_accumulate: bool, rdhi: u32,
emu/src/cpu/arm/operations.rs:1269
↓ 2 callers
Method
species_name
Get the species name. Gen 3 stores species by internal index, which must be converted to National Dex.
ui/src/pokemon_debugger.rs:664
↓ 2 callers
Method
square_output
Current output of a square channel as a signed level in `[-1.0, 1.0]`, or `0.0` when the channel is off.
emu/src/cpu/hardware/sound.rs:546
↓ 2 callers
Method
step
Step all peripherals (timers, LCD, etc.) for one CPU cycle. Returns `true` if `VBlank` just started (a new frame is ready).
emu/src/bus.rs:1161
↓ 2 callers
Method
sub
(&mut self, rd: usize, rn: u32, op2: u32, s: bool)
emu/src/cpu/arm/operations.rs:527
↓ 2 callers
Method
tick_square
(&mut self, index: usize, cycles: u64)
emu/src/cpu/hardware/sound.rs:379
↓ 2 callers
Method
tst
(&mut self, rn: u32, op2: u32)
emu/src/cpu/arm/operations.rs:594
↓ 2 callers
Method
umull_or_umlal
( &mut self, set_condition_codes: bool, does_accumulate: bool, rdhi: u32,
emu/src/cpu/arm/operations.rs:1229
↓ 2 callers
Method
volume
(&self)
ui/src/audio.rs:29
↓ 2 callers
Method
wave_period
Sample period in CPU cycles for the wave channel.
emu/src/cpu/hardware/sound.rs:352
↓ 2 callers
Method
wild_encounters_offset
ROM offset of the gWildMonHeaders table for this game version. Each header is 20 bytes: `map_group`(1), `map_num`(1), pad(2), `grass_ptr`(4), `water_p
ui/src/pokemon_debugger.rs:48
↓ 2 callers
Method
windows
(&mut self, ctx: &egui::Context)
ui/src/app.rs:223
↓ 2 callers
Method
write_bytes
Write consecutive bytes starting at `address`.
ui/src/emu_thread.rs:701
↓ 1 callers
Method
add_cheats_from_input
Parse the cheat input box (one `ADDRESS VALUE` per line, hex) and add a freeze for each valid line. Value byte-width follows the hex digit count (1, 2
ui/src/pokemon_debugger.rs:962
↓ 1 callers
Method
add_offset_sp
(&mut self, s: bool, word7: u16)
emu/src/cpu/thumb/operations.rs:489
↓ 1 callers
Method
add_subtract
( &mut self, operation_kind: OperandKind, op: bool, rn_offset3: u16, r
emu/src/cpu/thumb/operations.rs:30
↓ 1 callers
Method
address
(self)
emu/src/cpu/arm7tdmi.rs:179
↓ 1 callers
Method
alu_op
(&mut self, op: ThumbModeAluInstruction, rs: u16, rd: u16)
emu/src/cpu/thumb/operations.rs:96
↓ 1 callers
Method
apply
a,b,c,d,x,y are standard matrix/vector notation
emu/src/cpu/hardware/lcd/object_attributes.rs:416
↓ 1 callers
Method
apply_blend_effect
Apply color blending effects based on BLDCNT settings.
emu/src/cpu/hardware/lcd.rs:381
↓ 1 callers
Method
apply_freezes
Re-write every frozen region to hold its value constant.
ui/src/emu_thread.rs:709
↓ 1 callers
Method
are_bits_on
Checks if a certain sequence of bit is set to 1. Return false whenever there is a least one bit which is set to 0, true otherwise. When all bits are s
emu/src/bitwise.rs:82
↓ 1 callers
Function
bios_path
BIOS path: `CLEMENTINE_BIOS` if set, otherwise the repo-root `gba_bios.bin`.
emu/tests/jsmolka.rs:23
↓ 1 callers
Method
block_data_transfer
( &mut self, indexing: Indexing, offsetting: Offsetting, load_psr: bool,
emu/src/cpu/arm/operations.rs:910
↓ 1 callers
Method
branch
Executes a branch instruction (B/BL). # Panics Panics if PC conversion fails.
emu/src/cpu/arm/operations.rs:1111
↓ 1 callers
Method
branch_and_exchange
(&mut self, register: usize)
emu/src/cpu/arm/operations.rs:666
↓ 1 callers
Method
check_and_execute_dma
Latch newly enabled DMA channels and run any immediate (timing 0) one.
emu/src/bus.rs:547
↓ 1 callers
Method
check_breakpoint
Check if any breakpoint matches the current PC.
ui/src/emu_thread.rs:637
↓ 1 callers
Method
check_load_result
(&mut self)
ui/src/savegame.rs:107
↓ 1 callers
Method
check_pending_data
(&mut self)
ui/src/memory_inspector.rs:83
↓ 1 callers
Method
check_pending_data
(&mut self)
ui/src/pokemon_debugger.rs:878
↓ 1 callers
Method
check_pending_save
(&mut self)
ui/src/savegame.rs:58
↓ 1 callers
Method
check_wild_patch_result
Check for pending wild encounter patch result from the emu thread.
ui/src/pokemon_debugger.rs:1186
↓ 1 callers
Method
checkboxes
(&mut self, ui: &mut egui::Ui)
ui/src/app.rs:215
↓ 1 callers
Method
clock_envelope
(&mut self)
emu/src/cpu/hardware/sound.rs:508
↓ 1 callers
Method
clock_length
(&mut self)
emu/src/cpu/hardware/sound.rs:442
↓ 1 callers
Method
clock_sweep
(&mut self)
emu/src/cpu/hardware/sound.rs:469
↓ 1 callers
Method
cond_branch
(&mut self, condition: Condition, immediate_offset: i32)
emu/src/cpu/thumb/operations.rs:632
↓ 1 callers
Method
data_processing
Executes a data processing (ALU) instruction. # Panics Panics if register index conversion fails.
emu/src/cpu/arm/operations.rs:36
↓ 1 callers
Function
decode_gba_text
Decode GBA text encoding to UTF-8 string.
ui/src/pokemon_debugger.rs:707
↓ 1 callers
Method
disasm_rx
Access the disassembler consumer directly.
ui/src/emu_thread.rs:817
← previous
next →
101–200 of 771, ranked by callers