Skip to content

title: "PPURead" description: TRSE built-in method (from IDE help)


PPURead

Systems: NES
Parameters: b,b


PPUWrite( [ value ])

PPUWrite writes a single byte to the memory address that the PPU currently points to: // Point to first colour attribute in first nametable $23C0 PPUPoint($23,$C0); // Write walue zero = four tiles use tile palette 0 PPUWrite(0); // PPU now points to $23C1. i:=PPURead(); // Reads value of $23C1 into I, increments to $23C2 PPUWrite(i); // Writes value of "i" to $23C2