Skip to content

Fix mcu_dsi_regs.mem reading, add multibyte 3DS MCU register files - #984

Open
ZeroSkill1 wants to merge 1 commit into
d0k3:masterfrom
ZeroSkill1:mcureg
Open

ZeroSkill1 wants to merge 1 commit into
d0k3:masterfrom
ZeroSkill1:mcureg

Conversation

@ZeroSkill1

Copy link
Copy Markdown
Contributor

The I2C slave controller used for BPTWL emulation delibterately does not support multi-byte reading. Therefore, reading more than one byte from mcu_dsi_regs.mem would return all FF bytes past the first one. The fix (same as #982) involves reading each register byte-by-byte.

In addition, all available multi-byte registers on the 3DS-side of the MCU I2C device are added as additional virtual files in [M:] MEMORY VIRTUAL:

  • Info register (0x7F) as mcu_3ds_info.mem
  • Step history (0x4F) as mcu_3ds_step_history.mem
  • Storage area (0x60/0x61) as mcu_3ds_storage_area.mem
grafik

@Wolfvak Wolfvak left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me, @d0k3 any opinions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants