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

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: 
                      9: #include "vm.h"
                     10: 
                     11: class VM_LUNA : public VM
                     12: {
1.1.1.2 ! root       13:        using inherited = VM;
1.1       root       14:  public:
                     15:        VM_LUNA();
1.1.1.2 ! root       16:        ~VM_LUNA() override;
1.1       root       17: 
                     18:        // 電源ボタンを押す。
1.1.1.2 ! root       19:        void PowerButton() override;
1.1       root       20: 
                     21:  private:
                     22:        std::unique_ptr<CRTC2Device> crtc2;
1.1.1.2 ! root       23:        std::unique_ptr<IODevice> prom;
1.1       root       24:        std::unique_ptr<SysClkDevice> sysclk;
                     25:        std::unique_ptr<NullDevice> nulldev;
                     26: 
                     27:        static const uint8 maptable[256];
                     28: };
                     29: 
                     30: class VM_LUNA88K : public VM
                     31: {
1.1.1.2 ! root       32:        using inherited = VM;
1.1       root       33:  public:
                     34:        VM_LUNA88K();
1.1.1.2 ! root       35:        ~VM_LUNA88K() override;
1.1       root       36: 
                     37:        // 電源ボタンを押す。
1.1.1.2 ! root       38:        void PowerButton() override;
1.1       root       39: 
                     40:  private:
                     41:        std::unique_ptr<CRTC2Device> crtc2;
                     42:        std::unique_ptr<FuseROMDevice> fuserom;
1.1.1.2 ! root       43:        std::unique_ptr<IODevice> prom;
1.1       root       44:        std::unique_ptr<SysClkDevice> sysclk;
                     45:        std::unique_ptr<NullDevice> nulldev;
                     46: 
                     47:        static const uint8 maptable[256];
                     48: };

unix.superglobalmegacorp.com

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