mirror of
https://github.com/morluto/rea.git
synced 2026-10-31 03:45:39 +00:00
* feat(ghidra): admit explicit DOS COM analysis Carry caller-selected COM interpretation through CLI, MCP and target identity, seed real-mode entry/context before Ghidra analysis, and verify complete loaded bytes, source mappings and measured register context. Keep original binaries unchanged and PSP/runtime coverage explicit. Assisted-by: Nitori (gensokyo-skills:nitori-reverse-engineering) * fix(verification): validate COM package selection before allocating fixtures
14 lines
393 B
JavaScript
14 lines
393 B
JavaScript
/** Generate a public source-owned COM fixture; no external compiler or game input. */
|
|
export const buildDosComFixture = () => {
|
|
const bytes = Buffer.alloc(64, 0x90);
|
|
bytes.set(Buffer.from("b83412e81a00cd20", "hex"));
|
|
bytes.set(Buffer.from("40c3", "hex"), 32);
|
|
return {
|
|
bytes,
|
|
entry: "0x10100",
|
|
near: "0x10120",
|
|
entry_hex: "b83412",
|
|
load_segment: "0x1000",
|
|
};
|
|
};
|