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.
Example #1
0
 // ======================================================================
 // Ctor and private methods.
 // ======================================================================
 public Segment(SegmentIndex segmentType, YBUS bus, uint register)
 {
     SegmentType = segmentType;
     m_Bus = bus;
     Register = register;
     RefreshMemoryReference();
 }
Example #2
0
        // ======================================================================
        // Ctor and private methods.
        // ======================================================================

        public Segment(SegmentIndex segmentType, YBUS bus, uint register)
        {
            SegmentType = segmentType;
            m_Bus       = bus;
            Register    = register;
            RefreshMemoryReference();
        }
Example #3
0
File: YCPU.cs Project: pabru/YCPU
 /// <summary>
 /// Initializes a new YCPU.
 /// </summary>
 public YCPU()
 {
     BUS   = new YBUS(this);
     m_RTC = new YRTC();
     InitializeOpcodes();
     InitializeMemory();
     PS = 0x0000;
 }
Example #4
0
 /// <summary>
 /// Initializes a new YCPU.
 /// </summary>
 public YCPU()
 {
     BUS = new YBUS(this);
     m_RTC = new YRTC();
     InitializeOpcodes();
     InitializeMemory();
     PS = 0x0000;
 }
Example #5
0
 public ADevice(YBUS bus)
 {
     BUS = bus;
     Initialize();
 }
Example #6
0
 public CRW200(YBUS bus)
     : base(bus)
 {
 }
Example #7
0
        private byte[] m_VRAM = new byte[0x02000]; // 8192 b

        #endregion Fields

        #region Constructors

        public GraphicsAdapter(YBUS bus)
            : base(bus)
        {
        }
Example #8
0
 public KeyboardDevice(YBUS bus)
     : base(bus)
 {
 }