projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use 'ao-dbg' instead of 's51' to communicate with TeleMetrum
[fw/sdcc]
/
debugger
/
mcs51
/
simi.h
diff --git
a/debugger/mcs51/simi.h
b/debugger/mcs51/simi.h
index 237fe27aa1d53aac733d16b1fedad15f2cb375dc..69cd4f1aa5a812c5f47f33299c6cf35a3e660213 100644
(file)
--- a/
debugger/mcs51/simi.h
+++ b/
debugger/mcs51/simi.h
@@
-36,14
+36,15
@@
#define MAX_SIM_BUFF 8*1024
#define MAX_SIM_BUFF 8*1024
-#define MAX_CACHE_SIZE
2048
+#define MAX_CACHE_SIZE
4096
/* number of cache */
#define IMEM_CACHE 0
#define XMEM_CACHE 1
#define SREG_CACHE 2
/* number of cache */
#define IMEM_CACHE 0
#define XMEM_CACHE 1
#define SREG_CACHE 2
-#define NMEM_CACHE 3
+#define CMEM_CACHE 3
+#define NMEM_CACHE 4
/* special index */
/* special index */
-#define BIT_CACHE
4
+#define BIT_CACHE
5
typedef struct _memcache
{
typedef struct _memcache
{
@@
-65,6
+66,7
@@
void closeSimulator ();
void sendSim(char *);
char *simResponse();
void simSetPC (unsigned int);
void sendSim(char *);
char *simResponse();
void simSetPC (unsigned int);
+unsigned int simGetPC (void);
void simSetBP (unsigned int);
void simClearBP (unsigned int);
void simLoadFile(char *);
void simSetBP (unsigned int);
void simClearBP (unsigned int);
void simLoadFile(char *);