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

1.1       root        1: //
                      2: // nono
                      3: // Copyright (C) 2023 nono project
                      4: // Licensed under nono-license.txt
                      5: //
                      6: 
                      7: //
                      8: // MSX-DOS コマンドラインエミュレータ
                      9: //
                     10: 
                     11: #pragma once
                     12: 
                     13: #include "prom.h"
                     14: 
                     15: class MPU64180Device;
                     16: 
                     17: class MSXDOSDevice : public PROMDevice
                     18: {
                     19:        using inherited = PROMDevice;
                     20: 
                     21:        // データの受け渡し用。
                     22:        struct data_t {
                     23:                uint8 *data;
                     24:                int size;
                     25:        };
                     26: 
                     27:  public:
                     28:        MSXDOSDevice();
                     29:        virtual ~MSXDOSDevice() override;
                     30: 
                     31:        bool Init() override;
                     32: 
                     33:        // MSXDOS コールエミュレーション
                     34:        void Syscall();
                     35: 
                     36:  private:
                     37:        data_t LoadBinary(const char *filename);
                     38: 
                     39:        MPU64180Device *xp {};
                     40: };

unix.superglobalmegacorp.com

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