- [FIX] Corrected key mapping
- [FIX] ULA ports reconnected after reset - [FIX] port check on IN() was crashing.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#include <SDL2/SDL.h>
|
||||
#include "z80.h"
|
||||
#include "z80dis.h"
|
||||
|
||||
#include "zx_ula.h"
|
||||
namespace z80debug
|
||||
{
|
||||
#define CHR_W 6
|
||||
@@ -356,7 +356,8 @@ namespace z80debug
|
||||
z80debug::cont();
|
||||
} else if (strcmp(cmd, "r")==0 || strcmp(cmd, "reset")==0) {
|
||||
z80::reset(z80::getMem());
|
||||
for (int i=0; i<65536; ++i) breakpoints[i]=0;
|
||||
z80::connect_port(0xfe, zx_ula::port_in, zx_ula::port_out);
|
||||
//for (int i=0; i<65536; ++i) breakpoints[i]=0;
|
||||
z80debug::refresh();
|
||||
} else if (strcmp(cmd, "b")==0 || strcmp(cmd, "break")==0) {
|
||||
getcmd();
|
||||
|
||||
Reference in New Issue
Block a user