MCPcopy Create free account

hub / github.com/IsaacMarovitz/tetsuyu / functions

Functions313 in github.com/IsaacMarovitz/tetsuyu

↓ 164 callersMethodpush
(&mut self, op: MicroOp)
src/hw/cpu.rs:544
↓ 52 callersMethodset_flag
(&mut self, flag: Flags, state: bool)
src/components/registers.rs:76
↓ 16 callersMethodpush_front
(&mut self, op: MicroOp)
src/hw/cpu.rs:548
↓ 12 callersMethodflag
(&self, f: Flags)
src/hw/cpu.rs:291
↓ 12 callersFunctionr8_of
r-table: index 6 is (HL); handled specially by callers.
src/hw/cpu.rs:45
↓ 11 callersMethodread
(&self)
src/components/ppu/bgpi.rs:14
↓ 10 callersMethodtick
Advance one T-cycle, reloading with `period` and returning true when the period elapses.
src/sound/period_timer.rs:24
↓ 9 callersMethodbus
(&mut self, pins: &mut Pins)
src/hw/apu.rs:26
↓ 9 callersMethodr8
(&self, r: R8)
src/hw/cpu.rs:215
↓ 8 callersMethodload
(&mut self, value: u16, max_length: u16)
src/sound/length_counter.rs:24
↓ 8 callersMethodmerge
(&mut self, other: Ticked)
src/hw/bus.rs:60
↓ 8 callersMethodwrite
(&mut self, v: u8)
src/components/ppu/bgpi.rs:19
↓ 7 callersMethodread_vram
(&self, a: u16, bank: usize)
src/components/ppu/ppu.rs:669
↓ 7 callersMethodselected
A chip calls this in its `tick` to decide whether to respond this dot.
src/hw/bus.rs:45
↓ 7 callersMethodset_r8
(&mut self, r: R8, v: u8)
src/hw/cpu.rs:227
↓ 6 callersMethodclear
(&mut self)
src/sound/ch4.rs:28
↓ 6 callersMethodget_hl
(&self)
src/components/registers.rs:48
↓ 6 callersMethodset
Load the counter directly. Used on trigger, where a channel may fold its own startup delay into the first period.
src/sound/period_timer.rs:18
↓ 6 callersMethodupdate_stat_line
(&mut self)
src/components/ppu/ppu.rs:193
↓ 6 callersMethoduse_cgb_mode
(&self)
src/components/ppu/ppu.rs:661
↓ 6 callersMethodwz
(&self)
src/hw/cpu.rs:211
↓ 5 callersMethodcheck_lyc
(&mut self)
src/components/ppu/ppu.rs:183
↓ 5 callersMethodset_pixel
(&mut self, r: u8, g: u8, b: u8, x: usize, y: usize)
src/framebuffer.rs:30
↓ 4 callersMethodadvance
Advance the APU, driven by the DIV-APU edge (falling bit 4/5).
src/hw/apu.rs:22
↓ 4 callersMethodb
(&self)
src/config.rs:90
↓ 4 callersFunctioncc_of
(y: u8)
src/hw/cpu.rs:76
↓ 4 callersMethodcond
(&self, c: Cond)
src/hw/cpu.rs:295
↓ 4 callersMethodenable_clock
Extra clock applied when the counter is enabled (0->1 via NRx4) while the next frame-sequencer step won't clock length. Returns true if this drove the
src/sound/length_counter.rs:41
↓ 4 callersMethodg
(&self)
src/config.rs:86
↓ 4 callersMethodlength_extra_clock
(&self)
src/sound/apu.rs:124
↓ 4 callersMethodmux
The bit whose falling edge (ANDed with timer-enable) clocks TIMA.
src/hw/timer.rs:40
↓ 4 callersMethodnote_oam_glitch
Record that a 16-bit inc/dec acted on an address in the OAM region. The DMG glitches OAM when this happens during mode 2; the motherboard forwards the
src/hw/cpu.rs:965
↓ 4 callersMethodr
(&self)
src/config.rs:82
↓ 4 callersMethodread
(&self, a: u16)
src/components/ppu/ppu.rs:721
↓ 4 callersFunctionrp_of
(p: u8)
src/hw/cpu.rs:58
↓ 4 callersMethodset_hl
(&mut self, x: u16)
src/components/registers.rs:67
↓ 4 callersMethodtrigger_reload
(&mut self, max_length: u16, extra: bool)
src/sound/length_counter.rs:28
↓ 4 callersMethodupdate
(&self, freq: f32, vol: f32, duty: f32, pan_left: bool, pan_right: bool)
src/sound/synth.rs:30
↓ 3 callersFunctionalu_of
(y: u8)
src/hw/cpu.rs:85
↓ 3 callersMethodcalculate_sweep_frequency
(&mut self)
src/sound/ch1.rs:102
↓ 3 callersMethoddouble_speed
(&self)
src/hw/sysbus.rs:60
↓ 3 callersMethodget_bc
(&self)
src/components/registers.rs:40
↓ 3 callersMethodget_de
(&self)
src/components/registers.rs:44
↓ 3 callersMethodr16
(&self, r: R16)
src/hw/cpu.rs:239
↓ 3 callersMethodreload
(&mut self)
src/sound/volume_envelope.rs:48
↓ 3 callersMethodreset_ly
(&mut self)
src/components/ppu/ppu.rs:264
↓ 3 callersMethodrotate
(&mut self, op: RotOp, v: u8)
src/hw/cpu.rs:392
↓ 3 callersFunctionrp2_of
(p: u8)
src/hw/cpu.rs:67
↓ 3 callersMethodset_r16
(&mut self, r: R16, v: u16)
src/hw/cpu.rs:248
↓ 3 callersMethodset_rgb_mapped
(&mut self, x: usize, color: u16)
src/components/ppu/ppu.rs:278
↓ 3 callersMethodtick_frequency
(&mut self)
src/sound/ch3.rs:52
↓ 3 callersMethodtima_tick
Clock TIMA once. On overflow TIMA wraps to 0x00 and the TMA reload + interrupt are scheduled one M-cycle later, rather than happening now.
src/hw/timer.rs:53
↓ 3 callersMethodwindow_visible
(&mut self)
src/components/ppu/ppu.rs:248
↓ 2 callersMethodadd_sp_e
(&mut self)
src/hw/cpu.rs:382
↓ 2 callersMethodaddr
(&self, a: Addr)
src/hw/cpu.rs:266
↓ 2 callersMethodalu
(&mut self, op: AluOp, v: u8)
src/hw/cpu.rs:306
↓ 2 callersMethodat_instruction_boundary
(&self)
src/hw/cpu.rs:944
↓ 2 callersMethodbit
(&mut self, n: u8, v: u8)
src/hw/cpu.rs:411
↓ 2 callersMethodbus_read
Read an address as a non-CPU bus master, without advancing any chip's internal clock. Used by the DMA engine for its source fetches.
src/hw/motherboard.rs:242
↓ 2 callersFunctioncreate_framebuffer_pair
()
src/framebuffer.rs:101
↓ 2 callersMethodcycle
(&mut self, div: u8, double_speed: bool)
src/sound/apu.rs:130
↓ 2 callersMethoddec8
(&mut self, v: u8)
src/hw/cpu.rs:365
↓ 2 callersMethoddo_read
(&self, a: u16)
src/hw/sysbus.rs:114
↓ 2 callersMethoddraw_bg_pixel
(&mut self, x: usize)
src/components/ppu/ppu.rs:290
↓ 2 callersMethodfill
(&mut self, r: u8, g: u8, b: u8)
src/framebuffer.rs:57
↓ 2 callersMethodflush
(&mut self)
src/sound/ch3_blip.rs:62
↓ 2 callersMethodget_latest_frame
(&mut self)
src/framebuffer.rs:95
↓ 2 callersMethodhdma_copy_block
(&mut self)
src/hw/motherboard.rs:285
↓ 2 callersMethodidle_mcycle
(&mut self)
src/hw/motherboard.rs:232
↓ 2 callersMethodinc8
(&mut self, v: u8)
src/hw/cpu.rs:357
↓ 2 callersMethodinc_ly
(&mut self)
src/components/ppu/ppu.rs:252
↓ 2 callersMethodis_halted
(&self)
src/hw/cpu.rs:948
↓ 2 callersMethodpeek
Read one byte of CPU-addressable memory (no side effects).
src/harness.rs:97
↓ 2 callersMethodpending
Bits that are both requested and enabled — the CPU's IRQ input.
src/hw/interrupt.rs:55
↓ 2 callersMethodpoll
Drain any pending frames into `current_frame`, counting them. Returns the total number of frames produced since construction.
src/framebuffer.rs:83
↓ 2 callersMethodram_bank
(&self)
src/mbc/mbc1.rs:81
↓ 2 callersMethodrun_dots
Advance the four T-cycles of an M-cycle. Chips advance their internal clock every dot (base-domain gated by the divider); the bus transfer resolves on
src/hw/motherboard.rs:194
↓ 2 callersMethodsend_input
(&mut self, key: Key, pressed: bool)
src/main.rs:142
↓ 2 callersMethodset_bc
(&mut self, x: u16)
src/components/registers.rs:57
↓ 2 callersMethodset_counter
(&mut self, value: u16)
src/hw/timer.rs:44
↓ 2 callersMethodset_de
(&mut self, x: u16)
src/components/registers.rs:62
↓ 2 callersMethodstep
Run one instruction; returns the elapsed T-cycles (4 per M-cycle).
src/hw/motherboard.rs:117
↓ 2 callersMethodstep_oam_dma
(&mut self)
src/hw/motherboard.rs:256
↓ 2 callersMethodstk16
(&self, r: R16Stk)
src/hw/cpu.rs:257
↓ 2 callersMethodupdate_joypad
(&mut self)
src/components/joypad.rs:45
↓ 2 callersMethodwindow
(&self)
src/context.rs:106
↓ 2 callersMethodwrite_vram
(&mut self, a: u16, v: u8, bank: usize)
src/components/ppu/ppu.rs:673
↓ 1 callersMethodabout_to_read
True two T-cycles before the wave channel reads its next sample: the window in which a DMG retrigger corrupts wave RAM.
src/sound/ch3.rs:75
↓ 1 callersMethodacknowledge
(&mut self, bit: Interrupts)
src/hw/interrupt.rs:59
↓ 1 callersMethodadd_hl
(&mut self, v: u16)
src/hw/cpu.rs:373
↓ 1 callersMethodapply_drift_correction
(&mut self)
src/sound/ch3_blip.rs:78
↓ 1 callersMethodbuild_sprite_stalls
(&mut self)
src/components/ppu/ppu.rs:208
↓ 1 callersMethodbyte
(&self, b: Byte)
src/hw/cpu.rs:278
↓ 1 callersFunctionch3_blip_pair
(sample_rate: u32)
src/sound/ch3_blip.rs:116
↓ 1 callersMethodclear_vram
(&mut self)
src/components/ppu/ppu.rs:642
↓ 1 callersMethodcomplete
(&mut self, pins: &Pins)
src/hw/cpu.rs:1037
↓ 1 callersMethodcorrupt_oam_inc
DMG OAM corruption: a 16-bit inc/dec through the OAM region during mode 2 glitches the row being scanned. No-op outside that window.
src/hw/ppu.rs:50
↓ 1 callersMethodcorrupt_wave_ram
(&mut self)
src/sound/ch3.rs:79
↓ 1 callersMethodcurrent_amplitude
(&self)
src/sound/ch3.rs:132
↓ 1 callersMethoddaa
(&mut self)
src/hw/cpu.rs:417
next →1–100 of 313, ranked by callers