Annotation of nono/vm/printer.h, revision 1.1.1.9

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: 
1.1.1.6   root        7: //
                      8: // プリンタポート
                      9: //
                     10: 
1.1       root       11: #pragma once
                     12: 
                     13: #include "device.h"
                     14: 
1.1.1.5   root       15: class PrinterDevice : public IODevice
1.1       root       16: {
1.1.1.2   root       17:        using inherited = IODevice;
1.1.1.6   root       18: 
1.1.1.9 ! root       19:        static const uint32 baseaddr = 0xe8c000;
1.1       root       20: 
                     21:  public:
                     22:        PrinterDevice();
1.1.1.8   root       23:        ~PrinterDevice() override;
1.1       root       24: 
1.1.1.9 ! root       25:  protected:
        !            26:        // BusIO インタフェース
        !            27:        // XXX まだ調べてない
        !            28:        static const uint32 NPORT = 2;
        !            29:        busdata ReadPort(uint32 offset);
        !            30:        busdata WritePort(uint32 offset, uint32 data);
        !            31:        busdata PeekPort(uint32 offset);
        !            32:        bool PokePort(uint32 offset, uint32 data);
1.1       root       33: };

unix.superglobalmegacorp.com

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