|
|
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"
1.1.1.3 root 10: #include "human68k.h"
11: #include "xiospace.h"
1.1 root 12:
1.1.1.4 root 13: class VM_X68030 final : public VM
1.1 root 14: {
1.1.1.2 root 15: using inherited = VM;
1.1 root 16: public:
17: VM_X68030();
1.1.1.2 root 18: ~VM_X68030() override;
1.1 root 19:
20: // 電源ボタンを押す
1.1.1.2 root 21: void PowerButton() override;
1.1 root 22:
23: // 電源ボタンの状態を取得。オンなら true。
1.1.1.2 root 24: bool IsPowerButton() const override { return power_button; }
1.1 root 25:
1.1.1.5 ! root 26: // MPU の RESET 命令によるリセット
! 27: void ResetByMPU() override;
! 28:
1.1 root 29: private:
30: // 電源ボタンの状態。オンなら true。
1.1.1.3 root 31: bool power_button {};
1.1 root 32: };
33:
1.1.1.4 root 34: class VM_RXZ final : public VM
1.1 root 35: {
1.1.1.2 root 36: using inherited = VM;
1.1 root 37: public:
38: VM_RXZ();
1.1.1.2 root 39: ~VM_RXZ() override;
1.1 root 40:
41: // 電源ボタンを押す。
1.1.1.2 root 42: void PowerButton() override;
1.1 root 43:
44: private:
1.1.1.3 root 45: std::unique_ptr<Human68k> human68k {};
1.1 root 46: };
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.