Annotation of nono/vm/vm_x68k.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: 
                      9: #include "vm.h"
1.1.1.3 ! root       10: #include "human68k.h"
        !            11: #include "xiospace.h"
1.1       root       12: 
                     13: class VM_X68030 : public VM
                     14: {
1.1.1.2   root       15:        using inherited = VM;
1.1       root       16:  public:
                     17:        VM_X68030();
1.1.1.2   root       18:        ~VM_X68030() override;
1.1       root       19: 
                     20:        // 電源ボタンを押す
1.1.1.2   root       21:        void PowerButton() override;
1.1       root       22: 
                     23:        // 電源ボタンの状態を取得。オンなら true。
1.1.1.2   root       24:        bool IsPowerButton() const override { return power_button; }
1.1       root       25: 
                     26:  private:
                     27:        // 電源ボタンの状態。オンなら true。
1.1.1.3 ! root       28:        bool power_button {};
1.1       root       29: 
                     30:        // デバイス
1.1.1.3 ! root       31:        std::unique_ptr<XIOSpaceDevice> xiospace {};
1.1       root       32: };
                     33: 
                     34: class VM_RXZ : public VM
                     35: {
1.1.1.2   root       36:        using inherited = VM;
1.1       root       37:  public:
                     38:        VM_RXZ();
1.1.1.2   root       39:        ~VM_RXZ() override;
1.1       root       40: 
                     41:        // 電源ボタンを押す。
1.1.1.2   root       42:        void PowerButton() override;
1.1       root       43: 
                     44:  private:
1.1.1.3 ! root       45:        std::unique_ptr<Human68k> human68k {};
1.1       root       46: };

unix.superglobalmegacorp.com

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