Skip to content

Commit

Permalink
Faster finishing of a debugging session.
Browse files Browse the repository at this point in the history
Added displaying of F bit3 and bit5.
  • Loading branch information
lab313ru committed Jun 24, 2021
1 parent 1e7010b commit c2bf83d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Gensida/ida/ida_debug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ static const char *const SRReg[] = {
"CF",
"NF",
"PF",
NULL,
"B3",
"HF",
NULL,
"B5",
"ZF",
"SF",
NULL,
Expand Down Expand Up @@ -168,7 +168,7 @@ register_info_t registers[] = {
{ "SrcHi", NULL, RC_VDP, dt_byte, NULL, 0 },
#else
{ "A", 0, RC_GENERAL, dt_byte, NULL, 0 },
{ "AF", 0, RC_GENERAL, dt_word, SRReg, 0xD7 },
{ "AF", 0, RC_GENERAL, dt_word, SRReg, 0x00FF },
{ "AF'", 0, RC_GENERAL, dt_word, NULL, 0 },
{ "B", 0, RC_GENERAL, dt_byte, NULL, 0 },
{ "C", 0, RC_GENERAL, dt_byte, NULL, 0 },
Expand Down Expand Up @@ -619,6 +619,7 @@ class DbgServerClient {
Empty resp;

ClientContext context;
context.set_deadline(std::chrono::system_clock::now() + std::chrono::milliseconds(100));
Status status = stub_->exit_emulation(&context, req, &resp);

hide_wait_box();
Expand Down

0 comments on commit c2bf83d

Please sign in to comment.