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

Subversion Repositories w11

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

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 19 wfjm
// $Id: RtclRw11Cpu.hpp 504 2013-04-13 15:37:24Z mueller $
2
//
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
// 2013-04-02   502   1.0    Initial version
17
// 2013-02-02   480   0.1    First draft
18
// ---------------------------------------------------------------------------
19
 
20
 
21
/*!
22
  \file
23
  \version $Id: RtclRw11Cpu.hpp 504 2013-04-13 15:37:24Z mueller $
24
  \brief   Declaration of class RtclRw11Cpu.
25
*/
26
 
27
#ifndef included_Retro_RtclRw11Cpu
28
#define included_Retro_RtclRw11Cpu 1
29
 
30
#include <cstddef>
31
#include <string>
32
 
33
#include "librlink/RlinkConnect.hpp"
34
 
35
#include "librtcltools/RtclProxyBase.hpp"
36
#include "librtcltools/RtclGetList.hpp"
37
#include "librtcltools/RtclSetList.hpp"
38
 
39
#include "librw11/Rw11Cpu.hpp"
40
 
41
namespace Retro {
42
 
43
  class RtclRw11Cpu : public RtclProxyBase {
44
    public:
45
 
46
      explicit      RtclRw11Cpu(const std::string& type);
47
      virtual      ~RtclRw11Cpu();
48
 
49
      virtual Rw11Cpu&  Obj() = 0;
50
 
51
    protected:
52
      int           M_add(RtclArgs& args);
53
      int           M_cp(RtclArgs& args);
54
      int           M_wtcpu(RtclArgs& args);
55
      int           M_deposit(RtclArgs& args);
56
      int           M_examine(RtclArgs& args);
57
      int           M_lsmem(RtclArgs& args);
58
      int           M_ldabs(RtclArgs& args);
59
      int           M_ldasm(RtclArgs& args);
60
      int           M_boot(RtclArgs& args);
61
      int           M_get(RtclArgs& args);
62
      int           M_set(RtclArgs& args);
63
      int           M_stats(RtclArgs& args);
64
      int           M_dump(RtclArgs& args);
65
      int           M_default(RtclArgs& args);
66
 
67
      void          SetupGetSet();
68
 
69
      RlinkServer&  Server();
70
      RlinkConnect& Connect();
71
 
72
      bool          GetVarName(RtclArgs& args, const char* argname,
73
                               size_t nind, std::vector<std::string>& varname);
74
 
75
    protected:
76
      RtclGetList   fGets;
77
      RtclSetList   fSets;
78
  };
79
 
80
} // end namespace Retro
81
 
82
#include "RtclRw11Cpu.ipp"
83
 
84
#endif

powered by: WebSVN 2.1.0

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