Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IsaacMarovitz/tetsuyu
/ functions
Functions
313 in github.com/IsaacMarovitz/tetsuyu
⨍
Functions
313
◇
Types & classes
80
↓ 1 callers
Method
decode
(&mut self)
src/hw/cpu.rs:574
↓ 1 callers
Method
decode_cb
CB-prefixed: the opcode byte is already in Z. Enqueue the operation and the terminal fetch.
src/hw/cpu.rs:894
↓ 1 callers
Method
decode_x0
(&mut self, y: u8, z: u8, p: u8, q: u8)
src/hw/cpu.rs:616
↓ 1 callers
Method
decode_x3
(&mut self, y: u8, z: u8, p: u8, q: u8)
src/hw/cpu.rs:745
↓ 1 callers
Method
disable_boot_rom
(&mut self)
src/components/ppu/ppu.rs:646
↓ 1 callers
Method
div
DIV register value, for the APU frame sequencer.
src/hw/timer.rs:129
↓ 1 callers
Method
do_write
(&mut self, a: u16, v: u8)
src/hw/sysbus.rs:167
↓ 1 callers
Method
down
(&mut self, button: JoypadButton)
src/components/joypad.rs:36
↓ 1 callers
Method
draw_sprites
(&mut self)
src/components/ppu/ppu.rs:453
↓ 1 callers
Method
enqueue_call_front
Front of queue currently holds only the terminal Fetch. Insert the taken-path cycles ahead of it (pushed in reverse).
src/hw/cpu.rs:554
↓ 1 callers
Method
enqueue_ret_front
(&mut self)
src/hw/cpu.rs:563
↓ 1 callers
Method
exec
(&mut self, e: Effect)
src/hw/cpu.rs:441
↓ 1 callers
Method
feed
(&self, amplitude: i32, pan_left: bool, pan_right: bool)
src/sound/synth.rs:57
↓ 1 callers
Method
framebuffer
The most recent complete frame as RGBA (`4 * 160 * 144` bytes).
src/harness.rs:114
↓ 1 callers
Method
get_af
Registers can be paired to be used for 16-bit operations A+F, B+C, D+E, H+L
src/components/registers.rs:36
↓ 1 callers
Method
get_divisor
(&self)
src/sound/ch4.rs:38
↓ 1 callers
Method
get_flag
(&self, flag: Flags)
src/components/registers.rs:72
↓ 1 callers
Method
get_frequency
(&self)
src/sound/ch4.rs:54
↓ 1 callers
Method
get_mbc
(&self)
src/mbc/mode.rs:40
↓ 1 callers
Method
get_volume_shift
(&self)
src/sound/ch3.rs:120
↓ 1 callers
Method
hdma_block
Advance one 0x10-byte HDMA block: returns the (src, dst) pairs to copy, then updates the running length. The motherboard performs the reads and VRAM w
src/hw/dma.rs:121
↓ 1 callers
Method
hdma_hblank_active
(&self)
src/hw/dma.rs:114
↓ 1 callers
Method
hdma_len
(&self)
src/hw/dma.rs:136
↓ 1 callers
Method
highest
Vector address for the highest-priority pending interrupt, and the bit to clear. Priority is V-Blank highest (lowest bit).
src/hw/interrupt.rs:18
↓ 1 callers
Method
ime
(&self)
src/hw/cpu.rs:979
↓ 1 callers
Method
is_width_7bit
(&self)
src/sound/ch4.rs:69
↓ 1 callers
Method
joypad_down
(&mut self, b: JoypadButton)
src/hw/sysbus.rs:77
↓ 1 callers
Method
joypad_up
(&mut self, b: JoypadButton)
src/hw/sysbus.rs:81
↓ 1 callers
Function
lfsr_noise_controlled
()
src/sound/lfsr_noise.rs:71
↓ 1 callers
Method
m_cycle
(&mut self)
src/hw/motherboard.rs:140
↓ 1 callers
Method
oam_conflict
DMG OAM-DMA bus conflict: a CPU read of the same external bus region as the active DMA source returns the DMA's latched byte.
src/hw/dma.rs:97
↓ 1 callers
Method
oam_corrupt_inc
(&mut self)
src/components/ppu/ppu.rs:688
↓ 1 callers
Method
oam_feed
Record a byte fetched for OAM DMA; advance and deactivate when done.
src/hw/dma.rs:87
↓ 1 callers
Method
oam_next
Next OAM-DMA source byte address to read this M-cycle, or None. Consumes the one-M-cycle startup delay.
src/hw/dma.rs:75
↓ 1 callers
Method
offer_interrupt
(&mut self, pending: Interrupts)
src/hw/cpu.rs:983
↓ 1 callers
Method
on_boot_rom_disabled
Forwarded from a write to 0xFF50: mirrors the legacy hand-off (clears VRAM and drops the PPU's boot-rom palette behaviour).
src/hw/ppu.rs:56
↓ 1 callers
Method
on_div_apu_tick
(&mut self)
src/sound/apu.rs:84
↓ 1 callers
Method
output
Bytes transmitted so far (captured when a transfer is started).
src/components/serial.rs:28
↓ 1 callers
Function
project_config
The project's real config (has the local boot-rom paths). Tests that need a boot ROM early-return when it is absent rather than failing.
src/harness.rs:126
↓ 1 callers
Method
read
(&self, a: u16)
src/components/joypad.rs:57
↓ 1 callers
Method
read_wave
Wave-RAM read. While the channel is on, the CGB returns the byte the channel is currently reading (any address maps to it). The DMG only exposes that
src/sound/ch3.rs:98
↓ 1 callers
Method
remaining
T-cycles left before the next reload.
src/sound/period_timer.rs:37
↓ 1 callers
Method
render
(&mut self)
src/context.rs:143
↓ 1 callers
Method
request
(&mut self, irq: Interrupts)
src/hw/interrupt.rs:50
↓ 1 callers
Method
resize
(&mut self, new_size: PhysicalSize<u32>)
src/context.rs:110
↓ 1 callers
Method
rom_bank
(&self)
src/mbc/mbc1.rs:73
↓ 1 callers
Function
rot_of
(y: u8)
src/hw/cpu.rs:98
↓ 1 callers
Method
run_free_acts
(&mut self)
src/hw/cpu.rs:1008
↓ 1 callers
Method
run_gpdma
(&mut self)
src/hw/motherboard.rs:272
↓ 1 callers
Method
run_until
Step one instruction at a time until `stop` is met or `max_cycles` T-cycles have elapsed, whichever comes first.
src/harness.rs:72
↓ 1 callers
Method
serial_output
Bytes the program has transmitted over the serial port.
src/hw/sysbus.rs:94
↓ 1 callers
Method
set_af
(&mut self, x: u16)
src/components/registers.rs:52
↓ 1 callers
Method
set_sample_rate
(&mut self, sample_rate: f64)
src/sound/lfsr_noise.rs:49
↓ 1 callers
Method
setup
(&mut self, pins: &mut Pins)
src/hw/cpu.rs:1016
↓ 1 callers
Method
start_hdma
(&mut self, v: u8)
src/hw/dma.rs:55
↓ 1 callers
Method
start_oam
(&mut self, value: u8)
src/hw/dma.rs:48
↓ 1 callers
Method
step_hdma_hblank
(&mut self)
src/hw/motherboard.rs:265
↓ 1 callers
Method
step_lfsr
(&mut self, width_7bit: bool)
src/sound/lfsr_noise.rs:19
↓ 1 callers
Method
submit_frame
(&mut self)
src/framebuffer.rs:44
↓ 1 callers
Method
take_boot_disabled
True once after a write to 0xFF50; the motherboard forwards it to the PPU.
src/hw/sysbus.rs:73
↓ 1 callers
Method
take_events
Drain the interrupt requests and the HBlank edge produced since the last call, clearing them. Used by the peer-chip bus to build its `Ticked` result i
src/components/ppu/ppu.rs:653
↓ 1 callers
Method
take_gpdma
(&mut self)
src/hw/dma.rs:110
↓ 1 callers
Method
take_oam_glitch
(&mut self)
src/hw/cpu.rs:971
↓ 1 callers
Method
take_speed_switch
(&mut self)
src/hw/cpu.rs:975
↓ 1 callers
Method
tick
(&mut self)
src/mbc/mbc3.rs:98
↓ 1 callers
Method
tick
Advance one CPU T-cycle. Returns whether a base-clock dot occurs on this tick — CPU-domain chips (timer, DMA) step every tick; base-domain chips (PPU,
src/hw/clock.rs:27
↓ 1 callers
Method
tick_lfsr
(&mut self)
src/sound/ch4.rs:45
↓ 1 callers
Method
tick_sweep
(&mut self)
src/sound/ch1.rs:70
↓ 1 callers
Method
trigger
(&mut self)
src/sound/ch4.rs:49
↓ 1 callers
Method
trigger
(&mut self)
src/sound/ch3.rs:63
↓ 1 callers
Method
trigger
(&mut self)
src/sound/ch2.rs:47
↓ 1 callers
Method
trigger
(&mut self)
src/sound/ch1.rs:121
↓ 1 callers
Method
trigger_halt_bug
Arm the HALT bug: the next opcode fetch reads the byte after HALT without advancing PC, so it is decoded twice.
src/hw/cpu.rs:958
↓ 1 callers
Method
try_speed_switch
Executed when the CPU runs STOP; flips speed if a switch is armed.
src/hw/sysbus.rs:65
↓ 1 callers
Method
up
(&mut self, button: JoypadButton)
src/components/joypad.rs:41
↓ 1 callers
Method
update
(&mut self, rgba: &[u8])
src/context.rs:121
↓ 1 callers
Method
update_channel_1
(&self, synth: &Synth)
src/sound/apu.rs:164
↓ 1 callers
Method
update_channel_2
(&self, synth: &Synth)
src/sound/apu.rs:188
↓ 1 callers
Method
update_channel_3
(&self, synth: &Synth)
src/sound/apu.rs:212
↓ 1 callers
Method
update_channel_4
(&self, synth: &Synth)
src/sound/apu.rs:228
↓ 1 callers
Method
update_global_mix
(&self, synth: &Synth)
src/sound/apu.rs:244
↓ 1 callers
Method
wake
(&mut self)
src/hw/cpu.rs:952
↓ 1 callers
Method
write_oam
OAM write port for the OAM-DMA engine, which drives OAM while holding the bus as master (unconditional, bypassing CPU mode-gating).
src/hw/ppu.rs:39
↓ 1 callers
Method
write_vram_direct
Unconditional VRAM write at the current bank, for the HDMA/GPDMA engine (which drives VRAM directly, not through the CPU's mode-gated port).
src/components/ppu/ppu.rs:683
↓ 1 callers
Method
write_vram_dma
VRAM write port for the HDMA/GPDMA engine (unconditional).
src/hw/ppu.rs:44
↓ 1 callers
Method
write_wave
Wave-RAM write. Mirrors `read_wave`: while the channel is on, the CGB redirects the write to the byte currently being read, and the DMG only accepts i
src/sound/ch3.rs:112
Method
about_to_wait
(&mut self, _event_loop: &ActiveEventLoop)
src/main.rs:130
Method
advance
(&mut self, _base_dot: bool)
src/hw/bus.rs:77
Method
advance
(&mut self, base_dot: bool)
src/hw/ppu.rs:63
Method
advance
(&mut self, _base_dot: bool)
src/hw/sysbus.rs:201
Method
advance
(&mut self, _base_dot: bool)
src/hw/timer.rs:63
Method
bus
(&mut self, _pins: &mut Pins)
src/hw/bus.rs:80
Method
bus
(&mut self, pins: &mut Pins)
src/hw/ppu.rs:75
Method
bus
(&mut self, pins: &mut Pins)
src/hw/dma.rs:142
Method
bus
(&mut self, pins: &mut Pins)
src/hw/interrupt.rs:65
Method
bus
(&mut self, pins: &mut Pins)
src/hw/sysbus.rs:213
Method
bus
(&mut self, pins: &mut Pins)
src/hw/timer.rs:84
Method
cgb_color
(r: u8, g: u8, b: u8)
src/components/ppu/cc.rs:57
Method
clear
(&mut self)
src/framebuffer.rs:53
Method
clear
(&mut self)
src/sound/volume_envelope.rs:81
← previous
next →
101–200 of 313, ranked by callers