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

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

        #endregion Fields

        #region Constructors

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