Esempio n. 1
0
        // as we have [INESBoardImplCancel], this will only be called with an fds disk image
        public override bool Configure(NES.EDetectionOrigin origin)
        {
            if (biosrom == null || biosrom.Length != 8192)
            {
                throw new MissingFirmwareException("FDS bios image needed!");
            }

            Cart.vram_size    = 8;
            Cart.wram_size    = 32;
            Cart.wram_battery = false;
            Cart.system       = "Famicom";
            Cart.board_type   = "FAMICOM_DISK_SYSTEM";

            diskdrive = new RamAdapter();
            if (NES.apu != null)
            {
                //audio = new FDSAudio(NES.cpuclockrate);
                audio = new FDSAudio(NES.apu.ExternalQueue);
            }

            InsertSide(0);
            // set mirroring??
            return(true);
        }
Esempio n. 2
0
		// as we have [INESBoardImplCancel], this will only be called with an fds disk image
		public override bool Configure(NES.EDetectionOrigin origin)
		{
			if (biosrom == null || biosrom.Length != 8192)
				throw new MissingFirmwareException("FDS bios image needed!");

			Cart.vram_size = 8;
			Cart.wram_size = 32;
			Cart.wram_battery = false;
			Cart.system = "Famicom";
			Cart.board_type = "FAMICOM_DISK_SYSTEM";

			diskdrive = new RamAdapter();
			if (NES.apu != null)
			{
				//audio = new FDSAudio(NES.cpuclockrate);
				audio = new FDSAudio(NES.apu.ExternalQueue);
			}

			InsertSide(0);
			// set mirroring??
			return true;
		}