コード例 #1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void write(pspsharp.state.StateOutputStream stream) throws java.io.IOException
        public override void write(StateOutputStream stream)
        {
            stream.writeVersion(STATE_VERSION);
            // The ME RAM need to be written only once
            meRamHandlers[0].write(stream);
            base.write(stream);
        }
コード例 #2
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void write(pspsharp.state.StateOutputStream stream) throws java.io.IOException
        public virtual void write(StateOutputStream stream)
        {
            stream.writeVersion(STATE_VERSION);
            write(stream, MemoryMap.START_SCRATCHPAD, MemoryMap.SIZE_SCRATCHPAD);
            write(stream, MemoryMap.START_VRAM, MemoryMap.SIZE_VRAM);
            write(stream, MemoryMap.START_RAM, MemoryMap.SIZE_RAM);
        }
コード例 #3
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void write(pspsharp.state.StateOutputStream stream) throws java.io.IOException
        public override void write(StateOutputStream stream)
        {
            stream.writeVersion(STATE_VERSION);
            stream.writeInts(data);
            stream.writeInts(ecc);
            base.write(stream);
        }
コード例 #4
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void write(pspsharp.state.StateOutputStream stream) throws java.io.IOException
        public override void write(StateOutputStream stream)
        {
            stream.writeVersion(STATE_VERSION);
            stream.writeInt(unknown40);
            stream.writeBooleans(flushDone);
            base.write(stream);
        }
コード例 #5
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void write(pspsharp.state.StateOutputStream stream) throws java.io.IOException
        public virtual void write(StateOutputStream stream)
        {
            stream.writeVersion(STATE_VERSION);
            stream.writeInt(revision);
            stream.writeInt(clock);
            stream.writeInt(spreadSpectrum);
        }
コード例 #6
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void write(pspsharp.state.StateOutputStream stream) throws java.io.IOException
        public virtual void write(StateOutputStream stream)
        {
            stream.writeVersion(STATE_VERSION);
            cpu.write(stream);
            cp0.write(stream);
            stream.writeBoolean(interruptsEnabled);
        }
コード例 #7
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void write(pspsharp.state.StateOutputStream stream) throws java.io.IOException
        public override void write(StateOutputStream stream)
        {
            stream.writeVersion(STATE_VERSION);
            controller1.write(stream);
            controller2.write(stream);
            base.write(stream);
        }
コード例 #8
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void write(pspsharp.state.StateOutputStream stream) throws java.io.IOException
        public override void write(StateOutputStream stream)
        {
            stream.writeVersion(STATE_VERSION);
            stream.writeInt(maxVblankInterrupts);
            stream.writeLong(TimeMicros);
            base.write(stream);
        }
コード例 #9
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void write(pspsharp.state.StateOutputStream stream) throws java.io.IOException
        public override void write(StateOutputStream stream)
        {
            stream.writeVersion(STATE_VERSION);
            unknown1.write(stream);
            unknown2.write(stream);
            unknown3.write(stream);
            base.write(stream);
        }
コード例 #10
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void write(pspsharp.state.StateOutputStream stream) throws java.io.IOException
        public override void write(StateOutputStream stream)
        {
            stream.writeVersion(STATE_VERSION);
            stream.writeInts(vmeRegisters);
            stream.writeBoolean(halt_Renamed);
            stream.writeInt(pendingInterruptIPbits);
            base.write(stream);
        }
コード例 #11
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void write(pspsharp.state.StateOutputStream stream) throws java.io.IOException
        public override void write(StateOutputStream stream)
        {
            stream.writeVersion(STATE_VERSION);
            stream.writeInt(cpuFrequencyNumerator);
            stream.writeInt(cpuFrequencyDenominator);
            stream.writeInt(busFrequencyNumerator);
            stream.writeInt(busFrequencyDenominator);
            base.write(stream);
        }
