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
파일: Segment.cs 프로젝트: ZaneDubya/YCPU
 // ======================================================================
 // 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
파일: YCPU.cs 프로젝트: ZaneDubya/YCPU
 /// <summary>
 /// Initializes a new YCPU.
 /// </summary>
 public YCPU()
 {
     BUS = new YBUS(this);
     m_RTC = new YRTC();
     InitializeOpcodes();
     InitializeMemory();
     PS = 0x0000;
 }
예제 #5
0
파일: ADevice.cs 프로젝트: ZaneDubya/YCPU
 public ADevice(YBUS bus)
 {
     BUS = bus;
     Initialize();
 }
예제 #6
0
파일: CRW200.cs 프로젝트: ZaneDubya/YCPU
 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)
 {
 }