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

1.1       root        1: //
                      2: // nono
1.1.1.4 ! root        3: // Copyright (C) 2020 nono project
        !             4: // Licensed under nono-license.txt
1.1       root        5: //
                      6: 
                      7: #pragma once
                      8: 
                      9: #include "device.h"
                     10: #include "upd7201.h"
                     11: 
                     12: class SIODevice
                     13:        : public uPD7201Device
                     14: {
1.1.1.4 ! root       15:        using inherited = uPD7201Device;
1.1       root       16:  public:
                     17:        SIODevice();
1.1.1.4 ! root       18:        ~SIODevice() override;
1.1       root       19: 
1.1.1.4 ! root       20:        void ResetHard() override;
1.1       root       21: 
1.1.1.3   root       22:  protected:
                     23:        // BusIO インタフェース
                     24:        static const uint32 NPORT = 4;
                     25:        uint64 Read(uint32 addr);
                     26:        uint64 Write(uint32 addr, uint32 data);
                     27:        uint64 Peek(uint32 addr);
1.1       root       28: 
                     29:  private:
1.1.1.4 ! root       30:        void Interrupt() override;
1.1       root       31: };
                     32: 
1.1.1.3   root       33: 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.