0x2bc configure-adv-wait-indicator-grid
Opcode 0x2bc (700), adv. Investigated by OME, with high confidence (from investigation).
(layout)(dst x/y)(surface)(source x/y)(cell w/h)(atlas columns)(exclusive terminal frame)(period) — configure the ADV input-wait animation from a possibly multi-row atlas. This is the 11-operand form of 0x73, which uses one value for both atlas columns and terminal frame.
Operands
| # | Role | Types seen | Access |
|---|---|---|---|
| 1 | ADV layout slot (zero selects current) (an index into layout, 10 entries, not bounds-checked) | imm | read |
| 2 | layout-relative destination x | imm | read |
| 3 | layout-relative destination y | l-int | read |
| 4 | source surface slot (an index into surface, 1000 entries, not bounds-checked) | imm | read |
| 5 | source x | imm | read |
| 6 | source y | imm | read |
| 7 | cell width | imm | read |
| 8 | cell height | imm | read |
| 9 | atlas columns | imm | read |
| 10 | exclusive terminal frame | imm | read |
| 11 | frame period | imm | read |
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 | 1 |
4.33G (SYS4433) | Kamidori Alchemy Meister | yes | 1 |
4.38D (SYS4438) | Soukoku no Arterial | yes | — |
Evidence
- native-re on SYS4422, SYS4433, high confidence; Himegari SYS4422 Ghidra /v2 and Kamidori SYS4433 Ghidra /kamidori/SYS4433 (4.33F), addresses given for /kamidori/4.33G (
vm-map/opcodes.toml opcode 0x2bc): SYS4422 op_0x2bc_configure_wait_indicator_grid@0x4250e0 and SYS4433 equivalent @0x423210 set the animation period from operand 11, then copy operands 1..10 into the selected ADV layout's wait-indicator descriptor. The shared helper stores atlas column count and exclusive terminal frame separately; adjacent opcode 0x73's helper duplicates operand 9 into both fields. Rendering therefore selects (frame % columns, frame / columns). Kamidori's natural SYSTEM4.BIN boot first reaches this opcode at 0xa0 with (1,2,L0,12,0,0,30,30,32,20,64). Himegari's native dispatcher installs the equivalent handler despite no decoded Himegari use.