feat: show break flag
This commit is contained in:
parent
b6d31d994c
commit
8599f2966f
1 changed files with 1 additions and 1 deletions
|
@ -22,5 +22,5 @@ class CPUState(View):
|
||||||
self.draw_text(3 * 8, 2 * 8, '%04X' % cpu.pc)
|
self.draw_text(3 * 8, 2 * 8, '%04X' % cpu.pc)
|
||||||
self.draw_text(11 * 8, 2 * 8, '%04X' % (cpu.sp + 0x100))
|
self.draw_text(11 * 8, 2 * 8, '%04X' % (cpu.sp + 0x100))
|
||||||
|
|
||||||
self.draw_text(8 * 8, 0 * 8, "NVssDIZC", color=lc)
|
self.draw_text(8 * 8, 0 * 8, "NVsBDIZC", color=lc)
|
||||||
self.draw_text(8 * 8, 1 * 8, "{0:b}".format(cpu.flags))
|
self.draw_text(8 * 8, 1 * 8, "{0:b}".format(cpu.flags))
|
||||||
|
|
Loading…
Reference in a new issue