Skip to content

Commit

Permalink
[MOS6502] Remove unnecessary info from Signals::print
Browse files Browse the repository at this point in the history
  • Loading branch information
tgtakaoka committed Jun 16, 2024
1 parent 58cc216 commit 2244e14
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions debugger/mos6502/signals_mos6502.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,13 @@ void Signals::print() const {
buffer.hex8(14, data);
cli.println(buffer);
} else {
// 0123456789012345
static constexpr char line[] = "VW A=xxxx D=xx ";
// 01234567890123
static constexpr char line[] = "VW A=xxxx D=xx";
static auto &buffer = *new CharBuffer(line);
buffer.hex16(5, addr);
buffer.hex8(12, data);
buffer[0] = fetch() ? 'S' : (vector() ? 'V' : ' ');
buffer[1] = write() ? 'W' : 'R';
buffer.hex4(15, cntl());
cli.println(buffer);
}
}
Expand Down

0 comments on commit 2244e14

Please sign in to comment.