2 * Simulator of microcontrollers (cmd.src/cmdsetcl.h)
4 * Copyright (C) 1999,99 Drotos Daniel, Talker Bt.
6 * To contact author send email to drdani@mazsola.iit.uni-miskolc.hu
10 /* This file is part of microcontroller simulator: ucsim.
12 UCSIM is free software; you can redistribute it and/or modify
13 it under the terms of the GNU General Public License as published by
14 the Free Software Foundation; either version 2 of the License, or
15 (at your option) any later version.
17 UCSIM is distributed in the hope that it will be useful,
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 GNU General Public License for more details.
22 You should have received a copy of the GNU General Public License
23 along with UCSIM; see the file COPYING. If not, write to the Free
24 Software Foundation, 59 Temple Place - Suite 330, Boston, MA
28 #ifndef CMD_CMDSETCL_HEADER
29 #define CMD_CMDSETCL_HEADER
34 COMMAND(cl_state_cmd);
42 COMMAND(cl_reset_cmd);
44 COMMAND_ANCESTOR(cl_di_cmd,cl_dump_cmd);
45 COMMAND_ANCESTOR(cl_dx_cmd,cl_dump_cmd);
46 COMMAND_ANCESTOR(cl_dch_cmd,cl_dump_cmd);
47 COMMAND_ANCESTOR(cl_ds_cmd,cl_dump_cmd);
48 COMMAND_DATA(cl_dc_cmd, t_addr last);
49 COMMAND_DATA(cl_disassemble_cmd,int last);
50 COMMAND_DATA(cl_fill_cmd,int last);
51 COMMAND_HEAD(cl_where_cmd)
53 COMMAND_METHODS(cl_where_cmd)
54 virtual int do_real_work(class cl_sim *sim,
55 class cl_cmdline *cmdline, class cl_console *con,
58 COMMAND_DATA_ANCESTOR(cl_Where_cmd,cl_where_cmd,int last);
63 COMMAND_HEAD(cl_timer_cmd)
65 class cl_ticker *ticker;
68 COMMAND_METHODS(cl_timer_cmd)
69 void set_ticker(class cl_sim *sim,
70 class cl_cmd_arg *param);
71 virtual int add(class cl_sim *sim,
72 class cl_cmdline *cmdline, class cl_console *con);
73 virtual int del(class cl_sim *sim,
74 class cl_cmdline *cmdline, class cl_console *con);
75 virtual int get(class cl_sim *sim,
76 class cl_cmdline *cmdline, class cl_console *con);
77 virtual int run(class cl_sim *sim,
78 class cl_cmdline *cmdline, class cl_console *con);
79 virtual int stop(class cl_sim *sim,
80 class cl_cmdline *cmdline, class cl_console *con);
81 virtual int val(class cl_sim *sim,
82 class cl_cmdline *cmdline, class cl_console *con);
88 /* End of cmd.src/cmdsetcl.h */