0x256 gfx-set-translation-range
Opcode 0x256 (598), draw. Investigated by OME, with high confidence (from investigation).
(first_handle)(count)(x)(y)(z) — op 0x1ff's current translation for every retained object that exists in the range.
Operands
| # | Role | Types seen | Access |
|---|---|---|---|
| 1 | first handle | imm | read |
| 2 | count | imm | read |
| 3 | x | imm | read-float |
| 4 | y | imm | read-float |
| 5 | z | imm | read-float |
In the port
OME’s port implements it. It never waits: a wait parks the engine until input, a sleep, a transition, a dialog or a movie ends. What it can do with control besides waiting:
falls: it returns to the next instruction
OME derives these facts from the port’s handler (its tools/opcode_flow.py), and they over-approximate: a fact some path can reach is given.
By build
Whether each build’s scripts use it, as OME’s survey of the game’s scripts saw them, and how many evidence items name the build.
| Build | Game | Used by its scripts | Evidence |
|---|---|---|---|
4.24J (SYS4422) | Himegari Dungeon Meister | no | — |
4.33G (SYS4433) | Kamidori Alchemy Meister | no | — |
4.38D (SYS4438) | Soukoku no Arterial | yes | 1 |
Evidence
- native-re on SYS4438, high confidence; Arterial SYS4438 Ghidra /arterial/4.38D and the complete Arterial catalog (
vm-map/opcodes.toml opcode 0x256): op_0x256_handler@0x424970 fetches operands 3 to 5 as floats and passes them with operands 1 and 2 to 0x495470, which walks the object map between the two lower bounds and, for each object, sets obj+0x68 and writes the translation matrix at obj+0x16c.
Details
OME’s notes on it, as the registry keeps them.
It creates no object. 創刻のアテリアル has 2 sites. Its neighbours 0x255 (a rotation by axis and angle over a range) and 0x257 (three floats into obj+0x18..0x20 over a range) are in native's table, and no script uses them; the port has no handler for either.