|
|
1.1 root 1: //
2: // nono
1.1.1.2 ! root 3: // Copyright (C) 2020 nono project
! 4: // Licensed under nono-license.txt
1.1 root 5: //
6:
7: #pragma once
8:
9: #include "vm.h"
10:
11: class VM_X68030 : public VM
12: {
1.1.1.2 ! root 13: using inherited = VM;
1.1 root 14: public:
15: VM_X68030();
1.1.1.2 ! root 16: ~VM_X68030() override;
1.1 root 17:
18: // 電源ボタンを押す
1.1.1.2 ! root 19: void PowerButton() override;
1.1 root 20:
21: // 電源ボタンの状態を取得。オンなら true。
1.1.1.2 ! root 22: bool IsPowerButton() const override { return power_button; }
1.1 root 23:
24: private:
25: // 電源ボタンの状態。オンなら true。
26: bool power_button = false;
27:
28: // デバイス
29: std::unique_ptr<XIOSpaceDevice> xiospace;
30: };
31:
32: class VM_RXZ : public VM
33: {
1.1.1.2 ! root 34: using inherited = VM;
1.1 root 35: public:
36: VM_RXZ();
1.1.1.2 ! root 37: ~VM_RXZ() override;
1.1 root 38:
39: // 電源ボタンを押す。
1.1.1.2 ! root 40: void PowerButton() override;
1.1 root 41:
42: private:
43: std::unique_ptr<Human68k> human68k;
44: };
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.