version 1.20, 2003/11/11 06:14:08 |
version 1.22, 2004/03/11 09:52:56 |
|
|
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* |
* |
* $OpenXM: OpenXM_contrib2/asir2000/builtin/miscf.c,v 1.19 2003/10/20 00:21:09 takayama Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/builtin/miscf.c,v 1.21 2004/02/25 06:43:52 ohara Exp $ |
*/ |
*/ |
#include "ca.h" |
#include "ca.h" |
#include "parse.h" |
#include "parse.h" |
|
|
|
|
void Pquit(), Pdebug(), Pnmono(), Pnez(), Popt(), Pshell(), Pheap(); |
void Pquit(), Pdebug(), Pnmono(), Pnez(), Popt(), Pshell(), Pheap(); |
void Ptoplevel(); |
void Ptoplevel(); |
void Perror(), Perror3(), Pversion(), Pflist(), Pdelete_history(), Ppause(), Pxpause(); |
void Perror(), Perror3(), Pversion(), Pcopyright(), Pflist(), Pdelete_history(), Ppause(), Pxpause(); |
void Pr2g(), Pread_cmo(), Pwrite_cmo(); |
void Pr2g(), Pread_cmo(), Pwrite_cmo(); |
void Pgc(),Pbatch(),Psend_progress(); |
void Pgc(),Pbatch(),Psend_progress(); |
void Pnull_command(); |
void Pnull_command(); |
|
|
void Premove_module(); |
void Premove_module(); |
void Pmodule_list(); |
void Pmodule_list(); |
void Pmodule_definedp(); |
void Pmodule_definedp(); |
|
void Ptest(); |
|
|
void delete_history(int,int); |
void delete_history(int,int); |
|
|
Line 88 struct ftab misc_tab[] = { |
|
Line 89 struct ftab misc_tab[] = { |
|
{"shell",Pshell,-2}, |
{"shell",Pshell,-2}, |
{"heap",Pheap,-1}, |
{"heap",Pheap,-1}, |
{"version",Pversion,-99999}, |
{"version",Pversion,-99999}, |
|
{"copyright",Pcopyright,0}, |
{"nmono",Pnmono,1}, |
{"nmono",Pnmono,1}, |
{"toplevel",Ptoplevel,-1}, |
{"toplevel",Ptoplevel,-1}, |
{"error",Perror,1}, |
{"error",Perror,1}, |
Line 103 struct ftab misc_tab[] = { |
|
Line 105 struct ftab misc_tab[] = { |
|
{"hex_dump",Phex_dump,2}, |
{"hex_dump",Phex_dump,2}, |
{"peek",Ppeek,1}, |
{"peek",Ppeek,1}, |
{"poke",Ppoke,2}, |
{"poke",Ppoke,2}, |
|
{"test",Ptest,2}, |
#if !defined(VISUAL) && defined(DO_PLOT) |
#if !defined(VISUAL) && defined(DO_PLOT) |
{"xpause",Pxpause,0}, |
{"xpause",Pxpause,0}, |
#endif |
#endif |
Line 112 struct ftab misc_tab[] = { |
|
Line 115 struct ftab misc_tab[] = { |
|
{0,0,0}, |
{0,0,0}, |
}; |
}; |
|
|
|
void Ptest(arg,rp) |
|
NODE arg; |
|
Q *rp; |
|
{ |
|
int r; |
|
|
|
r = equalr(CO,ARG0(arg),ARG1(arg)); |
|
STOQ(r,*rp); |
|
} |
|
|
void Psleep(arg,rp) |
void Psleep(arg,rp) |
NODE arg; |
NODE arg; |
Q *rp; |
Q *rp; |
|
|
MKLIST(l,n); |
MKLIST(l,n); |
*rp = (Obj)l; |
*rp = (Obj)l; |
} |
} |
|
} |
|
|
|
char *scopyright(); |
|
|
|
void Pcopyright(rp) |
|
STRING *rp; |
|
{ |
|
MKSTR(*rp,scopyright()); |
} |
} |
|
|
extern int nez; |
extern int nez; |