Exemple #1
0
        public override void Initialise()
        {
            byteBuffer.clear();
            intBuffer.clear();
            shortBuffer.clear();
            clearBuffer.clear();

            for (int i = 0; i < clearBufferSize; i++)
            {
                clearBuffer.put((sbyte)0);
            }
            clearBuffer.clear();

            for (int i = 0; i < MemoryMap.END_RAM; i += clearBufferSize)
            {
                byteBuffer.put(clearBuffer);
            }
            clearBuffer.clear();
            byteBuffer.clear();
        }