![Sony PlayStationPortable Скачать руководство пользователя страница 58](http://html.mh-extra.com/html/sony/playstationportable/playstationportable_documentation_406324058.webp)
11
3D GRAPHICS PROCESSING
58
11
3D Graphics Processing
11.1
GE Command Format
Each command word is divided into two parts, a 8-bit command and a 24-bit argument. The command is in the upper part of the word,
and the argument in the lower. The argument can be either integer of a special kind of float that the GE supports (described below).
11.2
GE Floats
Floats processed in the command-stream are 24 bits instead of 32 that are used by the CPU. Conversion from 32 to 24 bits is done by
shifting the value down 8 bits, losing the least significant bits of the mantissa.
11.3
Pointers
Some pointers use a shared register when loading addresses called BASE. This register must be written BEFORE you write to the
designated register. All these registers are marked with (BASE) after the summary.
Other pointers only use 28 bits of information, and their top bits are referred to as the ’4 most significant bits’ in pointer, which reflects
bits 24-27, not 28-31 which could perhaps be believed from common terminology.
11.4
Enabling Registers
Any command or bit that has ’Enable’ in the name implies that setting the first bit (or the bit itself) enables the feature, and no ON/OFF-
states are documented.
11.5
GE Command List
num
name
description
0x00
NOP
No Operation
0x01
VADDR
Vertex List (BASE)
0x02
IADDR
Index List (BASE)
0x03
0x04
PRIM
Primitive Kick
0x05
BEZIER
Bezier Patch Kick
0x06
SPLINE
Spline Surface Kick
0x07
BBOX
Bounding Box
0x08
JUMP
Jump To New Address (BASE)
0x09
BJUMP
Conditional Jump (BASE)
0x0A
CALL
Call Address (BASE)
0x0B
RET
Return From Call
0x0C
END
Stop Execution
0x0D
0x0E
SIGNAL
Raise Signal Interrupt
0x0F
FINISH
Complete Rendering
0x10
BASE
Base Address Register
0x11
0x12
VTYPE
Vertex Type
0x13
???
Offset Address (BASE)
0x14
???
Origin Address (BASE)
0x15
REGION1
Draw Region Start
0x16
REGION2
Draw Region End
0x17
LTE
Lighting Enable
0x18
LTE0
Light 0 Enable
0x19
LTE1
Light 1 Enable
0x1A
LTE2
Light 2 Enable
0x1B
LTE3
Light 3 Enable
0x1C
CPE
Clip Plane Enable
0x1D
BCE
Backface Culling Enable
Содержание PlayStationPortable
Страница 114: ...12 AUDIO PROCESSING 114 12 Audio Processing 12 1 Overview 44100 Hz Sample Frequency ...
Страница 116: ...14 WLAN 116 14 WLAN ...
Страница 117: ...15 USB PORT 117 15 USB Port ...
Страница 118: ...16 UMD 118 16 UMD ...
Страница 119: ...17 MEMORY STICK 119 17 Memory Stick ...
Страница 128: ...21 FLASH MEMORY STRUCTURE FLASH1 128 21 Flash Memory Structure flash1 DIC REGISTRY VSH THEME ...
Страница 141: ...28 IPL 141 28 IPL ...