mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-10-06 09:01:40 +02:00
Update to v094r06 release.
byuu says: New terminal is in. Much nicer to use now. Command history makes a major difference in usability. The SMP is now fully traceable and debuggable. Basically they act as separate entities, you can trace both at the same time, but for the most part running and stepping is performed on the chip you select. I'm going to put off CPU+SMP interleave support for a while. I don't actually think it'll be too hard. Will get trickier if/when we support coprocessor debugging. Remaining tasks: - aliases - hotkeys - save states - window geometry Basically, the debugger's done. Just have to add the UI fluff. I also removed tracing/memory export from higan. It was always meant to be temporary until the debugger was remade.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
string SPC700::disassemble_opcode(uint16 addr) {
|
||||
string SPC700::disassemble_opcode(uint16 addr, bool p) {
|
||||
auto read = [&](uint16 addr) -> uint8 {
|
||||
return disassembler_read(addr);
|
||||
};
|
||||
@@ -11,7 +11,7 @@ string SPC700::disassemble_opcode(uint16 addr) {
|
||||
auto a = [&] { return hex<4>((read(addr + 1) << 0) + (read(addr + 2) << 8)); };
|
||||
auto b = [&](unsigned n) { return hex<2>(read(addr + 1 + n)); };
|
||||
auto r = [&](unsigned r, unsigned n = 0) { return hex<4>(addr + r + (int8)read(addr + 1 + n)); };
|
||||
auto dp = [&](unsigned n) { return hex<3>((regs.p.p << 8) + read(addr + 1 + n)); };
|
||||
auto dp = [&](unsigned n) { return hex<3>((p << 8) + read(addr + 1 + n)); };
|
||||
auto ab = [&] {
|
||||
unsigned n = (read(addr + 1) << 0) + (read(addr + 2) << 8);
|
||||
return string{ hex<4>(n & 0x1fff), ":", hex<1>(n >> 13) };
|
||||
|
Reference in New Issue
Block a user