Ejemplo n.º 1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public virtual void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            revision       = stream.readInt();
            clock          = stream.readInt();
            spreadSpectrum = stream.readInt();
        }
Ejemplo n.º 2
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public override void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            pc  = stream.readInt();
            npc = stream.readInt();
            base.read(stream);
        }
Ejemplo n.º 3
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public virtual void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            dst        = stream.readInt();
            src        = stream.readInt();
            next       = stream.readInt();
            attributes = stream.readInt();
            status     = stream.readInt();
        }
Ejemplo n.º 4
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public override void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            cpuFrequencyNumerator   = stream.readInt();
            cpuFrequencyDenominator = stream.readInt();
            busFrequencyNumerator   = stream.readInt();
            busFrequencyDenominator = stream.readInt();
            base.read(stream);
        }
Ejemplo n.º 5
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public override void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            i2cAddress = stream.readInt();
            dataLength = stream.readInt();
            dataIndex  = stream.readInt();
            stream.readInts(transmitData);
            stream.readInts(receiveData);
            base.read(stream);
        }
Ejemplo n.º 6
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public override void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            timerMode        = stream.readInt();
            timerCounter     = stream.readInt();
            baseTime         = stream.readInt();
            prsclNumerator   = stream.readInt();
            prsclDenominator = stream.readInt();
            base.read(stream);
        }
Ejemplo n.º 7
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public override void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            flagsCompleted = stream.readInt();
            flagsError     = stream.readInt();
            for (int i = 0; i < dmacProcessors.Length; i++)
            {
                dmacProcessors[i].read(stream);
            }
            base.read(stream);
        }
Ejemplo n.º 8
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public override void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            command             = stream.readInt();
            reset               = stream.readInt();
            interrupt           = stream.readInt();
            interruptEnabled    = stream.readInt();
            totalTransferLength = stream.readInt();
            stream.readInts(transferAddresses);
            stream.readInts(transferSizes);
            base.read(stream);
        }
Ejemplo n.º 9
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public override void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            unknown40 = stream.readInt();
            stream.readBooleans(flushDone);
            base.read(stream);
        }
Ejemplo n.º 10
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public override void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            control     = stream.readInt();
            status      = stream.readInt();
            command     = stream.readInt();
            pageAddress = stream.readInt();
            stream.readInts(data);
            dataIndex       = stream.readInt();
            dmaAddress      = stream.readInt();
            dmaControl      = stream.readInt();
            dmaStatus       = stream.readInt();
            dmaInterrupt    = stream.readInt();
            unknown200      = stream.readInt();
            needPageAddress = stream.readBoolean();
            base.read(stream);
        }
Ejemplo n.º 11
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public virtual void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            // Skip register $zr
            for (int i = 1; i < NUMBER_REGISTERS; i++)
            {
                setRegister(i, stream.readInt());
            }
        }
Ejemplo n.º 12
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public override void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            maxVblankInterrupts = stream.readInt();
            baseTimeMicros      = Now - stream.readLong();
            base.read(stream);

            startVblankInterrupts();
        }
Ejemplo n.º 13
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: protected void read(pspsharp.state.StateInputStream stream, int address, int Length) throws java.io.IOException
        protected internal virtual void read(StateInputStream stream, int address, int Length)
        {
            IMemoryWriter memoryWriter = MemoryWriter.getMemoryWriter(this, address, Length, 4);

            for (int i = 0; i < Length; i += 4)
            {
                memoryWriter.writeNext(stream.readInt());
            }
            memoryWriter.flush();
        }
Ejemplo n.º 14
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
            public virtual void read(StateInputStream stream)
            {
                stream.readVersion(STATE_VERSION);
                unknown00 = stream.readInt();
                unknown04 = stream.readInt();
                unknown08 = stream.readInt();
                unknown0C = stream.readInt();
                unknown10 = stream.readInt();
                unknown14 = stream.readInt();
                unknown18 = stream.readInt();
                unknown1C = stream.readInt();
            }
Ejemplo n.º 15
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public override void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            stream.readInts(vmeRegisters);
            halt_Renamed           = stream.readBoolean();
            pendingInterruptIPbits = stream.readInt();
            base.read(stream);

            instructions = null;
            sync();
        }
Ejemplo n.º 16
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public override void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            data            = stream.readInt();
            status          = stream.readInt();
            baudrateDivisor = stream.readLong();
            control         = stream.readInt();
            unknown04       = stream.readInt();
            unknown30       = stream.readInt();
            unknown34       = stream.readInt();
            unknown34       = stream.readInt();
            interrupt       = stream.readInt();
            base.read(stream);
        }
Ejemplo n.º 17
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public override void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            error          = stream.readInt();
            command        = stream.readInt();
            result         = stream.readInt();
            status         = stream.readInt();
            statusAsync    = stream.readInt();
            statusAsyncEnd = stream.readInt();
            sourceAddr     = stream.readInt();
            destAddr       = stream.readInt();
            base.read(stream);

            completePhase1Schedule = 0L;
        }
Ejemplo n.º 18
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public override void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            unknown400 = stream.readInt();
            unknown404 = stream.readInt();
            unknown40C = stream.readInt();
            unknown410 = stream.readInt();
            unknown414 = stream.readInt();
            unknown418 = stream.readInt();
            unknown41C = stream.readInt();
            base.read(stream);
        }
