psx.wiki

GP0(E1h) Draw Mode

Checks which bits of GP0(E1h) reach GPUSTAT and how textured polygons change them.

GP0(E1h) Draw Mode
MachineSCPH-5501
Programgpu/gp0-e1 (ps1-tests)

Overview

The program writes zeros and ones to the draw mode command GP0(E1h) and reads the result in GPUSTAT. It then draws textured polygons, whose texpage attribute also sets the draw mode, and checks the texture disable bit with GP1(09h) allowing and forbidding it.1

Results

The SCPH-5501 passed all 10 checks in every run.2

Table 1: GP0(E1h) checks
Check Result
Write zeros to E1h pass
Write ones to E1h pass
Write ones with texture disable pass
Textured polygons set the texpage bits pass
Textured polygons with texture disable pass
Textured polygons leave the other bits alone pass
Texture disable bit ignored when not allowed pass
Texture disable bit written when allowed pass
Clearing the allow bit keeps the disable bit pass
Clearing the allow bit clears the disable bit after a write pass

Runs

25 September 2026

13GE1.txt

===== 13 GE1 GPU GP0 E1 | BIOS 19951204 System ROM Version 3.0 11/18/96 A

gpu/gp0-e1
pass - testWriteZerosToE1
pass - testWriteOnesToE1
pass - testWriteOnesToE1WithTextureDisable
pass - testTexturedPolygons
pass - testTexturedPolygonsTextureDisable
pass - testTexturedPolygonsDoesNotChangeOtherBits
pass - testTextureDisableBitIsIgnoredWhenNotAllowed
pass - testTextureDisableBitIsWrittenWhenAllowed
pass - testUnsetAllowTextureDisablePreservesBit
pass - testUnsetAllowTextureDisableClearsBitAfterWrite
Done.

27 September 2026

13GE1.txt

===== 13 GE1 GPU GP0 E1 | BIOS 19951204 System ROM Version 3.0 11/18/96 A

gpu/gp0-e1
pass - testWriteZerosToE1
pass - testWriteOnesToE1
pass - testWriteOnesToE1WithTextureDisable
pass - testTexturedPolygons
pass - testTexturedPolygonsTextureDisable
pass - testTexturedPolygonsDoesNotChangeOtherBits
pass - testTextureDisableBitIsIgnoredWhenNotAllowed
pass - testTextureDisableBitIsWrittenWhenAllowed
pass - testUnsetAllowTextureDisablePreservesBit
pass - testUnsetAllowTextureDisableClearsBitAfterWrite
Done.

27 September 2026 run 2

13GE1.txt

===== 13 GE1 GPU GP0 E1 | BIOS 19951204 System ROM Version 3.0 11/18/96 A

gpu/gp0-e1
pass - testWriteZerosToE1
pass - testWriteOnesToE1
pass - testWriteOnesToE1WithTextureDisable
pass - testTexturedPolygons
pass - testTexturedPolygonsTextureDisable
pass - testTexturedPolygonsDoesNotChangeOtherBits
pass - testTextureDisableBitIsIgnoredWhenNotAllowed
pass - testTextureDisableBitIsWrittenWhenAllowed
pass - testUnsetAllowTextureDisablePreservesBit
pass - testUnsetAllowTextureDisableClearsBitAfterWrite
Done.

27 September 2026 run 3

13GE1.txt

===== 13 GE1 GPU GP0 E1 | BIOS 19951204 System ROM Version 3.0 11/18/96 A

gpu/gp0-e1
pass - testWriteZerosToE1
pass - testWriteOnesToE1
pass - testWriteOnesToE1WithTextureDisable
pass - testTexturedPolygons
pass - testTexturedPolygonsTextureDisable
pass - testTexturedPolygonsDoesNotChangeOtherBits
pass - testTextureDisableBitIsIgnoredWhenNotAllowed
pass - testTextureDisableBitIsWrittenWhenAllowed
pass - testUnsetAllowTextureDisablePreservesBit
pass - testUnsetAllowTextureDisableClearsBitAfterWrite
Done.

27 September 2026 run 4

13GE1.txt

===== 13 GE1 GPU GP0 E1 | BIOS 19951204 System ROM Version 3.0 11/18/96 A

gpu/gp0-e1
pass - testWriteZerosToE1
pass - testWriteOnesToE1
pass - testWriteOnesToE1WithTextureDisable
pass - testTexturedPolygons
pass - testTexturedPolygonsTextureDisable
pass - testTexturedPolygonsDoesNotChangeOtherBits
pass - testTextureDisableBitIsIgnoredWhenNotAllowed
pass - testTextureDisableBitIsWrittenWhenAllowed
pass - testUnsetAllowTextureDisablePreservesBit
pass - testUnsetAllowTextureDisableClearsBitAfterWrite
Done.

28 September 2026

13GE1.txt

===== 13 GE1 GPU GP0 E1 | BIOS 19951204 System ROM Version 3.0 11/18/96 A

gpu/gp0-e1
pass - testWriteZerosToE1
pass - testWriteOnesToE1
pass - testWriteOnesToE1WithTextureDisable
pass - testTexturedPolygons
pass - testTexturedPolygonsTextureDisable
pass - testTexturedPolygonsDoesNotChangeOtherBits
pass - testTextureDisableBitIsIgnoredWhenNotAllowed
pass - testTextureDisableBitIsWrittenWhenAllowed
pass - testUnsetAllowTextureDisablePreservesBit
pass - testUnsetAllowTextureDisableClearsBitAfterWrite
Done.

References


  1. ^ ps1-tests, gpu/gp0-e1. https://github.com/JaCzekanski/ps1-tests.

  2. ^ SCPH-5501 output: main/13GE1.txt and the files beside it, with the other runs listed under Runs.

Categories: Hardware tests