w11 - cpp 0.794
Backend server for Rlink and w11
Loading...
Searching...
No Matches
RtclRw11Cpu.hpp
Go to the documentation of this file.
1// $Id: RtclRw11Cpu.hpp 1186 2019-07-12 17:49:59Z mueller $
2// SPDX-License-Identifier: GPL-3.0-or-later
3// Copyright 2013-2017 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4//
5// Revision History:
6// Date Rev Version Comment
7// 2017-04-16 876 1.0.5 add ControllerCommands()
8// 2015-04-03 661 1.0.4 add ClistNonEmpty()
9// 2015-03-21 659 1.0.3 rename M_amap->M_imap; add M_rmap; add GetRAddr()
10// 2014-12-25 621 1.0.2 add M_amap
11// 2013-04-26 511 1.0.1 add M_show
12// 2013-04-02 502 1.0 Initial version
13// 2013-02-02 480 0.1 First draft
14// ---------------------------------------------------------------------------
15
16
21#ifndef included_Retro_RtclRw11Cpu
22#define included_Retro_RtclRw11Cpu 1
23
24#include <cstddef>
25#include <string>
26
28
32
33#include "librw11/Rw11Cpu.hpp"
34
35namespace Retro {
36
37 class RtclRw11Cpu : public RtclProxyBase {
38 public:
39
40 explicit RtclRw11Cpu(const std::string& type);
41 virtual ~RtclRw11Cpu();
42
43 virtual Rw11Cpu& Obj() = 0;
44
45 protected:
46 int M_add(RtclArgs& args);
47 int M_imap(RtclArgs& args);
48 int M_rmap(RtclArgs& args);
49 int M_cp(RtclArgs& args);
50 int M_wtcpu(RtclArgs& args);
51 int M_deposit(RtclArgs& args);
52 int M_examine(RtclArgs& args);
53 int M_lsmem(RtclArgs& args);
54 int M_ldabs(RtclArgs& args);
55 int M_ldasm(RtclArgs& args);
56 int M_boot(RtclArgs& args);
57 int M_get(RtclArgs& args);
58 int M_set(RtclArgs& args);
59 int M_show(RtclArgs& args);
60 int M_stats(RtclArgs& args);
61 int M_dump(RtclArgs& args);
62 int M_default(RtclArgs& args);
63
64 void SetupGetSet();
65
68
69 bool GetIAddr(RtclArgs& args, uint16_t& ibaddr);
70 bool GetRAddr(RtclArgs& args, uint16_t& rbaddr);
71 bool GetVarName(RtclArgs& args, const char* argname,
72 size_t nind, std::vector<std::string>& varname);
73 bool ClistNonEmpty(RtclArgs& args,
74 const RlinkCommandList& clist);
75
76 Tcl_Obj* ControllerCommands();
77
78 protected:
81 };
82
83} // end namespace Retro
84
85#include "RtclRw11Cpu.ipp"
86
87#endif
FIXME_docs.
Definition: RtclArgs.hpp:41
RtclSetList fSets
Definition: RtclRw11Cpu.hpp:80
int M_add(RtclArgs &args)
FIXME_docs.
RtclGetList fGets
Definition: RtclRw11Cpu.hpp:79
int M_ldabs(RtclArgs &args)
FIXME_docs.
bool GetIAddr(RtclArgs &args, uint16_t &ibaddr)
FIXME_docs.
int M_rmap(RtclArgs &args)
FIXME_docs.
int M_examine(RtclArgs &args)
FIXME_docs.
int M_wtcpu(RtclArgs &args)
FIXME_docs.
int M_set(RtclArgs &args)
FIXME_docs.
int M_stats(RtclArgs &args)
FIXME_docs.
bool ClistNonEmpty(RtclArgs &args, const RlinkCommandList &clist)
FIXME_docs.
RlinkConnect & Connect()
FIXME_docs.
Definition: RtclRw11Cpu.ipp:29
bool GetVarName(RtclArgs &args, const char *argname, size_t nind, std::vector< std::string > &varname)
FIXME_docs.
bool GetRAddr(RtclArgs &args, uint16_t &rbaddr)
FIXME_docs.
int M_get(RtclArgs &args)
FIXME_docs.
int M_ldasm(RtclArgs &args)
FIXME_docs.
int M_dump(RtclArgs &args)
FIXME_docs.
int M_cp(RtclArgs &args)
FIXME_docs.
RlinkServer & Server()
FIXME_docs.
Definition: RtclRw11Cpu.ipp:21
int M_imap(RtclArgs &args)
FIXME_docs.
Tcl_Obj * ControllerCommands()
FIXME_docs.
int M_lsmem(RtclArgs &args)
FIXME_docs.
virtual ~RtclRw11Cpu()
Destructor.
int M_default(RtclArgs &args)
FIXME_docs.
void SetupGetSet()
FIXME_docs.
int M_show(RtclArgs &args)
FIXME_docs.
int M_deposit(RtclArgs &args)
FIXME_docs.
int M_boot(RtclArgs &args)
FIXME_docs.
virtual Rw11Cpu & Obj()=0
FIXME_docs.
Definition: Rw11Cpu.hpp:66
Declaration of class ReventLoop.
Definition: ReventLoop.cpp:47