Skip to content

Assembly: Argonaut/Motorola-style .a/.i sources unmapped, column-0 labels without ':' not functions, .rev build counters read as LiveCode (DOOM-FX: 170 engine files missed, 59 .asm with 0 functions) #5624

Closed

Description

@squid-protocol

Problem

RandalLinden/DOOM-FX (GPL-3.0, 90af5149; the 1995 SNES DOOM engine) scans with rc=0 but:

  1. 170 .a files (65816/SuperFX assembly, the actual engine) and 189 .i include files are not mapped. Shape: SECTION ENGINE, public _RLInitIRQ, include rage.i, labels at column 0 (_RLInitIRQ) with no colon, EQU/MACRO/ENDM/dc.b.
  2. The 59 mapped .asm files (Amiga 68k tools: xref, include) have 0 functions (22k LOC): column-0 labels without : and xdef/public exports are not function starts.
  3. 161 .rev files are labelled livecode (source/bank00.a.rev etc.); they are one-line ASCII build counters (116), not LiveCode stacks. LiveCode should need LiveCode content (on mouseUp, end), not just the extension.

Acceptance

  • .a/.i (and .s, .inc where content is assembly) mapped by content to assembly; column-0 labels that are exported (public/xdef/global) or followed by code are function starts; EQU/macro definitions are not. Tests per dialect shape (Argonaut/Devpac/vasm, 65816, 68k).
  • .rev counters no longer claimed as LiveCode; LiveCode requires content evidence.
  • Rescan DOOM-FX: engine files mapped, function counts reported; no drift on assembly goldens (or explained).

Found by scanning licensed non-C DOOM ports for the DOOM Crucible corpus (#5619, #5457); clones are local at pinned SHAs, nothing third-party is committed.

🤖 Generated with Claude Code

Activity

  1. added
    bug
    core-engine
    scope:core
    needs:doom-corpus
    on Oct 19, 2026
  2. squid-protocol commented on Oct 19, 2026

    @squid-protocol
    OwnerAuthor

    Claimed by promoter-bot host nyx, lease renewed 2026-10-20T07:09Z. It lapses after 6 h without a renewal. To take it back, assign someone or remove the claim:nyx label.

  3. squid-protocol commented on Oct 19, 2026

    @squid-protocol
    OwnerAuthor

    More assembly evidence (licensed, engine 0e2bf4ade): FastDoom's x86 .asm files yield 398 "functions" that are mostly local jump labels (FASTDOOM/planar2.asm:120 .hfill, :135 .hfillone, cga16.asm:87 .WDN2), and none record calls (call/jmp targets). Local labels (.name, @@, numeric) should belong to their enclosing procedure (PROC/exported label), and call target should be an edge. woof's small .s files are fine (2/2).

    🤖 Generated with Claude Code

  4. squid-protocol commented on Oct 20, 2026

    @squid-protocol
    OwnerAuthor

    Acceptance met by #5683 (.a/.i mapped by dialect evidence; colonless column-0 labels followed by code are entries; EQU/macro definitions are not; DOOM-FX rescan: 160/170 .a, 171/189 .i, 59/59 .asm mapped, no unexplained golden drift) and #5696 (.rev is LiveCode only on content evidence). The export-aware func_start idea (reading public/xdef lists) is a refinement, not an acceptance item; no burned-estate program needs it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugclaim:nyxcore-engineneeds:doom-corpuspriority: mediumscope:core

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions