File:  [Isaki's NoNo m68k/m88k emulator] / nono / vm / newsfb.h
Revision 1.1.1.3 (vendor branch): download - view: text, annotated - select for diffs
Wed Apr 29 17:06:00 2026 UTC (2 months, 3 weeks ago) by root
Branches: MAIN, Isaki
CVS tags: v027, HEAD
nono 1.7.0

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

//
// NEWS のフレームバッファ(予定地)
//

#pragma once

#include "device.h"
#include "textscreen.h"

class NewsfbDevice : public Device
{
	using inherited = Device;
 public:
	NewsfbDevice();
	~NewsfbDevice() override;

	void ResetHard(bool poweron) override;

	void Putc(int ch);

 private:
	DECLARE_MONITOR_SCREEN(MonitorScreen);

	TextScreen console {};

	Monitor *monitor {};
};

inline NewsfbDevice *GetNewsfbDevice() {
	return Object::GetObject<NewsfbDevice>(OBJ_NEWSFB);
}

unix.superglobalmegacorp.com

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