Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Amjad50/mizu
/ functions
Functions
555 in github.com/Amjad50/mizu
⨍
Functions
555
◇
Types & classes
90
↓ 112 callers
Method
flag_set
(&mut self, flag: CpuFlags, value: bool)
mizu-core/src/cpu.rs:285
↓ 31 callers
Method
channel_mut
(&mut self)
mizu-core/src/apu/channel.rs:40
↓ 24 callers
Method
write
(&mut self, data: u8)
mizu-core/src/memory.rs:136
↓ 22 callers
Method
advance_bus
advances the bus and all other components by one machine cycle
mizu-core/src/cpu.rs:411
↓ 22 callers
Method
len
(&self)
mizu-core/src/ppu/fifo.rs:59
↓ 17 callers
Method
is_cgb_mode
The bootrom can write to both CGB and DMG registers during bootrom, so this should return true if we are still in bootrom
mizu-core/src/memory.rs:151
↓ 16 callers
Method
push
(&mut self, color: Color, y: u8)
mizu-core/src/ppu/lcd.rs:34
↓ 15 callers
Method
read
(&self)
mizu-core/src/memory.rs:167
↓ 14 callers
Method
fetch_next_pc
(&mut self, bus: &mut P)
mizu-core/src/cpu.rs:304
↓ 14 callers
Method
flag_get
(&self, flag: CpuFlags)
mizu-core/src/cpu.rs:280
↓ 13 callers
Method
read_oam_word_no_lock
(&self, offset: u8)
mizu-core/src/ppu.rs:834
↓ 12 callers
Method
channel
(&self)
mizu-core/src/apu/channel.rs:36
↓ 12 callers
Method
press_joypad
Change the state of the joypad button to `pressed`.
mizu-core/src/lib.rs:195
↓ 12 callers
Method
release_joypad
Change the state of the joypad button to `released`.
mizu-core/src/lib.rs:200
↓ 10 callers
Method
read_operand
(&mut self, ty: OperandType, bus: &mut P)
mizu-core/src/cpu.rs:311
↓ 10 callers
Method
visit_type
(&mut self, ty: &syn::Type)
save_state_derive/src/parsing.rs:210
↓ 9 callers
Method
clock_length_counter
(&mut self)
mizu-core/src/apu/channel.rs:57
↓ 9 callers
Method
set_enable
(&mut self, enabled: bool)
mizu-core/src/apu/channel.rs:109
↓ 8 callers
Method
clear
(&mut self)
mizu-core/src/ppu/lcd.rs:83
↓ 8 callers
Method
current_mode_set
(&mut self, data: u8)
mizu-core/src/ppu.rs:129
↓ 8 callers
Method
reg_hl_read
(&self)
mizu-core/src/cpu.rs:251
↓ 8 callers
Method
reg_hl_write
(&mut self, data: u16)
mizu-core/src/cpu.rs:274
↓ 7 callers
Method
envelope_mut
(&mut self)
mizu-core/src/apu/noise_channel.rs:38
↓ 7 callers
Method
load
(&mut self, mut reader: &mut R)
mizu-core/src/ppu/fifo.rs:79
↓ 7 callers
Method
save
(&self, mut writer: &mut W)
mizu-core/src/ppu/fifo.rs:69
↓ 7 callers
Method
write_oam_word_no_lock
(&mut self, offset: u8, data: u16)
mizu-core/src/ppu.rs:847
↓ 7 callers
Method
x
(&self)
mizu-core/src/ppu/lcd.rs:62
↓ 6 callers
Method
divider_bit
(&self)
mizu-core/src/timer.rs:158
↓ 6 callers
Method
enabled
(&self)
mizu-core/src/apu/channel.rs:113
↓ 6 callers
Method
frequency
(&self)
mizu-core/src/apu/wave_channel.rs:44
↓ 6 callers
Method
set_palette
(&mut self, index: u8, palette: ColorPalette)
mizu-core/src/ppu/colors.rs:131
↓ 6 callers
Method
write_frequency
(&mut self, data: u16)
mizu-core/src/apu/wave_channel.rs:48
↓ 5 callers
Method
clock_for_frame
(&mut self)
mizu-core/src/tests/mod.rs:140
↓ 5 callers
Method
get_current_mode
(&self)
mizu-core/src/ppu.rs:648
↓ 5 callers
Method
mode_2_oam_interrupt
(&self)
mizu-core/src/ppu.rs:109
↓ 5 callers
Method
output
(&self)
mizu-core/src/apu/channel.rs:89
↓ 5 callers
Method
pop
(&mut self)
mizu-core/src/ppu.rs:161
↓ 5 callers
Method
raw_screen_buffer
(&self)
mizu-core/src/tests/mod.rs:90
↓ 5 callers
Method
read_length_enable
(&self)
mizu-core/src/apu/channel.rs:53
↓ 5 callers
Method
read_vram_banked
(&self, bank: u8, addr: u16)
mizu-core/src/ppu.rs:871
↓ 5 callers
Method
request_interrupt
(&mut self, interrupt: InterruptType)
mizu-core/src/memory/interrupts.rs:118
↓ 5 callers
Method
set_dac_enable
(&mut self, enabled: bool)
mizu-core/src/apu/channel.rs:117
↓ 5 callers
Function
update_window_view
to scale the view into the window this view is in the size of the GB LCD screen but we can scale the window and all the pixels will be scaled accordin
src/main.rs:484
↓ 5 callers
Method
write_sound_length
(&mut self, data: u8)
mizu-core/src/apu/channel.rs:44
↓ 4 callers
Method
cartridge
(&self)
mizu-core/src/memory.rs:308
↓ 4 callers
Method
check_cond
(&self, cond: Condition)
mizu-core/src/cpu.rs:438
↓ 4 callers
Method
current_volume
(&self)
mizu-core/src/apu/envelope.rs:29
↓ 4 callers
Method
dac_output
(&mut self)
mizu-core/src/apu/channel.rs:144
↓ 4 callers
Method
is_cartridge_color
(&self)
mizu-core/src/cartridge.rs:404
↓ 4 callers
Method
next_instruction
(&mut self, bus: &mut P)
mizu-core/src/cpu.rs:153
↓ 4 callers
Method
push
(&mut self, data: [u8; 8], attribs: BgAttribute)
mizu-core/src/ppu.rs:156
↓ 4 callers
Method
read_not_ticked
(&mut self, addr: u16, block_for_dma: Option<BusType>)
mizu-core/src/memory.rs:427
↓ 4 callers
Method
reg_de_write
(&mut self, data: u16)
mizu-core/src/cpu.rs:268
↓ 4 callers
Method
reset_length_counter
(&mut self)
mizu-core/src/apu/channel.rs:82
↓ 4 callers
Method
sprite_size
(&self)
mizu-core/src/ppu.rs:74
↓ 4 callers
Method
trigger_read_write_oam_bug
(&mut self, addr: u16)
mizu-core/src/memory.rs:653
↓ 4 callers
Method
trigger_write_oam_bug
(&mut self, addr: u16)
mizu-core/src/memory.rs:647
↓ 4 callers
Method
write_dmg_sprite_palettes
(&mut self, index: u8, data: u8)
mizu-core/src/ppu.rs:565
↓ 4 callers
Method
write_envelope_register
(&mut self, data: u8)
mizu-core/src/apu/envelope.rs:16
↓ 4 callers
Method
write_oam_no_lock
This is used for DMA only, as it can write when OAM is normally blocked
mizu-core/src/ppu.rs:397
↓ 4 callers
Method
write_register
(&mut self, addr: u16, data: u8)
mizu-core/src/apu.rs:197
↓ 3 callers
Method
add
(&mut self, c: usize)
save_state/src/lib.rs:48
↓ 3 callers
Method
check_get_oam_bug_row
(&self)
mizu-core/src/ppu.rs:859
↓ 3 callers
Method
clock
(&mut self, interrupt_manager: &mut I, clocks: u8)
mizu-core/src/ppu.rs:675
↓ 3 callers
Method
clock_until_breakpoint
(&mut self)
mizu-core/src/tests/mod.rs:132
↓ 3 callers
Function
convert_to_rgba
(data: &[u8], output: &mut [u8])
src/main.rs:493
↓ 3 callers
Method
display_enable
(&self)
mizu-core/src/ppu.rs:38
↓ 3 callers
Method
draw
( &'a self, target: &mut dyn RenderTarget, states: &sfml::graphics::RenderStates<'text
src/notification.rs:50
↓ 3 callers
Method
envelope
(&self)
mizu-core/src/apu/noise_channel.rs:34
↓ 3 callers
Method
finish_boot
(&mut self)
mizu-core/src/memory.rs:145
↓ 3 callers
Method
get_keys_pressed
returns the lower 4 bits of P1 (joypad register)
mizu-core/src/joypad.rs:72
↓ 3 callers
Function
get_new_view
( window_width: u32, window_height: u32, target_width: u32, target_height: u32, )
src/main.rs:451
↓ 3 callers
Method
increment_timer
(&mut self)
mizu-core/src/timer.rs:151
↓ 3 callers
Method
mode_1_vblank_interrupt
(&self)
mizu-core/src/ppu.rs:113
↓ 3 callers
Method
next_buffer_index
(&self)
mizu-core/src/ppu/lcd.rs:113
↓ 3 callers
Method
next_line
(&mut self)
mizu-core/src/ppu/lcd.rs:66
↓ 3 callers
Function
operand_str
(operand: OperandType)
mizu-core/src/cpu/instruction.rs:182
↓ 3 callers
Method
peek_next_interrupt
(&mut self)
mizu-core/src/memory.rs:621
↓ 3 callers
Method
print_line_feed
prints one row of pixels
mizu-core/src/printer.rs:382
↓ 3 callers
Method
print_screen_buffer
(&self)
mizu-core/src/tests/mod.rs:94
↓ 3 callers
Method
read_envelope_register
(&self)
mizu-core/src/apu/envelope.rs:25
↓ 3 callers
Method
read_oam_no_lock
(&self, addr: u16)
mizu-core/src/ppu.rs:829
↓ 3 callers
Method
read_register
(&mut self, addr: u16)
mizu-core/src/apu.rs:154
↓ 3 callers
Method
reg_af_write
(&mut self, data: u16)
mizu-core/src/cpu.rs:256
↓ 3 callers
Method
reg_bc_read
(&self)
mizu-core/src/cpu.rs:241
↓ 3 callers
Method
reg_bc_write
(&mut self, data: u16)
mizu-core/src/cpu.rs:262
↓ 3 callers
Method
reg_de_read
(&self)
mizu-core/src/cpu.rs:246
↓ 3 callers
Method
sprite
(&self)
mizu-core/src/ppu/sprite.rs:28
↓ 3 callers
Method
stack_pop
(&mut self, bus: &mut P)
mizu-core/src/cpu.rs:423
↓ 3 callers
Method
stack_push
(&mut self, data: u16, bus: &mut P)
mizu-core/src/cpu.rs:415
↓ 3 callers
Method
sweep_calculation
(&mut self)
mizu-core/src/apu/pulse_channel.rs:173
↓ 3 callers
Method
timer_enabled
(&self)
mizu-core/src/timer.rs:16
↓ 3 callers
Method
unskipped_idents
(&self)
save_state_derive/src/parsing.rs:58
↓ 3 callers
Method
update_fps
(&mut self)
src/main.rs:446
↓ 3 callers
Method
write_pattern_duty
(&mut self, data: u8)
mizu-core/src/apu/pulse_channel.rs:85
↓ 2 callers
Method
all_idents
(&self)
save_state_derive/src/parsing.rs:62
↓ 2 callers
Method
bank
(&self)
mizu-core/src/ppu/sprite.rs:109
↓ 2 callers
Method
bank2_shift
(&self)
mizu-core/src/cartridge/mappers/mbc1.rs:38
↓ 2 callers
Method
bg_window_priority
(&self)
mizu-core/src/ppu.rs:86
↓ 2 callers
Method
clear
(&mut self)
mizu-core/src/printer.rs:41
next →
1–100 of 555, ranked by callers