Skip to content

Move the NES, GB/GBC, MSX, SMS/GG, Doom and Dark Forces cores to submodules - #135

Merged
finger563 merged 3 commits into
mainfrom
feat/submodule-cores
Nov 14, 2026
Merged

finger563 merged 3 commits into
mainfrom
feat/submodule-cores

Conversation

@finger563

Copy link
Copy Markdown
Contributor

This PR moves six more cores into their own esp-cpp repos as submodules, the way #132 did for gwenesis and femto8, so tab5-emu can share them.

Component Submodule Core
components/nes esp-cpp/nofrendo nofrendo (NES)
components/gbc esp-cpp/gnuboy gnuboy (Game Boy / Color)
components/msx esp-cpp/fmsx fMSX
components/sms esp-cpp/smsplus SMS Plus (Master System and Game Gear)
components/doom esp-cpp/prboom PrBoom, with data/
components/darkforces esp-cpp/TheForceEngine The Force Engine subset, with VENDOR.md

Repo layout: each repo is git subtree split out of this repo, so it keeps its history from components/<core>. One last commit then moves the glue (src/, include/) into port/ (port/include/<core>.hpp is the firmware's API). The core folder keeps its name, because the glue includes core headers by that path (for example smsplus/shared.h). Each repo has a README with the core's origin and license.

What stays here: each component's CMakeLists.txt and linker.lf, now thin wrappers that point into the submodule. tab5-emu will have its own wrappers for its target.

Static analysis: the excludes and suppressions now cover the submodule paths, as they already did for gwenesis and femto8. The Dark Forces port-layer suppressions went with that code.

Tested on the box: I built this branch from the submodules and installed it over USB. Each core runs a game and keeps drawing frames, with no crash: Super Mario Bros. 3 (NES), Link's Awakening DX (GBC), Tetris DX (GB), Metal Gear (MSX), Sonic (SMS and Game Gear), Doom shareware and Dark Forces (intro).

No code changes; only the paths move.

🤖 Generated with Claude Code

https://claude.ai/code/session_01SFCMzomCZ5wRHJN4sxwkvY

…odules

Each core now lives in its own esp-cpp repo with its port/ glue to BoxEmu,
split out of this repo with its history, so tab5-emu can share it:

- components/nes/nofrendo -> esp-cpp/nofrendo
- components/gbc/gnuboy -> esp-cpp/gnuboy
- components/msx/fmsx -> esp-cpp/fmsx
- components/sms/smsplus -> esp-cpp/smsplus (Master System and Game Gear)
- components/doom/prboom -> esp-cpp/prboom (with data/)
- components/darkforces/TheForceEngine -> esp-cpp/TheForceEngine

The component CMakeLists.txt and linker fragments stay here as the board's
wrappers. Static analysis skips the submodules, as it does gwenesis and
femto8.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SFCMzomCZ5wRHJN4sxwkvY
Copilot AI balanced review requested due to automatic review settings November 13, 2026 13:53
@github-actions

Copy link
Copy Markdown

✅Static analysis result - no issues found! ✅

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The six replacement submodules are absent from the checkout and their pinned revisions are omitted from the diffs, leaving source preservation and compatibility unverified.

No open issues 🎉

What changed in this PR

This PR extends the submodule approach introduced in #132 to six more emulator cores, allowing esp-box-emu and tab5-emu to share their engines and port layers while keeping board-specific build wrappers here.

Changes:

  • Replaces local NES, GB/GBC, MSX, SMS/GG, Doom, and Dark Forces sources with shared submodule dependencies.
  • Updates component build paths to the nested core directories and port/ interfaces.
  • Documents the shared layout and adjusts static-analysis exclusions and suppressions.
File Description
suppressions.txt Updates suppressions for shared core and port paths.
README.md Documents shared cores and board-specific wrappers.
components/​sms/​smsplus/​tms.h Removes local TMS declarations for submodule migration.
components/​sms/​smsplus/​state.h Removes local save-state declarations for migration.
components/​sms/​smsplus/​sound/​ym2413.h Removes local YM2413 header for migration.
components/​sms/​smsplus/​sound/​fmintf.h Removes local FM interface for migration.
components/​sms/​smsplus/​shared.h Removes local shared definitions for migration.
components/​sms/​smsplus/​loadrom.h Removes local ROM-loading interface for migration.
components/​sms/​smsplus/​hvc.h Removes local video-counter declarations for migration.
components/​sms/​smsplus/​fileio.h Removes local file interface for migration.
components/​sms/​smsplus/​error.h Removes local logging declarations for migration.
components/​sms/​smsplus/​error.c Removes local logging implementation for migration.
components/​sms/​smsplus/​CREDITS Removes local credits as core ownership moves.
components/​sms/​smsplus/​component.mk Removes vendored legacy build configuration.
components/​sms/​smsplus/​CMakeLists.txt Removes vendored core build configuration.
components/​sms/​include/​sms.hpp Relocates firmware interface to the shared port.
components/​sms/​CMakeLists.txt Builds SMS core and glue from submodule paths.
components/​nes/​nofrendo/​nes/​mmclist.h Removes local mapper declarations for migration.
components/​nes/​nofrendo/​AUTHORS Removes local authors file as core ownership moves.
components/​nes/​include/​nes.hpp Relocates firmware interface to the shared port.
components/​nes/​include/​nes_shared_memory.h Relocates shared-memory interface to the port.
components/​nes/​include/​nes_external.h Relocates NES context declarations to the port.
components/​nes/​CMakeLists.txt Builds NES core and glue from submodule paths.
components/​msx/​include/​msx.hpp Relocates firmware interface to the shared port.
components/​msx/​fmsx/​src/​fMSX/​V9938.h Removes local graphics declarations for migration.
components/​msx/​fmsx/​src/​fMSX/​Unix/​Makefile Removes vendored Unix build file for migration.
components/​msx/​fmsx/​src/​EMULib/​SHA1.h Removes local hashing interface for migration.
components/​msx/​fmsx/​src/​EMULib/​Rules.Unix Removes vendored Unix build rules for migration.
components/​msx/​fmsx/​src/​EMULib/​MCF.h Removes local cheat-file interface for migration.
components/​msx/​fmsx/​src/​EMULib/​IPS.h Removes local patch-file interface for migration.
components/​msx/​fmsx/​README.md Removes local core documentation for migration.
components/​msx/​fmsx/​msxfix.h Removes local compatibility header for migration.
components/​msx/​fmsx/​CMakeLists.txt Removes vendored core build configuration.
components/​msx/​CMakeLists.txt Updates core, port, and forced-include source paths.
components/​gbc/​include/​gbc_shared_memory.hpp Relocates memory and audio definitions to the port.
components/​gbc/​include/​gameboy.hpp Relocates firmware interface to the shared port.
components/​gbc/​gnuboy/​include/​gnuboy/​sound.h Removes local sound interface for migration.
components/​gbc/​gnuboy/​include/​gnuboy/​rtc.h Removes local clock interface for migration.
components/​gbc/​gnuboy/​include/​gnuboy/​pcm.h Removes local PCM definitions for migration.
components/​gbc/​gnuboy/​include/​gnuboy/​loader.h Removes local loader interface for migration.
components/​gbc/​gnuboy/​include/​gnuboy/​lcd.h Removes local display definitions for migration.
components/​gbc/​gnuboy/​include/​gnuboy/​hw.h Removes local hardware definitions for migration.
components/​gbc/​gnuboy/​include/​gnuboy/​gnuboy.h Removes local core interface for migration.
components/​gbc/​gnuboy/​include/​gnuboy/​fb.h Removes local framebuffer definitions for migration.
components/​gbc/​gnuboy/​include/​gnuboy/​defs.h Removes local shared types for migration.
components/​gbc/​gnuboy/​include/​gnuboy/​cpuregs.h Removes local register definitions for migration.
components/​gbc/​gnuboy/​include/​gnuboy/​cpu.h Removes local CPU interface for migration.
components/​gbc/​CMakeLists.txt Builds gnuboy and glue from submodule paths.
components/​doom/​prboom/​version.h Removes local version declarations for migration.
components/​doom/​prboom/​version.c Removes local version implementation for migration.
components/​doom/​prboom/​r_segs.h Removes local segment-rendering interface for migration.
components/​doom/​prboom/​r_demo.h Removes local demo interface for migration.
components/​doom/​prboom/​p_user.h Removes local player interface for migration.
components/​doom/​prboom/​opl_queue.h Removes local audio queue interface for migration.
components/​doom/​prboom/​m_argv.h Removes local argument interface for migration.
components/​doom/​prboom/​i_system.h Removes local system interface for migration.
components/​doom/​prboom/​i_main.h Removes local initialization interface for migration.
components/​doom/​prboom/​i_joy.h Removes local joystick interface for migration.
components/​doom/​prboom/​f_wipe.h Removes local screen-transition interface for migration.
components/​doom/​prboom/​doomdef.c Removes local display definitions for migration.
components/​doom/​prboom/​config.h Removes local engine configuration for migration.
components/​doom/​prboom/​CMakeLists.txt Removes vendored core build configuration.
components/​doom/​include/​doom.hpp Relocates firmware interface to the shared port.
components/​doom/​CMakeLists.txt Builds PrBoom and glue from submodule paths.
components/​darkforces/​tfe/​TFE_System/​Threads/​Win32/​threadWin32.h Removes local Windows thread interface for migration.
components/​darkforces/​tfe/​TFE_System/​Threads/​Win32/​signalWin32.h Removes local Windows signal interface for migration.
components/​darkforces/​tfe/​TFE_System/​Threads/​Win32/​mutexWin32.h Removes local Windows mutex interface for migration.
components/​darkforces/​tfe/​TFE_System/​Threads/​thread.h Removes local thread abstraction for migration.
components/​darkforces/​tfe/​TFE_System/​Threads/​signal.h Removes local signal abstraction for migration.
components/​darkforces/​tfe/​TFE_System/​Threads/​mutex.h Removes local mutex abstraction for migration.
components/​darkforces/​tfe/​TFE_System/​Threads/​Linux/​threadLinux.h Removes local Linux thread interface for migration.
components/​darkforces/​tfe/​TFE_System/​Threads/​Linux/​mutexLinux.h Removes local Linux mutex interface for migration.
components/​darkforces/​tfe/​TFE_System/​tfeMessage.h Removes local message interface for migration.
components/​darkforces/​tfe/​TFE_System/​memoryPool.h Removes local memory-pool interface for migration.
components/​darkforces/​tfe/​TFE_System/​frameLimiter.h Removes local frame-limiter interface for migration.
components/​darkforces/​tfe/​TFE_System/​espboxShared.h Moves shared-allocation definitions with the engine.
components/​darkforces/​tfe/​TFE_System/​endian.h Removes local endian helpers for migration.
components/​darkforces/​tfe/​TFE_System/​CrashHandler/​crashHandler.h Removes local crash-handler interface for migration.
components/​darkforces/​tfe/​TFE_RenderShared/​quadDraw2d.h Removes local quad-drawing interface for migration.
components/​darkforces/​tfe/​TFE_RenderShared/​lineDraw2d.h Removes local line-drawing interface for migration.
components/​darkforces/​tfe/​TFE_RenderBackend/​vertexBuffer.h Removes local vertex-buffer interface for migration.
components/​darkforces/​tfe/​TFE_RenderBackend/​textureGpu.h Removes local GPU texture interface for migration.
components/​darkforces/​tfe/​TFE_RenderBackend/​shaderBuffer.h Removes local shader-buffer interface for migration.
components/​darkforces/​tfe/​TFE_RenderBackend/​indexBuffer.h Removes local index-buffer interface for migration.
components/​darkforces/​tfe/​TFE_RenderBackend/​dynamicTexture.h Removes local dynamic-texture interface for migration.
components/​darkforces/​tfe/​TFE_PostProcess/​postprocesseffect.h Removes local post-processing abstraction for migration.
components/​darkforces/​tfe/​TFE_PostProcess/​overlay.h Removes local overlay interface for migration.
components/​darkforces/​tfe/​TFE_PostProcess/​bloomThreshold.h Removes local bloom-threshold interface for migration.
components/​darkforces/​tfe/​TFE_PostProcess/​bloomMerge.h Removes local bloom-merge interface for migration.
components/​darkforces/​tfe/​TFE_PostProcess/​bloomDownsample.h Removes local bloom-downsampling interface for migration.
components/​darkforces/​tfe/​TFE_PostProcess/​blit.h Removes local blit interface for migration.
components/​darkforces/​tfe/​TFE_Polygon/​polygon.h Removes local polygon interface for migration.
components/​darkforces/​tfe/​TFE_Outlaws/​outlawsMain.h Removes local Outlaws interface for migration.
components/​darkforces/​tfe/​TFE_Outlaws/​outlawsMain.cpp Removes local Outlaws stubs for migration.
components/​darkforces/​tfe/​TFE_Memory/​memoryRegion.h Removes local region allocator interface for migration.
components/​darkforces/​tfe/​TFE_Memory/​chunkedArray.h Removes local chunked-array interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Renderer/​rwallRender.h Removes local wall-rendering definitions for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Renderer/​rsectorRender.cpp Removes local sector-rendering implementation for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Renderer/​rscanline.h Removes local scanline interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Renderer/​rlimits.h Removes local renderer limits for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Renderer/​RClassic_GPU/​spriteDisplayList.h Removes local sprite display-list interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Renderer/​RClassic_GPU/​rsectorGPU.h Removes local GPU sector interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Renderer/​RClassic_GPU/​renderDebug.h Removes local rendering-debug interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Renderer/​RClassic_GPU/​rclassicGPU.h Removes local GPU renderer interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Renderer/​RClassic_GPU/​objectPortalPlanes.h Removes local portal-plane interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Renderer/​RClassic_GPU/​modelGPU.h Removes local GPU model interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Renderer/​RClassic_GPU/​debug.h Removes local renderer debug declarations for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Renderer/​RClassic_Float/​screenDraw.h Removes local screen-drawing interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Renderer/​RClassic_Float/​robj3d_float/​robj3dFloat.h Removes local floating-point model interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Renderer/​RClassic_Float/​robj3d_float/​robj3dFloat_TransformAndLighting.h Removes local transform and lighting interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Renderer/​RClassic_Float/​robj3d_float/​robj3dFloat_PolygonSetup.h Removes local polygon-setup interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Renderer/​RClassic_Float/​robj3d_float/​robj3dFloat_PolygonDraw.h Removes local polygon-drawing interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Renderer/​RClassic_Float/​robj3d_float/​robj3dFloat_Culling.h Removes local culling interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Renderer/​RClassic_Float/​robj3d_float/​robj3dFloat_Clipping.h Removes local clipping interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Renderer/​RClassic_Float/​rlightingFloat.h Removes local floating-point lighting interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Renderer/​RClassic_Float/​rflatFloat.h Removes local floating-point flat renderer interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Renderer/​RClassic_Float/​redgePairFloat.h Removes local floating-point edge interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Renderer/​RClassic_Float/​rclassicFloat.h Removes local floating-point renderer interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Renderer/​RClassic_Fixed/​rsectorFixed.h Removes local fixed-point sector interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Renderer/​RClassic_Fixed/​robj3d_fixed/​robj3dFixed.h Removes local fixed-point model interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Renderer/​RClassic_Fixed/​robj3d_fixed/​robj3dFixed_TransformAndLighting.h Removes local transform and lighting interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Renderer/​RClassic_Fixed/​robj3d_fixed/​robj3dFixed_PolygonSetup.h Removes local polygon-setup interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Renderer/​RClassic_Fixed/​robj3d_fixed/​robj3dFixed_PolygonDraw.h Removes local polygon-drawing interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Renderer/​RClassic_Fixed/​robj3d_fixed/​robj3dFixed_Culling.h Removes local culling interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Renderer/​RClassic_Fixed/​robj3d_fixed/​robj3dFixed_Clipping.h Removes local clipping interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Renderer/​RClassic_Fixed/​rlightingFixed.h Removes local fixed-point lighting interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Renderer/​RClassic_Fixed/​rflatFixed.h Removes local fixed-point flat renderer interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Renderer/​RClassic_Fixed/​redgePairFixed.h Removes local fixed-point edge interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Renderer/​RClassic_Fixed/​rclassicFixedSharedState.cpp Removes local renderer state implementation for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Renderer/​RClassic_Fixed/​rclassicFixed.h Removes local fixed-point renderer interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Memory/​list.h Removes local list interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Memory/​allocator.h Removes local allocator interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Math/​cosTable.h Removes local trigonometric table declarations for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Level/​roffscreenBuffer.h Removes local offscreen-buffer interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Level/​robject.h Removes local object interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Level/​rfont.h Removes local font interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​Level/​levelTextures.h Removes local level-texture interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​InfSystem/​infState.h Removes local INF state definitions for migration.
components/​darkforces/​tfe/​TFE_Jedi/​InfSystem/​infElevatorUpdateFunc.h Removes local elevator-update interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​IMuse/​midiData.h Removes local MIDI parsing interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​IMuse/​imTrigger.h Removes local music-trigger interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​IMuse/​imSoundFader.h Removes local sound-fader interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​IMuse/​imList.h Removes local iMuse list interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​IMuse/​imDigitalSound.h Removes local digital-audio interface for migration.
components/​darkforces/​tfe/​TFE_Jedi/​IMuse/​imConst.cpp Removes local MIDI constants for migration.
components/​darkforces/​tfe/​TFE_Game/​saveSystem.h Removes local save-system interface for migration.
components/​darkforces/​tfe/​TFE_Game/​reticle.h Removes local reticle interface for migration.
components/​darkforces/​tfe/​TFE_Game/​igame.h Removes local game abstraction for migration.
components/​darkforces/​tfe/​TFE_FrontEndUI/​profilerView.h Removes local profiler-view interface for migration.
components/​darkforces/​tfe/​TFE_FrontEndUI/​modLoader.h Removes local mod-loader interface for migration.
components/​darkforces/​tfe/​TFE_FrontEndUI/​editorTexture.h Removes local editor-texture interface for migration.
components/​darkforces/​tfe/​TFE_FileSystem/​filewriterAsync.h Removes local asynchronous writer interface for migration.
components/​darkforces/​tfe/​TFE_FileSystem/​fileutil.h Removes local filesystem helpers for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​weaponFireFunc.h Removes local weapon-fire interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​vueLogic.h Removes local animation logic interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​util.h Removes local utility declarations for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​util.cpp Removes local utility implementation for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​updateLogic.h Removes local update-logic interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​random.h Removes local random-number interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​playerLogic.h Removes local player-logic definitions for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​playerCollision.h Removes local player-collision interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​pickup.h Removes local pickup interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​mission.h Removes local mission interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​Landru/​textCrawl.h Removes local text-crawl interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​Landru/​ltimer.h Removes local cutscene timer interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​Landru/​lsystem.h Removes local cutscene lifecycle interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​Landru/​lrect.h Removes local rectangle interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​Landru/​lmusic.h Removes local cutscene music interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​Landru/​lfont.h Removes local cutscene font interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​Landru/​ldraw.h Removes local cutscene drawing interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​Landru/​lcanvas.h Removes local cutscene canvas interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​Landru/​lactorDelt.h Removes local delta-image actor interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​Landru/​lactorCust.h Removes local custom actor interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​Landru/​lactorAnim.h Removes local animated actor interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​Landru/​cutsceneList.h Removes local cutscene-list interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​Landru/​cutscene.h Removes local cutscene interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​Landru/​cutscene_player.h Removes local cutscene playback interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​hud.h Removes local HUD interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​generator.h Removes local enemy-generator interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​GameUI/​uiDraw.h Removes local UI drawing interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​GameUI/​pda.h Removes local PDA interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​GameUI/​missionBriefing.h Removes local briefing interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​GameUI/​menu.h Removes local menu interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​GameUI/​escapeMenu.h Removes local escape-menu interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​GameUI/​editBox.h Removes local edit-box interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​GameUI/​delt.h Removes local delta-image interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​GameUI/​agentMenu.h Removes local agent-menu interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​gameMusic.h Removes local game-music interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​gameMessage.h Removes local game-message interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​darkForcesMain.h Removes local game entry interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​config.h Removes local configuration interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​config.cpp Removes local configuration implementation for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​briefingList.h Removes local briefing-list interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​Actor/​welder.h Removes local welder actor interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​Actor/​turret.h Removes local turret actor interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​Actor/​troopers.h Removes local trooper actor interfaces for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​Actor/​sewer.h Removes local sewer-creature interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​Actor/​scenery.h Removes local scenery actor interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​Actor/​phaseTwo.h Removes local Phase Two actor interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​Actor/​phaseThree.h Removes local Phase Three actor interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​Actor/​phaseOne.h Removes local Phase One actor interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​Actor/​mousebot.h Removes local mousebot actor interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​Actor/​flyers.h Removes local flying-enemy interfaces for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​Actor/​exploders.h Removes local explosive actor interfaces for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​Actor/​enemies.h Removes local enemy setup interfaces for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​Actor/​dragon.h Removes local dragon actor interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​Actor/​bobaFett.h Removes local Boba Fett interface for migration.
components/​darkforces/​tfe/​TFE_DarkForces/​Actor/​animTables.h Removes local animation-table interface for migration.
components/​darkforces/​tfe/​TFE_Audio/​systemMidiDevice.h Removes local system MIDI interface for migration.
components/​darkforces/​tfe/​TFE_Audio/​MidiSynth/​soundFontDevice.h Removes local SoundFont interface for migration.
components/​darkforces/​tfe/​TFE_Audio/​midiPlayer.h Removes local MIDI player interface for migration.
components/​darkforces/​tfe/​TFE_Audio/​midiDevice.h Removes local MIDI device abstraction for migration.
components/​darkforces/​tfe/​TFE_Audio/​audioOutput.h Removes local audio-output definitions for migration.
components/​darkforces/​tfe/​TFE_Audio/​audioFilters.h Removes local audio-filter interface for migration.
components/​darkforces/​tfe/​TFE_Asset/​vueAsset.h Removes local animation asset interface for migration.
components/​darkforces/​tfe/​TFE_Asset/​vocAsset.h Removes local sound asset interface for migration.
components/​darkforces/​tfe/​TFE_Asset/​spriteAsset.h Removes local sprite asset interface for migration.
components/​darkforces/​tfe/​TFE_Asset/​paletteAsset.h Removes local palette asset interface for migration.
components/​darkforces/​tfe/​TFE_Asset/​levelList.h Removes local level-list interface for migration.
components/​darkforces/​tfe/​TFE_Asset/​imageAsset.h Removes local image asset interface for migration.
components/​darkforces/​tfe/​TFE_Asset/​gifWriter.h Removes local GIF writer interface for migration.
components/​darkforces/​tfe/​TFE_Asset/​gameMessages.h Removes local message asset interface for migration.
components/​darkforces/​tfe/​TFE_Asset/​fontAsset.h Removes local font asset interface for migration.
components/​darkforces/​tfe/​TFE_Asset/​colormapAsset.h Removes local colormap asset interface for migration.
components/​darkforces/​tfe/​TFE_Asset/​assetSystem.h Removes local asset-system interface for migration.
components/​darkforces/​tfe/​TFE_Archive/​zipArchive.h Removes local ZIP archive interface for migration.
components/​darkforces/​tfe/​TFE_Archive/​gobMemoryArchive.h Removes local memory archive interface for migration.
components/​darkforces/​tfe/​TFE_A11y/​accessibility.h Removes local accessibility interface for migration.
components/​darkforces/​src/​platform/​esp_platform.h Relocates platform allocation helpers to the shared port.
components/​darkforces/​include/​darkforces.hpp Relocates firmware interface to the shared port.
components/​darkforces/​alloc_redirect.syms Moves allocation symbol mappings with the shared core.
.gitmodules Registers the six shared core repositories.
.github/​workflows/​static_analysis.yml Points the Dark Forces exclusion at its submodule.

Review effort: Balanced

@github-actions

github-actions Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

ESP-IDF Size Report for 'Esp Box Emu'

Metric Base PR Delta
FLASH 4,215,556 bytes (67.00%) 4,216,372 bytes (67.02%) 🔺 +816 bytes (+0.02%)
DRAM 170,565 bytes (49.91%) 170,565 bytes (49.91%) 0 bytes (0.00%)
IRAM 0 bytes 0 bytes 0 bytes
RAM (DRAM+IRAM) 170,565 bytes 170,565 bytes 0 bytes (0.00%)

FLASH uses app .bin size or json2 flash sum. RAM sums DRAM+IRAM via idf_size. Percentages shown when totals are available.
DRAM/IRAM usage does not include memory used by the heap allocator at runtime.
This report was generated by esp-idf-size-delta.

finger563 and others added 2 commits November 13, 2026 09:00
esp_tinyusb 3.0.1 (TinyUSB 0.21.0~6, the DWC2 SETUP-DMA erratum
workaround) corrupts the PSRAM heap on esp-box-emu while a Genesis game
runs: the link task's next allocation hits a tlsf assert or an MMU entry
fault. With 3.0.0 the same firmware is fine (checked on the box with the
same commit built both ways). A fresh build resolves '>=3.0.0' to 3.0.1,
so CI would have shipped it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SFCMzomCZ5wRHJN4sxwkvY
The heap corruption seen with Sonic 2 on the box turned out to be
intermittent: the same builds that failed also pass repeated trials, so
the runs that blamed esp_tinyusb 3.0.1 were not evidence of a cause. The
corruption is tracked separately; no pin until it is understood.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SFCMzomCZ5wRHJN4sxwkvY
@finger563
finger563 merged commit 53b86d3 into main Nov 14, 2026
3 checks passed
@finger563
finger563 deleted the feat/submodule-cores branch November 14, 2026 03:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants