|
|
1.1 ! root 1: // ! 2: // nono ! 3: // Copyright (C) 2020 [email protected] ! 4: // ! 5: ! 6: #pragma once ! 7: ! 8: #include "vm.h" ! 9: ! 10: class VM_LUNA : public VM ! 11: { ! 12: typedef VM inherited; ! 13: public: ! 14: VM_LUNA(); ! 15: virtual ~VM_LUNA(); ! 16: ! 17: // 電源ボタンを押す。 ! 18: virtual void PowerButton(); ! 19: ! 20: private: ! 21: std::unique_ptr<CRTC2Device> crtc2; ! 22: std::unique_ptr<SysClkDevice> sysclk; ! 23: std::unique_ptr<NullDevice> nulldev; ! 24: ! 25: static const uint8 maptable[256]; ! 26: }; ! 27: ! 28: class VM_LUNA88K : public VM ! 29: { ! 30: typedef VM inherited; ! 31: public: ! 32: VM_LUNA88K(); ! 33: virtual ~VM_LUNA88K(); ! 34: ! 35: // 電源ボタンを押す。 ! 36: virtual void PowerButton(); ! 37: ! 38: private: ! 39: std::unique_ptr<CRTC2Device> crtc2; ! 40: std::unique_ptr<FuseROMDevice> fuserom; ! 41: std::unique_ptr<SysClkDevice> sysclk; ! 42: std::unique_ptr<NullDevice> nulldev; ! 43: ! 44: static const uint8 maptable[256]; ! 45: };
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.