0xad commit-pending-playtime
Opcode 0xad (173), control. Investigated by OME, with high confidence (from investigation).
() - make the playtime of the last save container read (SAVE.DAT at boot, or the last numbered load) the base of the playtime clock, counting from now. Saves then store that base plus the seconds since.
Operands
It takes no operands.
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 | no | — |
4.38D (SYS4438) | Soukoku no Arterial | no | — |
Evidence
- native-re on SYS4422, high confidence; Himegari AGE.EXE Ghidra /v2 and decoded script corpus (
vm-map/opcodes.toml opcode 0xad): Ghidra /v2: op_0xad_commit_pending_playtime@0x416760 sets the current frame's instruction length to 1 and tail-jumps to save_container_playtime_commit_pending@0x4306c0 on ctx+0x4d7c, which copies the pending playtime (+0x410, set by save_container_read_and_decode) into the base (+0x40c) and stamps the start (+0x408) with timeGetTime()/1000. SYS4433's dispatch slot 0xad (op_0xad_commit_pending_playtime_sys4433@0x416f00) is the same code. No Himegari or Kamidori script calls it.
Details
OME’s notes on it, as the registry keeps them.
Port status (2026-11-07): implemented as VirtualMachine.CommitLoadedPlayTime, the same commit a full load's frame restore performs (docs/engine-re.md, "Playtime"). Neither shipped corpus calls the op.