|
|
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:
1.1.1.8 root 7: //
8: // VM (X68030)
9: //
10:
1.1 root 11: #pragma once
12:
13: #include "vm.h"
14:
1.1.1.4 root 15: class VM_X68030 final : public VM
1.1 root 16: {
1.1.1.2 root 17: using inherited = VM;
1.1 root 18: public:
19: VM_X68030();
1.1.1.2 root 20: ~VM_X68030() override;
1.1 root 21:
1.1.1.5 root 22: // MPU の RESET 命令によるリセット
23: void ResetByMPU() override;
24:
1.1.1.7 root 25: protected:
1.1.1.6 root 26: // ブートページを切り替える。
27: void SwitchBootPage(Device *parent, bool isrom) override;
28:
1.1 root 29: private:
1.1.1.8 root 30: std::unique_ptr<Device> pHuman68k {};
31: std::unique_ptr<Device> pIPLROM0 {};
32: std::unique_ptr<Device> pXIOSpace {};
1.1 root 33: };
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.