コード例 #12
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void write(pspsharp.state.StateOutputStream stream) throws java.io.IOException
        public virtual void write(StateOutputStream stream)
        {
            stream.writeVersion(STATE_VERSION);
            stream.writeInt(dst);
            stream.writeInt(src);
            stream.writeInt(next);
            stream.writeInt(attributes);
            stream.writeInt(status);
        }
コード例 #13
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void write(pspsharp.state.StateOutputStream stream) throws java.io.IOException
        public virtual void write(StateOutputStream stream)
        {
            stream.writeVersion(STATE_VERSION);
            // Skip register $zr
            for (int i = 1; i < NUMBER_REGISTERS; i++)
            {
                stream.writeInt(getRegister(i));
            }
        }
コード例 #14
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void write(pspsharp.state.StateOutputStream stream) throws java.io.IOException
        public override void write(StateOutputStream stream)
        {
            stream.writeVersion(STATE_VERSION);
            stream.writeInt(i2cAddress);
            stream.writeInt(dataLength);
            stream.writeInt(dataIndex);
            stream.writeInts(transmitData);
            stream.writeInts(receiveData);
            base.write(stream);
        }
コード例 #15
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void write(pspsharp.state.StateOutputStream stream) throws java.io.IOException
        public override void write(StateOutputStream stream)
        {
            stream.writeVersion(STATE_VERSION);
            stream.writeInt(timerMode);
            stream.writeInt(timerCounter);
            stream.writeInt(baseTime);
            stream.writeInt(prsclNumerator);
            stream.writeInt(prsclDenominator);
            base.write(stream);
        }
コード例 #16
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void write(pspsharp.state.StateOutputStream stream) throws java.io.IOException
        public override void write(StateOutputStream stream)
        {
            stream.writeVersion(STATE_VERSION);
            stream.writeInt(flagsCompleted);
            stream.writeInt(flagsError);
            for (int i = 0; i < dmacProcessors.Length; i++)
            {
                dmacProcessors[i].write(stream);
            }
            base.write(stream);
        }
コード例 #17
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void write(pspsharp.state.StateOutputStream stream) throws java.io.IOException
        public override void write(StateOutputStream stream)
        {
            stream.writeVersion(STATE_VERSION);
            stream.writeInt(unknown400);
            stream.writeInt(unknown404);
            stream.writeInt(unknown40C);
            stream.writeInt(unknown410);
            stream.writeInt(unknown414);
            stream.writeInt(unknown418);
            stream.writeInt(unknown41C);
            base.write(stream);
        }
コード例 #18
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void write(pspsharp.state.StateOutputStream stream) throws java.io.IOException
        public override void write(StateOutputStream stream)
        {
            stream.writeVersion(STATE_VERSION);
            stream.writeInt(unknown00);
            stream.writeInt(unknown20);
            stream.writeInt(unknown30);
            stream.writeInt(unknown40);
            stream.writeInt(unknown70);
            stream.writeInt(unknown80);
            stream.writeInt(unknown90);
            base.write(stream);
        }
コード例 #19
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public void write(pspsharp.state.StateOutputStream stream) throws java.io.IOException
            public virtual void write(StateOutputStream stream)
            {
                stream.writeVersion(STATE_VERSION);
                stream.writeInt(unknown00);
                stream.writeInt(unknown04);
                stream.writeInt(unknown08);
                stream.writeInt(unknown0C);
                stream.writeInt(unknown10);
                stream.writeInt(unknown14);
                stream.writeInt(unknown18);
                stream.writeInt(unknown1C);
            }
コード例 #20
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void write(pspsharp.state.StateOutputStream stream) throws java.io.IOException
        public override void write(StateOutputStream stream)
        {
            stream.writeVersion(STATE_VERSION);
            stream.writeInt(command);
            stream.writeInt(reset);
            stream.writeInt(interrupt);
            stream.writeInt(interruptEnabled);
            stream.writeInt(totalTransferLength);
            stream.writeInts(transferAddresses);
            stream.writeInts(transferSizes);
            base.write(stream);
        }
