|
|
1.1 root 1: //
2: // nono
3: // Copyright (C) 2022 nono project
4: // Licensed under nono-license.txt
5: //
6:
7: //
8: // デバッガ (定義とか)
9: //
10:
11: #pragma once
12:
13: #include "header.h"
14: #include <vector>
15:
16: class Debugger;
17: class DebuggerMD;
18: class DebuggerMemoryStream;
19:
20: using ConstStringPair = std::pair<const std::string, const std::string>;
21: using HelpMessages = std::vector<ConstStringPair>;
22:
23: enum class MemoryMode : bool
24: {
25: Logical = false,
26: Physical = true,
27: };
28:
29: enum class MMULookupMode : bool
30: {
31: False = false,
32: True = true,
33: // MemoryMode::Physical ならこの項は意味を持たないので、
34: // True でも False でもないと言いたい。
35: None = false,
36: };
37:
38: enum class CPUArch
39: {
40: M680x0,
41: M88xx0,
42: HD64180,
43: };
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.