⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lcd.hh

📁 一个mips虚拟机非常好代码,使用C++来编写的,希望大家多学学,
💻 HH
字号:
#ifndef lcd_hh_included#define lcd_hh_included#include <inttypes.hh>#include <module.hh>#include <device.hh>#include <serial.hh>#include <checkpoint.hh>#include <simarg.hh>class U4600_LCD    : public Module, public Device{private:    static SerialType<U4600_LCD> type;    char lcd_contents[4];    void show_lcd();public:    // Constructors, etc.    U4600_LCD(const SimArgs& args);    U4600_LCD(Checkpoint& cp);    // Module interfaces.    void reset(bool warm);    // Serialization information.    void checkpoint(Checkpoint& cp, bool parent = false) const;        // Device access.    ClockValue read(UInt64 addr, UInt64* buf, int size);    ClockValue write(UInt64 addr, const UInt64* buf, int size);};#endif // lcd_hh_included

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -