File:  [Isaki's NoNo m68k/m88k emulator] / nono / vm / mainbus_news.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed Apr 29 17:05:24 2026 UTC (2 months, 3 weeks ago) by root
Branches: MAIN, Isaki
CVS tags: v027, v026, v025, v024, v023, v022, v021, v020, v019, HEAD
nono 0.7.0

//
// nono
// Copyright (C) 2022 nono project
// Licensed under nono-license.txt
//

//
// メインバス (NEWS)
//

#pragma once

#include "mainbus.h"

class NewsMainbus : public Mainbus24Device
{
	using inherited = Mainbus24Device;
 public:
	NewsMainbus();
	~NewsMainbus() override;

	bool InitMainbus() override;

 private:
	// ブートページを切り替える。
	void SwitchBootPage(bool isrom) override;

	std::unique_ptr<IODevice> pBusErr {};
	std::unique_ptr<IODevice> pInterrupt {};
	std::unique_ptr<IODevice> pMainRAM {};
	std::unique_ptr<IODevice> pNewsCtlr {};
	std::unique_ptr<IODevice> pNewsIO {};
	std::unique_ptr<IODevice> pNopIO {};
	std::unique_ptr<IODevice> pPROM {};
};

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.