private void ReadCallback(uint addr)
 {
     if (MemoryCallbacks.HasReads)
     {
         uint flags = (uint)MemoryCallbackFlags.AccessRead;
         MemoryCallbacks.CallMemoryCallbacks(addr, 0, flags, "System Bus");
     }
 }
Esempio n. 2
0
        public byte ReadMemory(ushort address)
        {
            byte page   = MPR[address >> 13];
            var  result = ReadMemory21((page << 13) | (address & 0x1FFF));
            uint flags  = (uint)(MemoryCallbackFlags.AccessRead);

            MemoryCallbacks.CallMemoryCallbacks(address, result, flags, "System Bus");
            return(result);
        }
Esempio n. 3
0
        void ReadCallback(uint addr)
        {
            uint flags = (uint)(MemoryCallbackFlags.AccessRead);

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