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

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: 
1.1.1.4   root       13: class VM_X68030 final : public VM
1.1       root       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: 
1.1.1.5   root       26:        // MPU の RESET 命令によるリセット
                     27:        void ResetByMPU() override;
                     28: 
1.1.1.7 ! root       29:  protected:
1.1.1.6   root       30:        // ブートページを切り替える。
                     31:        void SwitchBootPage(Device *parent, bool isrom) override;
                     32: 
1.1       root       33:  private:
                     34:        // 電源ボタンの状態。オンなら true。
1.1.1.3   root       35:        bool power_button {};
1.1       root       36: 
1.1.1.3   root       37:        std::unique_ptr<Human68k> human68k {};
1.1       root       38: };

unix.superglobalmegacorp.com

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