Ejemplo n.º 1
0
        /// <summary>
        /// Default Constructor, Instantiates a new instance of the processor.
        /// </summary>
        public Processor()
        {
            Stack = new byte[256];
            Memory = new Ram(0xFFFF);
            StackPointer = 0xFF;

            InitalizeStack();

            InterruptPeriod = 20;
            NumberofCyclesLeft = InterruptPeriod;
        }
Ejemplo n.º 2
0
		/// <summary>
		/// Default Constructor, Instantiates a new instance of the processor.
		/// </summary>
		public Processor()
		{
			Memory = new Ram(0x10000);

			StackPointer = 0x100;
		}