|
|
1.1 ! root 1: // ! 2: // nono ! 3: // Copyright (C) 2022 nono project ! 4: // Licensed under nono-license.txt ! 5: // ! 6: ! 7: // ! 8: // メインバス (NEWS) ! 9: // ! 10: ! 11: #pragma once ! 12: ! 13: #include "mainbus.h" ! 14: ! 15: class NewsMainbus : public Mainbus24Device ! 16: { ! 17: using inherited = Mainbus24Device; ! 18: public: ! 19: NewsMainbus(); ! 20: ~NewsMainbus() 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> pNewsCtlr {}; ! 32: std::unique_ptr<IODevice> pNewsIO {}; ! 33: std::unique_ptr<IODevice> pNopIO {}; ! 34: std::unique_ptr<IODevice> pPROM {}; ! 35: };
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.