Ejemplo n.º 19
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public override void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            unknown00 = stream.readInt();
            unknown20 = stream.readInt();
            unknown30 = stream.readInt();
            unknown40 = stream.readInt();
            unknown70 = stream.readInt();
            unknown80 = stream.readInt();
            unknown90 = stream.readInt();
            base.read(stream);
        }
Ejemplo n.º 20
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public override void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            command = stream.readInt();
            stream.readInts(data);
            unknown38     = stream.readInt();
            unknown3C     = stream.readInt();
            unknown40     = stream.readInt();
            index         = stream.readInt();
            totalLength   = stream.readInt();
            currentLength = stream.readInt();
            base.read(stream);
        }
Ejemplo n.º 21
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public override void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            flagsCompleted = stream.readInt();
            flagsError     = stream.readInt();
            for (int i = 0; i < dmacProcessors.Length; i++)
            {
                dmacProcessors[i].read(stream);
            }
            displayFrameBufferAddr  = stream.readInt();
            displayWidth            = stream.readInt();
            displayFrameBufferWidth = stream.readInt();
            displayPixelFormatCoded = stream.readInt();
            displayFlags            = stream.readInt();
            base.read(stream);

            updateDisplay();
        }
Ejemplo n.º 22
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
            public virtual void read(StateInputStream stream)
            {
                stream.readVersion(STATE_VERSION);
                enable = stream.readInt();
                synchronizationDifference = stream.readInt();
                unknown008        = stream.readInt();
                xPulseWidth       = stream.readInt();
                xBackPorch        = stream.readInt();
                xFrontPorch       = stream.readInt();
                xResolution       = stream.readInt();
                yBackPorch        = stream.readInt();
                yFrontPorch       = stream.readInt();
                yPulseWidth       = stream.readInt();
                yResolution       = stream.readInt();
                yShift            = stream.readInt();
                xShift            = stream.readInt();
                scaledXResolution = stream.readInt();
                scaledYResolution = stream.readInt();
            }
Ejemplo n.º 23
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public override void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            stream.readInts(memoryProtection);
            unknown10 = stream.readInt();
            unknown14 = stream.readInt();
            unknown18 = stream.readInt();
            unknown1C = stream.readInt();
            unknown20 = stream.readInt();
            unknown24 = stream.readInt();
            unknown28 = stream.readInt();
            unknown2C = stream.readInt();
            unknown30 = stream.readInt();
            unknown34 = stream.readInt();
            unknown38 = stream.readInt();
            unknown3C = stream.readInt();
            unknown40 = stream.readInt();
            unknown44 = stream.readInt();
            unknown48 = stream.readInt();
            unknown50 = stream.readInt();
            base.read(stream);
        }
Ejemplo n.º 24
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public virtual void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            frequency = stream.readInt();
        }
Ejemplo n.º 25
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public override void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            stream.readInts(data);
            dataIndex    = stream.readInt();
            dataLength   = stream.readInt();
            error        = stream.readInt();
            features     = stream.readInt();
            sectorCount  = stream.readInt();
            sectorNumber = stream.readInt();
            cylinderLow  = stream.readInt();
            cylinderHigh = stream.readInt();
            drive        = stream.readInt();
            status       = stream.readInt();
            command      = stream.readInt();
            control      = stream.readInt();
            pendingOperationCodeParameters = stream.readInt();
            logicalBlockAddress            = stream.readInt();
            base.read(stream);
        }
Ejemplo n.º 26
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public override void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            control          = stream.readInt();
            numSpecs         = stream.readInt();
            groupSize        = stream.readInt();
            numCoeffs        = stream.readInt();
            tabBits          = stream.readInt();
            vlcBits          = stream.readInt();
            unknown18        = stream.readInt();
            inputBuffer      = stream.readInt();
            bitIndex         = stream.readInt();
            vlcTableCode     = stream.readInt();
            vlsTableN        = stream.readInt();
            unknown2C        = stream.readInt();
            outputBuffer     = stream.readInt();
            outputBufferSize = stream.readInt();
            cacheAddress     = stream.readInt();
            cacheValue8      = stream.readInt();
            base.read(stream);
        }
Ejemplo n.º 27
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public override void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            Status    = stream.readInt();
            List      = stream.readInt();
            Stall     = stream.readInt();
            Raddr1    = stream.readInt();
            Raddr2    = stream.readInt();
            Vaddr     = stream.readInt();
            Iaddr     = stream.readInt();
            Oaddr     = stream.readInt();
            Oaddr1    = stream.readInt();
            Oaddr2    = stream.readInt();
            CmdStatus = stream.readInt();
            Interrupt = stream.readInt();
            for (int cmd = 0x00; cmd <= 0xFF; cmd++)
            {
                int value = stream.readInt();
                writeGeCmd(cmd, value);
            }
            for (int i = 0; i < 8 * 12; i++)
            {
                writeGeBone(i, stream.readInt());
            }
            for (int i = 0; i < 12; i++)
            {
                writeGeWorld(i, stream.readInt());
            }
            for (int i = 0; i < 12; i++)
            {
                writeGeView(i, stream.readInt());
            }
            for (int i = 0; i < 16; i++)
            {
                writeGeProjection(i, stream.readInt());
            }
            for (int i = 0; i < 12; i++)
            {
                writeGeTexture(i, stream.readInt());
            }
            // Setting the ctrl must be the last action as it might trigger a GE list execution
            Ctrl = stream.readInt();
            base.read(stream);

            sceDisplayModule.GeDirty = true;
        }