|
|
1.1 ! root 1: // ! 2: // nono ! 3: // Copyright (C) 2024 nono project ! 4: // Licensed under nono-license.txt ! 5: // ! 6: ! 7: // ! 8: // メインバス (virt68k) ! 9: // ! 10: ! 11: #pragma once ! 12: ! 13: #include "mainbus.h" ! 14: ! 15: class Virt68kMainbus : public Mainbus24Device ! 16: { ! 17: using inherited = Mainbus24Device; ! 18: public: ! 19: Virt68kMainbus(); ! 20: ~Virt68kMainbus() override; ! 21: ! 22: bool InitMainbus() override; ! 23: ! 24: private: ! 25: // ブートページを切り替える。 ! 26: void SwitchBootPage(bool isrom) override; ! 27: ! 28: std::unique_ptr<IODevice> pBusErr {}; ! 29: std::unique_ptr<IODevice> pInterrupt {}; ! 30: std::unique_ptr<IODevice> pMainRAM {}; ! 31: std::unique_ptr<IODevice> pV68kIO {}; ! 32: };
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.