Fix wrong LVO offsets in the exec and dos tables

exec.library: Forbid, Permit, Disable and Enable were in the wrong
slots. Forbid/Permit move to -132/-138 and Disable/Enable to -120/-126.

dos.library: the table left out six private vectors but kept counting
as though they were not there, so every row after a missing one was
shifted, ending 36 bytes out. Restores ClearVec (-162), NoReqLoadSeg
(-168), Cli (-492), DosNameFromAnchor (-852), PathPart (-876) and
CliInit (-924) and realigns the rest.

Also fixes copies of the same wrong exec values, plus several wrong dos
offsets, in api_call_identification.md and setfunction_patching.md.

Checked against ADCD 2.1 References/Function.offs. V39 names in the
exec table (CreatePool, CachePreDMA, AddMemHandler and so on) are left
as they were, since they are more current than ADCD 2.0.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Duncan Bowring 2026-09-20 10:29:12 -04:00
parent c6f6253ea0
commit ebb2dbeef7
No known key found for this signature in database
GPG key ID: 6D5A1BFAD252A5B4
4 changed files with 190 additions and 182 deletions

View file

@ -21,10 +21,10 @@
| −102 | 102 | InitResident |
| −108 | 108 | Alert |
| −114 | 114 | Debug |
| −120 | 120 | Forbid |
| −126 | 126 | Permit |
| −132 | 132 | Disable |
| −138 | 138 | Enable |
| −120 | 120 | Disable |
| −126 | 126 | Enable |
| −132 | 132 | Forbid |
| −138 | 138 | Permit |
| −144 | 144 | SetSR |
| −150 | 150 | SuperState |
| −156 | 156 | UserState |