コード例 #21
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void write(pspsharp.state.StateOutputStream stream) throws java.io.IOException
        public override void write(StateOutputStream stream)
        {
            stream.writeVersion(STATE_VERSION);
            stream.writeInt(command);
            stream.writeInts(data);
            stream.writeInt(unknown38);
            stream.writeInt(unknown3C);
            stream.writeInt(unknown40);
            stream.writeInt(index);
            stream.writeInt(totalLength);
            stream.writeInt(currentLength);
            base.write(stream);
        }
コード例 #22
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void write(pspsharp.state.StateOutputStream stream) throws java.io.IOException
        public override void write(StateOutputStream stream)
        {
            stream.writeVersion(STATE_VERSION);
            stream.writeInt(error);
            stream.writeInt(command);
            stream.writeInt(result);
            stream.writeInt(status);
            stream.writeInt(statusAsync);
            stream.writeInt(statusAsyncEnd);
            stream.writeInt(sourceAddr);
            stream.writeInt(destAddr);
            base.write(stream);
        }
コード例 #23
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void write(pspsharp.state.StateOutputStream stream) throws java.io.IOException
        public override void write(StateOutputStream stream)
        {
            stream.writeVersion(STATE_VERSION);
            stream.writeInt(data);
            stream.writeInt(status);
            stream.writeLong(baudrateDivisor);
            stream.writeInt(control);
            stream.writeInt(unknown04);
            stream.writeInt(unknown30);
            stream.writeInt(unknown34);
            stream.writeInt(unknown38);
            stream.writeInt(interrupt);
            base.write(stream);
        }
コード例 #24
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void write(pspsharp.state.StateOutputStream stream) throws java.io.IOException
        public override void write(StateOutputStream stream)
        {
            stream.writeVersion(STATE_VERSION);
            stream.writeInt(flagsCompleted);
            stream.writeInt(flagsError);
            for (int i = 0; i < dmacProcessors.Length; i++)
            {
                dmacProcessors[i].write(stream);
            }
            stream.writeInt(displayFrameBufferAddr);
            stream.writeInt(displayWidth);
            stream.writeInt(displayFrameBufferWidth);
            stream.writeInt(displayPixelFormatCoded);
            stream.writeInt(displayFlags);
            base.write(stream);
        }
コード例 #25
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void write(pspsharp.state.StateOutputStream stream) throws java.io.IOException
        public override void write(StateOutputStream stream)
        {
            stream.writeVersion(STATE_VERSION);
            stream.writeInt(control);
            stream.writeInt(status);
            stream.writeInt(command);
            stream.writeInt(pageAddress);
            stream.writeInts(data);
            stream.writeInt(dataIndex);
            stream.writeInt(dmaAddress);
            stream.writeInt(dmaControl);
            stream.writeInt(dmaStatus);
            stream.writeInt(dmaInterrupt);
            stream.writeInt(unknown200);
            stream.writeBoolean(needPageAddress);
            base.write(stream);
        }
コード例 #26
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public void write(pspsharp.state.StateOutputStream stream) throws java.io.IOException
            public virtual void write(StateOutputStream stream)
            {
                stream.writeVersion(STATE_VERSION);
                stream.writeInt(enable);
                stream.writeInt(synchronizationDifference);
                stream.writeInt(unknown008);
                stream.writeInt(xPulseWidth);
                stream.writeInt(xBackPorch);
                stream.writeInt(xFrontPorch);
                stream.writeInt(xResolution);
                stream.writeInt(yBackPorch);
                stream.writeInt(yFrontPorch);
                stream.writeInt(yPulseWidth);
                stream.writeInt(yResolution);
                stream.writeInt(yShift);
                stream.writeInt(xShift);
                stream.writeInt(scaledXResolution);
                stream.writeInt(scaledYResolution);
            }
