2004-04-19 19:30:50 +00:00
|
|
|
void acommand(int);
|
|
|
|
|
void attachprocess(void);
|
|
|
|
|
void bkput(BKPT*, int);
|
|
|
|
|
void bpwait(void);
|
|
|
|
|
int charpos(void);
|
|
|
|
|
void chkerr(void);
|
|
|
|
|
void clrinp(void);
|
|
|
|
|
void cmdmap(Map*);
|
|
|
|
|
void cmdsrc(int, Map*);
|
|
|
|
|
void cmdwrite(int, Map*);
|
|
|
|
|
int command(char*, int);
|
|
|
|
|
int convdig(int);
|
|
|
|
|
void ctrace(int);
|
|
|
|
|
WORD defval(WORD);
|
|
|
|
|
void delbp(void);
|
|
|
|
|
ulong dbrget(Map*, char*);
|
|
|
|
|
void done(void);
|
|
|
|
|
int dprint(char*, ...);
|
|
|
|
|
Map* dumbmap(int);
|
|
|
|
|
void endline(void);
|
|
|
|
|
void endpcs(void);
|
|
|
|
|
int eol(int);
|
|
|
|
|
void error(char*);
|
|
|
|
|
void errors(char*, char*);
|
|
|
|
|
void execbkpt(BKPT*, int);
|
|
|
|
|
char* exform(int, int, char*, Map*, int, int);
|
|
|
|
|
int expr(int);
|
|
|
|
|
/*
|
|
|
|
|
void fixregs(Map*);
|
|
|
|
|
void adjustreg(char*, ulong, long);
|
|
|
|
|
*/
|
|
|
|
|
void flush(void);
|
|
|
|
|
void flushbuf(void);
|
|
|
|
|
char* getfname(void);
|
|
|
|
|
void getformat(char*);
|
|
|
|
|
int getnum(int (*)(void));
|
|
|
|
|
void grab(void);
|
|
|
|
|
void iclose(int, int);
|
|
|
|
|
ADDR inkdot(long);
|
|
|
|
|
int isfileref(void);
|
|
|
|
|
int item(int);
|
|
|
|
|
void killpcs(void);
|
|
|
|
|
void kmsys(void);
|
|
|
|
|
void main(int, char**);
|
|
|
|
|
int mapimage(void);
|
|
|
|
|
void newline(void);
|
|
|
|
|
int nextchar(void);
|
|
|
|
|
void notes(void);
|
|
|
|
|
void oclose(void);
|
|
|
|
|
void outputinit(void);
|
|
|
|
|
void printc(int);
|
|
|
|
|
void printdollar(int);
|
|
|
|
|
void printesc(int);
|
|
|
|
|
void printlocals(Symbol*, Regs*);
|
|
|
|
|
void printmap(char*, Map*);
|
|
|
|
|
void printparams(Symbol*, Regs*);
|
|
|
|
|
void printpc(void);
|
|
|
|
|
void printregs(int);
|
|
|
|
|
void prints(char*);
|
|
|
|
|
void printsource(long);
|
|
|
|
|
void printsym(void);
|
|
|
|
|
void printsyscall(void);
|
|
|
|
|
int quotchar(void);
|
|
|
|
|
int rdc(void);
|
|
|
|
|
int readchar(void);
|
|
|
|
|
void readsym(char*);
|
|
|
|
|
void redirin(int, char*);
|
|
|
|
|
void redirout(char*);
|
|
|
|
|
void readfname(char *);
|
|
|
|
|
void reread(void);
|
|
|
|
|
char* regname(int);
|
2006-04-01 19:24:03 +00:00
|
|
|
/*vlong rget(Map*, char*); */
|
2004-04-19 19:30:50 +00:00
|
|
|
Regdesc* rname(char*);
|
2006-04-01 19:24:03 +00:00
|
|
|
/*void rput(Map*, char*, vlong); */
|
2004-04-19 19:30:50 +00:00
|
|
|
int runpcs(int, int);
|
|
|
|
|
void runrun(int);
|
|
|
|
|
void runstep(ulong, int);
|
|
|
|
|
BKPT* scanbkpt(ADDR adr);
|
|
|
|
|
void scanform(long, int, char*, Map*, int);
|
|
|
|
|
void setbp(void);
|
|
|
|
|
void setcor(void);
|
|
|
|
|
void setsym(void);
|
|
|
|
|
void setup(void);
|
|
|
|
|
void setvec(void);
|
|
|
|
|
void shell(void);
|
|
|
|
|
void startpcs(void);
|
|
|
|
|
void subpcs(int);
|
|
|
|
|
int symchar(int);
|
|
|
|
|
int term(int);
|
|
|
|
|
void ungrab(void);
|
|
|
|
|
int valpr(long, int);
|