BizHawk icon indicating copy to clipboard operation
BizHawk copied to clipboard

Genplus-gx advanced VDP Viewer and Hex Editor

Open getCursorsExe opened this issue 2 years ago • 2 comments

Genesis Plus GX Debugger has VDP Register viewer ported right from the Exodus emulator, and they actually work, despite having different code languages. Most of VDP Registers are just visual effects, and will not affect TAS unless the game requries it for it to properly work. Hex Editor also has new memory domains such as 68K Regs and Z80 Regs, but this sometimes might be used for TASers to see if a desync occurs, or when you see that the game starts to behave weird. Now, in Dr. Robotnik's Mean Bean Machine, if you edit address 111D with bytes from 01 to 0F in 68K RAM, the VDP goes berserk, which might confuse you if you can't see the VDP Registers.

getCursorsExe avatar Jul 23 '21 12:07 getCursorsExe

The registers of both CPUs are already exposed, not as memory domains but as registers. Use Tools > Debugger (but for #2769...) or emu.getregisters from Lua to read them. Does another frontend include registers in its hex editor? Maybe we should do that too.

edit 2022-05-19: Can I get a core dev to tell me whether having the Hex Editor create a shim over IDebuggable reg get/set is a good idea?

YoshiRulz avatar Jul 23 '21 20:07 YoshiRulz

Yes it does. The Genesis Plus GX Debugger allows us to edit 68K, Z80 and VDP registers in the middle of the game. It will be also good to be able to edit palette in real-time.

getCursorsExe avatar Jul 23 '21 21:07 getCursorsExe