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
↓ 2 callers
Method
clear
(&mut self)
mizu-core/src/ppu/fifo.rs:63
↓ 2 callers
Method
clock_bit
Which bit in `internal_timer` should be examined to trigger a serial clock, the clock is given on the falling (negative) edge
mizu-core/src/serial.rs:42
↓ 2 callers
Method
clock_mapper
A way to sync bus/emulator to the mapper, main purpose is to sync MBC3's RTC clock, the number of clocks for one second is 4194304 / 2 The bus should
mizu-core/src/cartridge.rs:400
↓ 2 callers
Function
compute_exposure_multiply
maps the 7 bits from exposure to (75% ~ 125%) which is equivalent to an increase by the range (-25% ~ 25%)
mizu-core/src/printer.rs:404
↓ 2 callers
Method
conflicting_bus
(&self)
mizu-core/src/memory/dma.rs:171
↓ 2 callers
Method
current_mode
(&self)
mizu-core/src/ppu.rs:125
↓ 2 callers
Method
dac_enabled
(&self)
mizu-core/src/apu/channel.rs:125
↓ 2 callers
Method
disconnect_printer
(&mut self)
src/main.rs:145
↓ 2 callers
Method
dmg_palette
(&self)
mizu-core/src/ppu/sprite.rs:88
↓ 2 callers
Method
elapsed_ppu_cycles
(&mut self)
mizu-core/src/memory.rs:341
↓ 2 callers
Method
formatted_idents
(&self, fields: &[Field])
save_state_derive/src/parsing.rs:66
↓ 2 callers
Method
generate_bounds
(self, bounds: Vec<syn::TypeParamBound>)
save_state_derive/src/parsing.rs:303
↓ 2 callers
Method
get_highest_interrupt
(&mut self)
mizu-core/src/memory/interrupts.rs:97
↓ 2 callers
Method
get_image_buffer
Returns the current printer image buffer The format is in RGB. i.e. 3 bytes per pixel.
mizu-core/src/printer.rs:111
↓ 2 callers
Method
get_image_size
Returns the current printer image size (width, height)
mizu-core/src/printer.rs:116
↓ 2 callers
Method
get_next_src_address
(&mut self)
mizu-core/src/memory/dma.rs:76
↓ 2 callers
Method
get_palette
(&self, index: u8)
mizu-core/src/ppu/colors.rs:127
↓ 2 callers
Method
get_tile_pattern_from_index
(&self, index: u16, y: u8, bank: u8)
mizu-core/src/ppu.rs:1011
↓ 2 callers
Method
hash
(&self)
mizu-core/src/cartridge.rs:412
↓ 2 callers
Function
impl_fields_for_load
( fields: &Fields, ident_prefix: TokenStream2, is_bitflags: bool, )
save_state_derive/src/lib.rs:84
↓ 2 callers
Function
impl_fields_for_save
( fields: &Fields, ident_prefix: TokenStream2, is_bitflags: bool, )
save_state_derive/src/lib.rs:61
↓ 2 callers
Method
is_oam_locked
The OAM is locked during mode 2 (OAM Scan), mode 3 (Rendering) The lock is extended until 8 dots after the mode 3 is over
mizu-core/src/ppu.rs:821
↓ 2 callers
Method
is_transferreing
(&mut self, ppu: &Ppu)
mizu-core/src/memory/dma.rs:98
↓ 2 callers
Function
map_num
util function to map between two number ranges
mizu-core/src/printer.rs:397
↓ 2 callers
Method
map_ram
(&self, addr: u16)
mizu-core/src/cartridge/mappers/mbc3.rs:233
↓ 2 callers
Method
map_ram_read
(&mut self, addr: u16)
mizu-core/src/cartridge/mappers/mbc1.rs:73
↓ 2 callers
Method
notify
(&mut self, msg: &str)
src/main.rs:300
↓ 2 callers
Method
oam_bug_read
In OAM bug on read: same as read `[oam_bug_write]`, with just a difference in the binary operation, `b | (a & c)` is used here
mizu-core/src/ppu.rs:432
↓ 2 callers
Method
oam_bug_write
In OAM bug on write: - The first word in the row is replaced with this bitwise expression: `((a ^ c) & (b ^ c)) ^ c`, where a is the original value of
mizu-core/src/ppu.rs:412
↓ 2 callers
Method
on_cpu_machine_cycle
(&mut self)
mizu-core/src/memory.rs:347
↓ 2 callers
Method
read_color_data
(&self)
mizu-core/src/ppu/colors.rs:121
↓ 2 callers
Method
read_control
(&self)
mizu-core/src/timer.rs:109
↓ 2 callers
Method
read_div
(&self)
mizu-core/src/timer.rs:63
↓ 2 callers
Method
read_dmg_sprite_palettes
(&self, index: u8)
mizu-core/src/ppu.rs:561
↓ 2 callers
Method
read_index
(&self)
mizu-core/src/ppu/colors.rs:104
↓ 2 callers
Method
read_no_oam_bug
(&mut self, addr: u16)
mizu-core/src/memory.rs:659
↓ 2 callers
Method
read_pattern_duty
(&self)
mizu-core/src/apu/pulse_channel.rs:90
↓ 2 callers
Method
reload_sweep_counter
(&mut self)
mizu-core/src/apu/pulse_channel.rs:154
↓ 2 callers
Method
reset
(&mut self)
mizu-core/src/ppu.rs:165
↓ 2 callers
Method
reset_sequencer
(&mut self)
mizu-core/src/apu/pulse_channel.rs:144
↓ 2 callers
Method
save
(&self, writer: &mut W)
save_state/src/lib.rs:244
↓ 2 callers
Method
save_battery_size
(&self)
mizu-core/src/cartridge/mappers/mbc3.rs:154
↓ 2 callers
Method
save_state_file
(&self, slot: u8)
src/main.rs:245
↓ 2 callers
Method
screen_y
(&self)
mizu-core/src/ppu/sprite.rs:76
↓ 2 callers
Function
system_time_now
()
mizu-core/src/cartridge/mappers/mbc3.rs:7
↓ 2 callers
Method
transfer_clock
(&mut self, ppu: &mut Ppu, values: &[u8])
mizu-core/src/memory/dma.rs:82
↓ 2 callers
Method
update_registers
(&mut self)
mizu-core/src/cartridge/mappers/mbc3.rs:107
↓ 2 callers
Method
update_size
(&mut self, width: u32, height: u32)
src/notification.rs:34
↓ 2 callers
Method
update_sprite_priority_mode
(&mut self, sprite_priority_mode: SpritePriorityMode)
mizu-core/src/ppu/fifo.rs:108
↓ 2 callers
Method
visit_path
(&mut self, path: &syn::Path)
save_state_derive/src/parsing.rs:189
↓ 2 callers
Method
visit_return_type
(&mut self, return_type: &syn::ReturnType)
save_state_derive/src/parsing.rs:289
↓ 2 callers
Method
visit_type_param_bound
(&mut self, bound: &syn::TypeParamBound)
save_state_derive/src/parsing.rs:296
↓ 2 callers
Method
wave_buffer_index
returns `Some` if the wave is accessable, `None` otherwise (for DMG)
mizu-core/src/apu/wave_channel.rs:93
↓ 2 callers
Method
write_all
(&mut self, buf: &[u8])
save_state/src/lib.rs:79
↓ 2 callers
Method
write_color_data
(&mut self, data: u8)
mizu-core/src/ppu/colors.rs:113
↓ 2 callers
Method
write_control
(&mut self, data: u8)
mizu-core/src/timer.rs:113
↓ 2 callers
Method
write_div
(&mut self, _data: u8)
mizu-core/src/timer.rs:67
↓ 2 callers
Method
write_dmg_bg_palette
(&mut self, data: u8)
mizu-core/src/ppu.rs:557
↓ 2 callers
Method
write_index
(&mut self, data: u8)
mizu-core/src/ppu/colors.rs:108
↓ 2 callers
Method
write_lcd_control
(&mut self, data: u8)
mizu-core/src/ppu.rs:491
↓ 2 callers
Method
write_lyc
(&mut self, data: u8)
mizu-core/src/ppu.rs:549
↓ 2 callers
Method
write_scroll_x
(&mut self, data: u8)
mizu-core/src/ppu.rs:535
↓ 2 callers
Method
write_scroll_y
(&mut self, data: u8)
mizu-core/src/ppu.rs:527
↓ 2 callers
Method
write_vram
(&mut self, addr: u16, data: u8)
mizu-core/src/ppu.rs:374
↓ 2 callers
Method
write_window_x
(&mut self, data: u8)
mizu-core/src/ppu.rs:581
↓ 2 callers
Method
write_window_y
(&mut self, data: u8)
mizu-core/src/ppu.rs:573
↓ 1 callers
Method
acknowledge_interrupt
(&mut self, interrupt: InterruptType)
mizu-core/src/memory/interrupts.rs:91
↓ 1 callers
Method
add_msg
(&mut self, msg: &str)
src/notification.rs:39
↓ 1 callers
Method
add_to_registers
(&mut self, seconds: u8, mut minutes: u8, mut hours: u8, mut days: u64)
mizu-core/src/cartridge/mappers/mbc3.rs:130
↓ 1 callers
Method
audio_buffers
Return the audio buffer of the APU at the current state.
mizu-core/src/lib.rs:190
↓ 1 callers
Method
base_divisor
(&self)
mizu-core/src/apu/noise_channel.rs:59
↓ 1 callers
Method
base_save_state_folder
(&self)
src/main.rs:232
↓ 1 callers
Method
bg_priority
False if its above background (1-3)
mizu-core/src/ppu/sprite.rs:93
↓ 1 callers
Method
bg_tilemap
(&self)
mizu-core/src/ppu.rs:66
↓ 1 callers
Method
bg_window_pattern_table_base
(&self)
mizu-core/src/ppu.rs:54
↓ 1 callers
Method
bg_window_pattern_table_block_1
(&self)
mizu-core/src/ppu.rs:62
↓ 1 callers
Method
boot_rom_file
Add boot rom file
mizu-core/src/lib.rs:77
↓ 1 callers
Method
build
Builds a [`GameBoy`] instance.
mizu-core/src/lib.rs:97
↓ 1 callers
Method
cgb_palette
(&self)
mizu-core/src/ppu/sprite.rs:105
↓ 1 callers
Method
clear_image_buffer
Clear the current image buffer of the printer.
mizu-core/src/printer.rs:121
↓ 1 callers
Method
clear_pixels_buffer
fills the buffer with white color
src/printer_front.rs:101
↓ 1 callers
Method
clock_divider
(&mut self, interrupt: &mut I)
mizu-core/src/timer.rs:127
↓ 1 callers
Method
clock_feedback_register
(&mut self)
mizu-core/src/apu/noise_channel.rs:67
↓ 1 callers
Method
clock_for_bit
Clocks the serial and will return `Some` if a bit should be sent, the bus must call `receive_bit` afterwards if there is a device. 1 is received autom
mizu-core/src/serial.rs:111
↓ 1 callers
Method
clock_for_frame
Clocks the Gameboy clock for the duration of one PPU frame. This is good for timing emulation, you can call this function once and then render it.
mizu-core/src/lib.rs:163
↓ 1 callers
Method
clock_position
(&mut self)
mizu-core/src/apu/wave_channel.rs:88
↓ 1 callers
Method
clock_second_part
(&mut self)
mizu-core/src/cartridge/mappers/mbc3.rs:189
↓ 1 callers
Method
clock_sequencer
(&mut self)
mizu-core/src/apu/pulse_channel.rs:150
↓ 1 callers
Method
clock_sweeper
(&mut self)
mizu-core/src/apu/pulse_channel.rs:126
↓ 1 callers
Method
clock_until_infinte_loop
(&mut self)
mizu-core/src/tests/mod.rs:128
↓ 1 callers
Method
close
(&mut self)
src/printer_front.rs:52
↓ 1 callers
Method
coincidence_flag_set
(&mut self, value: bool)
mizu-core/src/ppu.rs:121
↓ 1 callers
Method
commit_speed_switch
(&mut self)
mizu-core/src/memory.rs:63
↓ 1 callers
Method
compute_checksum
(&self)
mizu-core/src/printer.rs:45
↓ 1 callers
Method
config
Add custom [`GameBoyConfig`]
mizu-core/src/lib.rs:71
↓ 1 callers
Method
connect_device
TODO: Not sure if using RefCell is the best option here Connect a serial device to the Gameboy. Currently the gameboy can only be `master`, so the ot
mizu-core/src/lib.rs:209
↓ 1 callers
Method
connect_printer
(&mut self)
src/main.rs:139
↓ 1 callers
Method
current_speed
(&self)
mizu-core/src/memory.rs:59
↓ 1 callers
Method
current_value
(&self)
mizu-core/src/memory/dma.rs:167
↓ 1 callers
Method
cycle
(&mut self)
mizu-core/src/ppu.rs:146
← previous
next →
101–200 of 555, ranked by callers