Annotation of nono/vm/vm_x68k.h, revision 1.1.1.1

1.1       root        1: //
                      2: // nono
                      3: // Copyright (C) 2020 [email protected]
                      4: //
                      5: 
                      6: #pragma once
                      7: 
                      8: #include "vm.h"
                      9: 
                     10: class VM_X68030 : public VM
                     11: {
                     12:        typedef VM inherited;
                     13:  public:
                     14:        VM_X68030();
                     15:        virtual ~VM_X68030();
                     16: 
                     17:        // 電源ボタンを押す
                     18:        virtual void PowerButton();
                     19: 
                     20:        // 電源ボタンの状態を取得。オンなら true。
                     21:        bool IsPowerButton() const { return power_button; }
                     22: 
                     23:  private:
                     24:        // 電源ボタンの状態。オンなら true。
                     25:        bool power_button = false;
                     26: 
                     27:        // デバイス
                     28:        std::unique_ptr<XIOSpaceDevice> xiospace;
                     29: };
                     30: 
                     31: class VM_RXZ : public VM
                     32: {
                     33:        typedef VM inherited;
                     34:  public:
                     35:        VM_RXZ();
                     36:        virtual ~VM_RXZ();
                     37: 
                     38:        // 電源ボタンを押す。
                     39:        virtual void PowerButton();
                     40: 
                     41:  private:
                     42:        std::unique_ptr<Human68k> human68k;
                     43: };

unix.superglobalmegacorp.com

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