A representation of a address/data bus that has 16 generic slots. Device in slot zero is YCPU. Other slots can hold devices that inherit from ADevice.
Пример #1
0
 // ======================================================================
 // Ctor and private methods.
 // ======================================================================
 public Segment(SegmentIndex segmentType, YBUS bus, uint register)
 {
     SegmentType = segmentType;
     m_Bus = bus;
     Register = register;
     RefreshMemoryReference();
 }
Пример #2
0
        // ======================================================================
        // Ctor and private methods.
        // ======================================================================

        public Segment(SegmentIndex segmentType, YBUS bus, uint register)
        {
            SegmentType = segmentType;
            m_Bus       = bus;
            Register    = register;
            RefreshMemoryReference();
        }
Пример #3
0
Файл: YCPU.cs Проект: pabru/YCPU
 /// <summary>
 /// Initializes a new YCPU.
 /// </summary>
 public YCPU()
 {
     BUS   = new YBUS(this);
     m_RTC = new YRTC();
     InitializeOpcodes();
     InitializeMemory();
     PS = 0x0000;
 }
Пример #4
0
 /// <summary>
 /// Initializes a new YCPU.
 /// </summary>
 public YCPU()
 {
     BUS = new YBUS(this);
     m_RTC = new YRTC();
     InitializeOpcodes();
     InitializeMemory();
     PS = 0x0000;
 }
Пример #5
0
 public ADevice(YBUS bus)
 {
     BUS = bus;
     Initialize();
 }
Пример #6
0
 public CRW200(YBUS bus)
     : base(bus)
 {
 }
Пример #7
0
        private byte[] m_VRAM = new byte[0x02000]; // 8192 b

        #endregion Fields

        #region Constructors

        public GraphicsAdapter(YBUS bus)
            : base(bus)
        {
        }
Пример #8
0
 public KeyboardDevice(YBUS bus)
     : base(bus)
 {
 }