OpenCores
URL https://opencores.org/ocsvn/w11/w11/trunk

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.6/] [tools/] [src/] [librwxxtpp/] [RtclRw11Cpu.hpp] - Blame information for rev 24

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 20 wfjm
// $Id: RtclRw11Cpu.hpp 511 2013-04-27 13:51:46Z mueller $
2 19 wfjm
//
3
// Copyright 2013- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4
//
5
// This program is free software; you may redistribute and/or modify it under
6
// the terms of the GNU General Public License as published by the Free
7
// Software Foundation, either version 2, or at your option any later version.
8
//
9
// This program is distributed in the hope that it will be useful, but
10
// WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY
11
// or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12
// for complete details.
13
// 
14
// Revision History: 
15
// Date         Rev Version  Comment
16 20 wfjm
// 2013-04-26   511   1.0.1  add M_show
17 19 wfjm
// 2013-04-02   502   1.0    Initial version
18
// 2013-02-02   480   0.1    First draft
19
// ---------------------------------------------------------------------------
20
 
21
 
22
/*!
23
  \file
24 20 wfjm
  \version $Id: RtclRw11Cpu.hpp 511 2013-04-27 13:51:46Z mueller $
25 19 wfjm
  \brief   Declaration of class RtclRw11Cpu.
26
*/
27
 
28
#ifndef included_Retro_RtclRw11Cpu
29
#define included_Retro_RtclRw11Cpu 1
30
 
31
#include <cstddef>
32
#include <string>
33
 
34
#include "librlink/RlinkConnect.hpp"
35
 
36
#include "librtcltools/RtclProxyBase.hpp"
37
#include "librtcltools/RtclGetList.hpp"
38
#include "librtcltools/RtclSetList.hpp"
39
 
40
#include "librw11/Rw11Cpu.hpp"
41
 
42
namespace Retro {
43
 
44
  class RtclRw11Cpu : public RtclProxyBase {
45
    public:
46
 
47
      explicit      RtclRw11Cpu(const std::string& type);
48
      virtual      ~RtclRw11Cpu();
49
 
50
      virtual Rw11Cpu&  Obj() = 0;
51
 
52
    protected:
53
      int           M_add(RtclArgs& args);
54
      int           M_cp(RtclArgs& args);
55
      int           M_wtcpu(RtclArgs& args);
56
      int           M_deposit(RtclArgs& args);
57
      int           M_examine(RtclArgs& args);
58
      int           M_lsmem(RtclArgs& args);
59
      int           M_ldabs(RtclArgs& args);
60
      int           M_ldasm(RtclArgs& args);
61
      int           M_boot(RtclArgs& args);
62
      int           M_get(RtclArgs& args);
63
      int           M_set(RtclArgs& args);
64 20 wfjm
      int           M_show(RtclArgs& args);
65 19 wfjm
      int           M_stats(RtclArgs& args);
66
      int           M_dump(RtclArgs& args);
67
      int           M_default(RtclArgs& args);
68
 
69
      void          SetupGetSet();
70
 
71
      RlinkServer&  Server();
72
      RlinkConnect& Connect();
73
 
74
      bool          GetVarName(RtclArgs& args, const char* argname,
75
                               size_t nind, std::vector<std::string>& varname);
76
 
77
    protected:
78
      RtclGetList   fGets;
79
      RtclSetList   fSets;
80
  };
81
 
82
} // end namespace Retro
83
 
84
#include "RtclRw11Cpu.ipp"
85
 
86
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.