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

1.1       root        1: //
                      2: // nono
1.1.1.2   root        3: // Copyright (C) 2020 nono project
                      4: // Licensed under nono-license.txt
1.1       root        5: //
                      6: 
                      7: #pragma once
                      8: 
1.1.1.3 ! root        9: #include "crtc2.h"
        !            10: #include "fuserom.h"
        !            11: #include "sysclk.h"
1.1       root       12: #include "vm.h"
                     13: 
                     14: class VM_LUNA : public VM
                     15: {
1.1.1.2   root       16:        using inherited = VM;
1.1       root       17:  public:
                     18:        VM_LUNA();
1.1.1.2   root       19:        ~VM_LUNA() override;
1.1       root       20: 
                     21:        // 電源ボタンを押す。
1.1.1.2   root       22:        void PowerButton() override;
1.1       root       23: 
                     24:  private:
1.1.1.3 ! root       25:        std::unique_ptr<CRTC2Device> crtc2 {};
        !            26:        std::unique_ptr<IODevice> prom {};
        !            27:        std::unique_ptr<SysClkDevice> sysclk {};
        !            28:        std::unique_ptr<NullDevice> nulldev {};
1.1       root       29: 
                     30:        static const uint8 maptable[256];
                     31: };
                     32: 
                     33: class VM_LUNA88K : public VM
                     34: {
1.1.1.2   root       35:        using inherited = VM;
1.1       root       36:  public:
                     37:        VM_LUNA88K();
1.1.1.2   root       38:        ~VM_LUNA88K() override;
1.1       root       39: 
                     40:        // 電源ボタンを押す。
1.1.1.2   root       41:        void PowerButton() override;
1.1       root       42: 
                     43:  private:
1.1.1.3 ! root       44:        std::unique_ptr<CRTC2Device> crtc2 {};
        !            45:        std::unique_ptr<FuseROMDevice> fuserom {};
        !            46:        std::unique_ptr<IODevice> prom {};
        !            47:        std::unique_ptr<SysClkDevice> sysclk {};
        !            48:        std::unique_ptr<NullDevice> nulldev {};
1.1       root       49: 
                     50:        static const uint8 maptable[256];
                     51: };

unix.superglobalmegacorp.com

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