map viewer
This commit is contained in:
parent
93bc6e7a07
commit
2b1f1a0191
15 changed files with 2355 additions and 40 deletions
|
|
@ -714,10 +714,14 @@ export function parseDispatchRootsBlock(block, variant = 'lset') {
|
|||
const typeWord = rawWords[2];
|
||||
const xWord = rawWords[4];
|
||||
const yWord = rawWords[5];
|
||||
// Dispatch roots do not carry a Z byte at a well-known offset; they are
|
||||
// treated as floor-plane (Z=0) until a Z field is recovered from the
|
||||
// descriptor's slot0 callback.
|
||||
const zWord = 0;
|
||||
// Engine reads Z from the LOW byte of the u16 at +0x06 of the shared
|
||||
// authored prefix (constructor view), even when the record is iterated
|
||||
// through the dispatcher view. Confirmed via psx_object_create_compound_record
|
||||
// @ 0x80024eec (memory note psx-coordinate-decode-2026-04-18.md). The HIGH
|
||||
// byte of the same u16 is a palette-override token, NOT a Z extension.
|
||||
// The constructor-view u16 at +0x06 lives at rawWords[3] in this 12-u16
|
||||
// expansion of the 24-byte dispatch-root record.
|
||||
const zWord = rawWords[3] & 0xff;
|
||||
const selectorWord = rawWords[6];
|
||||
const laneWord = rawWords[7];
|
||||
if (typeWord < 0x20 || typeWord > 0x1ff) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue