Пример #1
0
        /// -------------------------------------------------------------------------------------------------
        /// <summary> Request update. </summary>
        ///
        /// <remarks> 12/09/2018. </remarks>
        ///
        /// <param name="address"> The address. </param>
        /// -------------------------------------------------------------------------------------------------
        public void RequestUpdate(int pc)
        {
            int addr = TraceFile.GetCloestValidCodeAddress(pc - 10);

            if (addr < 0)
            {
                Program.telnetConnection.SendCommand("d " + pc.ToString() + " 30", Callback, pc);
            }
            else
            {
                Program.telnetConnection.SendCommand("d " + addr.ToString() + " 30", Callback, pc);
            }
        }