コード例 #27
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void write(pspsharp.state.StateOutputStream stream) throws java.io.IOException
        public override void write(StateOutputStream stream)
        {
            stream.writeVersion(STATE_VERSION);
            stream.writeInt(Status);
            stream.writeInt(List);
            stream.writeInt(Stall);
            stream.writeInt(Raddr1);
            stream.writeInt(Raddr2);
            stream.writeInt(Vaddr);
            stream.writeInt(Iaddr);
            stream.writeInt(Oaddr);
            stream.writeInt(Oaddr1);
            stream.writeInt(Oaddr2);
            stream.writeInt(CmdStatus);
            stream.writeInt(Interrupt);
            for (int cmd = 0x00; cmd <= 0xFF; cmd++)
            {
                stream.writeInt(readGeCmd(cmd));
            }
            for (int i = 0; i < 8 * 12; i++)
            {
                stream.writeInt(readGeBone(i));
            }
            for (int i = 0; i < 12; i++)
            {
                stream.writeInt(readGeWorld(i));
            }
            for (int i = 0; i < 12; i++)
            {
                stream.writeInt(readGeView(i));
            }
            for (int i = 0; i < 16; i++)
            {
                stream.writeInt(readGeProjection(i));
            }
            for (int i = 0; i < 12; i++)
            {
                stream.writeInt(readGeTexture(i));
            }
            stream.writeInt(Ctrl);
            base.write(stream);
        }
コード例 #28
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void write(pspsharp.state.StateOutputStream stream) throws java.io.IOException
        public override void write(StateOutputStream stream)
        {
            stream.writeVersion(STATE_VERSION);
            stream.writeInts(data);
            stream.writeInt(dataIndex);
            stream.writeInt(dataLength);
            stream.writeInt(error);
            stream.writeInt(features);
            stream.writeInt(sectorCount);
            stream.writeInt(sectorNumber);
            stream.writeInt(cylinderLow);
            stream.writeInt(cylinderHigh);
            stream.writeInt(drive);
            stream.writeInt(status);
            stream.writeInt(command);
            stream.writeInt(control);
            stream.writeInt(pendingOperationCodeParameters);
            stream.writeInt(logicalBlockAddress);
            base.write(stream);
        }
コード例 #29
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void write(pspsharp.state.StateOutputStream stream) throws java.io.IOException
        public override void write(StateOutputStream stream)
        {
            stream.writeVersion(STATE_VERSION);
            stream.writeInt(control);
            stream.writeInt(numSpecs);
            stream.writeInt(groupSize);
            stream.writeInt(numCoeffs);
            stream.writeInt(tabBits);
            stream.writeInt(vlcBits);
            stream.writeInt(unknown18);
            stream.writeInt(inputBuffer);
            stream.writeInt(bitIndex);
            stream.writeInt(vlcTableCode);
            stream.writeInt(vlsTableN);
            stream.writeInt(unknown2C);
            stream.writeInt(outputBuffer);
            stream.writeInt(outputBufferSize);
            stream.writeInt(cacheAddress);
            stream.writeInt(cacheValue8);
            base.write(stream);
        }
コード例 #30
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void write(pspsharp.state.StateOutputStream stream) throws java.io.IOException
        public override void write(StateOutputStream stream)
        {
            stream.writeVersion(STATE_VERSION);
            stream.writeInts(memoryProtection);
            stream.writeInt(unknown10);
            stream.writeInt(unknown14);
            stream.writeInt(unknown18);
            stream.writeInt(unknown1C);
            stream.writeInt(unknown20);
            stream.writeInt(unknown24);
            stream.writeInt(unknown28);
            stream.writeInt(unknown2C);
            stream.writeInt(unknown30);
            stream.writeInt(unknown34);
            stream.writeInt(unknown38);
            stream.writeInt(unknown3C);
            stream.writeInt(unknown40);
            stream.writeInt(unknown44);
            stream.writeInt(unknown48);
            stream.writeInt(unknown50);
            base.write(stream);
        }