소스 검색

docs(compiler): second trigger-hunt details (proc0 store, shell menu offsets)

Eric Streit 6 일 전
부모
커밋
72cc18623b
1개의 변경된 파일과 10개의 추가작업 그리고 0개의 파일을 삭제
  1. 10 0
      src/compiler/GENZ80.md

+ 10 - 0
src/compiler/GENZ80.md

@@ -43,6 +43,16 @@ Failure mode is uniform with other overlays (`Loader.LoadError` →
 * (`ComLine.execute` = 4 bytecode vs 5 native is the parallel shell-run
   knob; `CodeGen` reads it for overflow checks. Shipped M2.COM has Native
   OFF by default.)
+* Second-hunt details: setter is PASS1 **proc0** entry @Mc `0x1027`, store
+  `3F 00 19` @Mc `0x1057` (file `0x1067`); shell Options menu = proc46
+  @Mc `0x1411` (`"Native  "` string @`0x1445`), toggle proc50 @`0x1332`
+  (bit-XOR into abs `[0x348]`), persist proc52 @`0x13AA` (M2.COM file
+  offsets 584 + 730); `compile.mcd` = 3 linked modules (PASS1 base
+  `0x112D` + STATEMEN `0x1BA9` + EXPRESS `0x33BA`); shell never touches
+  COMPILER (no dependency) — it only arms scanOptions bit 2 + COMLINE
+  dispatch. Caveat: our `COMPILER.DEF` var list may be missing trailing
+  globals (M2.COM proc0 seemingly uses word 25 as string scratch too);
+  byte sites above unaffected.
 
 ## Recovery status: binary absent