Annotation of nono/vm/romemu.h, revision 1.1

1.1     ! root        1: //
        !             2: // nono
        !             3: // Copyright (C) 2024 nono project
        !             4: // Licensed under nono-license.txt
        !             5: //
        !             6: 
        !             7: //
        !             8: // ROM エミュレーションデバイスの基本クラス
        !             9: //
        !            10: 
        !            11: #pragma once
        !            12: 
        !            13: #include "rom.h"
        !            14: 
        !            15: class ROMEmuDevice : public ROMDevice
        !            16: {
        !            17:        using inherited = ROMDevice;
        !            18:  public:
        !            19:        explicit ROMEmuDevice(uint objid_);
        !            20:        ~ROMEmuDevice() override;
        !            21: 
        !            22:        busdata Read(busaddr addr) override;
        !            23:        busdata Write(busaddr addr, uint32 data) override;
        !            24: 
        !            25:  protected:
        !            26:        virtual uint64 ReadROMIO(busaddr addr);
        !            27:        virtual bool WriteROMIO(busaddr addr, uint32 data);
        !            28: };

unix.superglobalmegacorp.com

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