Ejemplo n.º 1
0
        internal void WriteMemory(ushort addr, byte value)
        {
            if (addr != LastAddress)
            {
                DistinctAccessCount++;
                LastAddress = addr;
            }

            _mapper.WriteMemory((ushort)(addr & 0x1FFF), value);

            MemoryCallbacks.CallWrites(addr);
        }
Ejemplo n.º 2
0
        public void WriteMemory(ushort addr, byte value)
        {
            if (addr != LastAddress)
            {
                DistinctAccessCount++;
                LastAddress = addr;
            }

            _mapper.WriteMemory((ushort)(addr & 0x1FFF), value);

            CoreComm.MemoryCallbackSystem.CallWrite(addr);
        }
Ejemplo n.º 3
0
        private void WriteMemory(ushort addr, byte value)
        {
            if (addr != _lastAddress)
            {
                DistinctAccessCount++;
                _lastAddress = addr;
            }

            _mapper.WriteMemory((ushort)(addr & 0x1FFF), value);

            MemoryCallbacks.CallWrites(addr, "System Bus");
        }
Ejemplo n.º 4
0
        private void WriteMemory(ushort addr, byte value)
        {
            if (addr != _lastAddress)
            {
                DistinctAccessCount++;
                _lastAddress = addr;
            }

            _mapper.WriteMemory((ushort)(addr & 0x1FFF), value);
            var flags = (uint)(MemoryCallbackFlags.AccessWrite);

            MemoryCallbacks.CallMemoryCallbacks(addr, value, flags, "System Bus");
        }