Annotation of nono/vm/extarea.h, revision 1.1.1.2

1.1       root        1: //
                      2: // nono
                      3: // Copyright (C) 2023 nono project
                      4: // Licensed under nono-license.txt
                      5: //
                      6: 
                      7: #pragma once
                      8: 
                      9: #include "device.h"
                     10: 
                     11: class X68kIODevice;
                     12: 
                     13: class ExtAreaDevice : public IODevice
                     14: {
                     15:        using inherited = IODevice;
                     16: 
1.1.1.2 ! root       17:        static const uint32 baseaddr = 0xeae000;
1.1       root       18: 
                     19:  public:
                     20:        ExtAreaDevice();
                     21:        ~ExtAreaDevice() override;
                     22: 
                     23:        bool Init() override;
                     24:        void ResetHard(bool poweron) override;
                     25: 
1.1.1.2 ! root       26:        busdata Read(busaddr addr) override;
        !            27:        busdata Write(busaddr addr, uint32 data) override;
        !            28:        busdata Peek1(uint32 addr) override;
1.1       root       29: 
                     30:  private:
                     31:        X68kIODevice *x68kio {};
                     32: };

unix.superglobalmegacorp.com

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