|
|
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.10! root 22: bool Init() override;
! 23:
1.1.1.5 root 24: // MPU の RESET 命令によるリセット
25: void ResetByMPU() override;
26:
1.1.1.7 root 27: protected:
1.1.1.6 root 28: // ブートページを切り替える。
29: void SwitchBootPage(Device *parent, bool isrom) override;
30:
1.1 root 31: private:
1.1.1.10! root 32: std::unique_ptr<Device> pExtRAM {};
1.1.1.8 root 33: std::unique_ptr<Device> pHuman68k {};
34: std::unique_ptr<Device> pIPLROM0 {};
1.1.1.10! root 35: std::unique_ptr<Device> pX68kIO {};
1.1 root 36: };
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.