Annotation of nono/vm/sio.h, revision 1.1.1.3

1.1       root        1: //
                      2: // nono
                      3: // Copyright (C) 2018 [email protected]
                      4: //
                      5: 
                      6: #pragma once
                      7: 
                      8: #include "device.h"
                      9: #include "upd7201.h"
                     10: 
                     11: class SIODevice
                     12:        : public uPD7201Device
                     13: {
                     14:        typedef uPD7201Device inherited;
                     15:  public:
                     16:        SIODevice();
                     17:        virtual ~SIODevice();
                     18: 
                     19:        virtual void ResetHard();
                     20: 
1.1.1.3 ! root       21:  protected:
        !            22:        // BusIO インタフェース
        !            23:        static const uint32 NPORT = 4;
        !            24:        uint64 Read(uint32 addr);
        !            25:        uint64 Write(uint32 addr, uint32 data);
        !            26:        uint64 Peek(uint32 addr);
1.1       root       27: 
                     28:  private:
                     29:        virtual void Interrupt();
                     30: };
                     31: 
1.1.1.3 ! root       32: extern std::unique_ptr<SIODevice> gSIO;

unix.superglobalmegacorp.com

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