reCart
Documentation Menu
On This Page

reCart — Feature Map & Code Registry

Current Track: v0.1.4 live | v0.2.0 active next
Maps every capability of reCart (3-way alias: reCart <-> reCartOne <-> reNes) to its status, target milestone, implementing assembly/slice, and verification coverage. Allowed status values: Live, In Progress, Planned, Deprecated.


Feature Index

Code Feature Status Target Version Primary Assembly / Slice 1-Line Summary
CORE-01 Clean-Room Contracts & Hardened ABI Live v0.1.4 reCart.Contracts Public Cart* ABI (ICartRecompGameModule, ICartMachineRuntime, ICartMapper w/ numeric MapperId/SubmapperId, CartRegionTimingProfile, ICartQuickSaveProvider, CartPackageManifest, CartAotRecipeSpec, CartPrgHeaderSynthesizer, CartEngineConstants w/ HostProtocolVersion = "0.6.2", MinSuiteVersion = "0.6.0")
INFRA-01 8-Project .NET 8.0 Solution & SDK Baseline Live v0.1.4 reCart.slnx Zero-warning deterministic builds on Foundation v0.5.5 + reEngine v0.6.2 (reEngine.Host.dll) with 125/125 isolated unit tests across 10 suites
CORE-02 RP2A03 CPU, Bus & Controller Ports Live v0.1.0 reCart.Core (Cpu, Rom, Input) Cycle-stepped 6502 (56 official opcodes, zero BCD, $xxFF wrap, $4016/$4017 0x40 open-bus, OAM+DMC DMA stalls), iNES/NES 2.0 CartRomHeaderParser, and quarantined InterpreterOracle
MAP-01 Core 4 Cartridge Mappers (0/1/2/3) Live v0.1.0 reCart.Core (Mappers) Nrom (#0), Mmc1 (#1), UxRom (#2, $FFD0-$FFD7 bus-conflict safe), and CnRom (#3) implementing ICartMapper
PPU-01 RP2C02 NTSC Scanline PPU & Native Aspect Ratio Live v0.1.0 reCart.Core (Ppu) 256x240, 262 scanlines (29,780/29,781 odd-frame dot skip), Loopy v/t/x/w scroll, sprite-0 hit + NMI suppression, pillarboxed native aspect ratio
APU-01 RP2A03 5-Channel Audio Synthesizer Live v0.1.0 reCart.Core (Apu) Integrated Pulse 1/2, Triangle, Noise, and DMC channels mixed into reEngine.Host stereo PCM
AOT-01 6502 -> C# Lifter, Jump Tables, Cycle-Paced Host & Cold AOT Live v0.1.3 reCart.Compiler, reCart.Core (Runtime) Clean-room 2-member recipe (LifterJumpTableScanner + recipe.JumpTables $C6B7 fixed/switchable lifting) & 3-member lifted .recomp ZIP builder (zero *.Generated.dll), async background cold <dataDir>\cache\ AOT behind HostAotCompileOverlayView, cycle-paced CartMachineHost.StepCpuAndApuCycle (_pendingAotNmi/_pendingAotIrq), fail-closed UnliftedPcTrapException
DECOMP-01 reCart.Decomp (Staged Decomp & Source Quality Gate) Live v0.1.4 reCart.Decomp CartDecompPlatformProvider (platformId: "nes"), staged clean-source pipeline, SixTellDetector, D4BuildReportValidator (v1 + v2 isVerified/romMatched byte-match schema keys), and read-only media intake validation
HOST-01 reCart.Player (reEngine.Host v0.6.2, .7z, CLI Superset & Media Gate) Live v0.1.4 reCart.Player 5-backend SDL3 host (0 px jitter F3 HUD, HostSettingsStore SettingsDataDirectory persistence), WASAPI audio, --demo-cart (silent-idle chime audio), 0/8/16 live OverscanCrop refresh, deduplicated F1 drawer, PlayerCliOptionHelpers CLI superset (--doctor, --tray-only, --fps-mode, --target-fps, --vsync/--no-vsync, --fast-forward, --open-settings, --show-fps, --enable-logs, --force-zero-rwx, --profile, --disc), CartMediaArchiveLoader (tools\7z.*), MediaGateHandlers (reCart v0.1.4 visibility, .recomp drop / Select .recomp Module..., ROM staging, UnliftedPcTrapException trap catch)
DIST-01 < 2 MB Launcher & 4-Pillar Side-by-Side Setup Live v0.1.4 reCart.Launcher, reCart.Installer < 2 MB reCart.exe (AllowAutoStart = false, LauncherArgsHelper interactive GUI detach + Win32 KILL_ON_JOB_CLOSE wait guard), "suiteId": "reEngine", IsReEngineDirectory guard, engines\reCart\v0.1.4\ + app\tools\{7z.exe,7z.dll,LICENSE-7ZIP.txt}, atomic .ready, dual Release ExitCode = 2, 2-channel --prerelease (GitHub + Discord)
EXEC-01 Cooperative Cycle-Synchronized Scheduler & Fix Bundle Planned v0.2.0 reCart.Core (Runtime, Cpu), reCart.Decomp PPU-dot-loop _cpuCycleCredit scheduling across AOT/JIT/IR, pre-MMIO sync points, real RMW dummy writes, incremental $4014+$2003 OAM DMA, $4015 open-bus, CLI/SEI delay, RCARTQS2 snapshots & v2 byte-match schema closure
AOT-02 Unified 6502 -> IR, RyuJIT & Zero-RWX Threaded-IR Planned v0.2.0 reCart.Core (Ir, Jit, Bringup) Shared official+unofficial opcode IR lowerer, multi-window 8 KB ICartBlockAddressMapper + 16 B CartRamEpochTable SMC guard, --jit-bringup (ExitCode = 5), isJitEnabled, shouldPreloadMediaToRam, isFastBootEnabled, crash Safe-Mode sentinel
APU-02 Blip-Buffer DSP, PAL/Dendy & Host Audio Rail Planned v0.3.0 reCart.Core (Apu), reCart.Player CPU-cycle band-limited Blip-buffer synth w/ pre-mute un-decimated PCM tap, PAL 16:5/Dendy 3:1 CPU/APU/PPU timings + live region switch, dual-layer BGM/SFX/Voice routing, audioOutputDevice hot-switch, shouldMuteOnFocusLoss, Sound Test core & VRR clamping
PPU-02 Two-Phase ParallelCpu PPU & Native GPU Compositor Planned v0.4.0 reCart.Core (Ppu, Gpu), reCart.Player Fix dot 257 & MMC3 A12 filter; serial dot-capture snapshots -> deterministic 16px-band ParallelCpu (1x SHA-256 bit-exact to Software) + native GL/VK/DX12 compositor, displayMode/monitorIndex/backgroundFpsCap, F12 capture
ENH-01 Render-Only >8 Sprite Removal & Priority Layering Planned v0.4.0 reCart.Core (Ppu, Gpu) Compositor draws overflowing sprites with per-pixel background priority intact without mutating $2002.5 hardware flags
ENH-02 Overscan, Custom .pal, 21:9, HUD Anchor & Filters Planned v0.4.0 reCart.Core (Ppu, Gpu), reCart.Player 8px edge crop, selectable .pal presets, isTrueColor24BitEnabled, isDitheringEnabled, hudAnchorMode, horPlus21By9, CRT/colorblind shaders & opt-in Hor+ 16:9 (ICartGameFramePatch) never stretching 4:3
ENH-03 120-240 Hz Sub-Tick Motion (ISubTickFrameHook) Planned v0.4.0 reCart.Contracts, reCart.Player Smooth fractional scrolling & sprite motion excluding HUD split-scroll bands while 2A03 APU & VBlank stay at native region Hz
MAP-02 Full Commercial iNES / NES 2.0 Mapper Catalog Planned v0.5.0 reCart.Core (Mappers) Table-driven MMC2–MMC5+ (ExRAM/split scroll/8x8 mult/scanline IRQ), VRC1–VRC7, FME-7, AxROM, GxROM, BxROM, discrete latch tables, NES 2.0 submappers & bus conflicts
HOST-02 Battery-SRAM Vaults, 1-Step Undo, Optical Light-Gun & 4P Planned v0.5.0 reCart.Core (Saves, Input), reCart.Player Player profileId vaults, atomic .sav + backups, .reSave export, Password Vault inject, atomic F5/F9 1-step Undo, pre-shader raycast optical light-gun & 4-player multi-tap
HOST-03 Dynamic Prompts, Accessibility, 10-Rail UI & Dual-Installer Planned v0.5.0 reCart.Player, reCart.Installer Live promptGlyphMode, Hold/Toggle/deadzones/curves/Turbo, uiTextScale/isFastTextEnabled/isFlashReductionEnabled, focus flags, Cutscene Skip, reEngine.Host 10-Rail SDL3 Menu + Dual Online/Offline Setup (8-file Releases\)
FDS-01 Clean-Room HLE Disk-System BIOS & Multi-Side Volume Planned v0.6.0 reCart.Core (Fds) Zero-retail-BIOS $E000–$FFFF HLE vectors, headered/headerless 65,500-B/side parsing, zero-prompt Unified Multi-Side Virtual Volume, and copy-on-write <dataDir>\saves\<moduleId>.fds.sav
APU-03 6-Chip Expansion Audio Integration Planned v0.6.0 reCart.Core (Apu, Expansion) VRC6, VRC7 (OPLL 49.7 kHz), Namco 163 (1–8 ch), Sunsoft 5B, MMC5, and FDS wavetable routed through Blip-buffer & RCARTQS2 EXPA
MOD-01 Asset Catalog, .re* Hot-Reload, Dumper, Recipes & Manual Planned v0.6.0 reCart.Core, reCart.Player, Dev\docs assets.catalog.json, 1:1 loose/ZIP .re* hot-reload (reassigning Fast-Forward off F6), Asset Dumper Wizard, deterministic local hd_recipe.json (xBRZ)/subtitle_recipe.json, bundled Manual + Notebook/Tracker, USER_GUIDE.Modding.md
AOT-03 Raw-Media JIT Harden, Static Promoter, Research Rail & API Planned v0.7.0 reCart.Compiler, reCart.Core, reCart.Player Standalone .nes/.fds JIT bring-up hardening, automated bringup.profile.json -> 100% static AOT promoter (isPureStaticReady), Research inspector rail (6502/PPU/APU), opt-in Release Runtime API, Clean-Capture, Steam/playtime & 3-board cert matrix
DIST-02 win-x64 Going Gold (1.x ABI) Planned v1.0.0 reCart.* Dual-title human playthrough certification (isHumanPlaytestSignedOff), locked 1.x ABI (0.x compat), 8-file Dual-Installer + 4-drive run_sandbox_e2e.py (0 host diff), 2-channel GA launch
PORT-01 10-Platform Hardware RID Expansion Planned v1.1.0–v1.4.0 reCart.* Cross-platform linux-x64, osx-arm64 (MoltenVK), steamos-deck, mobile W^X (linux-bionic-arm64, ios-arm64), browser-wasm cooperative pump & console HALs
HUB-01 Unified SDL3 Hub Parity & First-Party Achievements Planned v2.0.0 reCart.Player, reCart.Contracts Cross-platform Hub UI parity, Quick-Resume suspend, clean-room tick-end achievements.recomp.json (zero external achievement networks) & OFF-by-default Discord Rich Presence
CRE-01 Replayability, .reTas, Rewind, Clips & Creator Suite Planned v3.0.0 reCart.Core, reCart.Player Memory Watches/Trainer, Rewind, .reTas movie rec/playback, rolling clipBufferSeconds clips, Cheats + IGT/RTA Speedrun Timer, Photo Mode & opt-in Host Frame Gen (isFrameGenEnabled)
RMX-01 Remix Engine (IPS/BPS/UPS, Randomizer & .reMod SDK) Planned v4.0.0 reCart.Compiler, reCart.Core Soft ROM patching (patch-keyed AOT/JIT), Deterministic Randomizer, Crowd-Mode integration, Dynamic Co-Op Drop-In, NG+/Challenge hooks & sandboxed .reMod scripting
NET-01 Connected Deterministic Rollback Netplay & Replay Theatre Planned v5.0.0 reCart.Core, reCart.Player Sub-ms rollback netplay lockstep across cooperative scheduler, Matchmaking lobbies, Shared Save Co-Op, Replay Theatre & Spectator Channels

Live Feature Cards (v0.1.4 Track)

Clean-Room Module ABI & Manifest (reCart.Contracts)

  • What it does: Defines the stable binary ABI (ICartRecompGameModule, ICartMachineRuntime, ICartMapper with numeric MapperId/SubmapperId, ICartMemoryBus, ICartCpuContext, ICartPpuController, ICartApuSink, ICartQuickSaveProvider, CartRegionTimingProfile, CartRomHeaderParser, CartExecutionTierMode), clean-room recipe/header helpers (CartAotRecipeSpec, CartPrgHeaderSynthesizer), identity constants (EngineId = "reCart", LegacyAliasEngineIds = ["reCartOne", "reNes"], PlatformId = "nes", HostProtocolVersion = "0.6.2", MinSuiteVersion = "0.6.0", UmbrellaSubpath = "StreamItAll\\reEngine\\engines\\reCart\\...", NtscFrameRateHz = 60.0988, AllowAutoStart = false), and CartPackageManifest.
  • Verification: ContractsAndManifestTests.cs (constants, 3-way alias metadata, ROM header parsing, and manifest validation).

Hardware-Timed 2A03 CPU, Mappers 0–3, Dot 2C02 PPU, APU & Cycle-Paced CartMachineHost (reCart.Core)

  • What it does: Executes cycle-stepped Cpu2A03Core (56 official opcodes, zero BCD, JMP ($xxFF) page-wrap, OAM DMA + DMC stalls, $4016/$4017 open-bus), Nrom/Mmc1/UxRom/CnRom mappers via CartMapperFactory, dot-stepped Ppu2C02Core (256x240, 262 scanlines, Loopy v/t/x/w, sprite-0 hit & NMI edge gating), Apu2A03Core 5-channel audio, cycle-paced CartMachineHost (StepCpuAndApuCycle, _pendingAotNmi 0xFFFA, _pendingAotIrq 0xFFFE) / CartQuickSaveSerializer, and quarantined InterpreterOracle.
  • Verification: Cpu6502Tests.cs, Mapper0To3Tests.cs, Ppu2C02AndApuTests.cs.

6502 -> C# Static Lifter, recipe.JumpTables, Cold AOT Cache & reCart.Decomp (reCart.Compiler, reCart.Decomp)

  • What it does: Lifter6502ToCSharp, LifterJumpTableScanner (DiscoverInlineJumpTableTargets reading recipe.JumpTables across fixed and switchable banks), and CleanRoomRecompPackager emit and validate strictly 2-member recipe (module.recomp.json, aot-recipe.json) and 3-member lifted (module.recomp.json, lifted/CartLiftedModule.cs, lifted/dispatch.meta.json) clean-room .recomp ZIP archives with zero bundled binaries or retail ROM data; ColdAotCacheCompiler builds <dataDir>\cache\<moduleId>.Generated.dll out-of-process (--disable-build-servers -p:UseSharedCompilation=false, async behind HostAotCompileOverlayView), and throws fail-closed UnliftedPcTrapException; CartDecompPlatformProvider validates clean-room bounds and enforced source quality (SixTellDetector, D4BuildReportValidator v1+v2 byte-match keys, CartCleanRoomValidator).
  • Verification: CompilerAndAotCacheTests.cs, DecompD4ValidationTests.cs, RecipeAndLockstepTests.cs.

reEngine.Host v0.6.2 Player, .7z Loader, Clean-Room Media Gate, < 2 MB Launcher & Installer (reCart.Player, reCart.Launcher, reCart.Installer)

  • What it does: ReCartSessionHost + ReCartSessionHost.MediaGateHandlers + CartMediaArchiveLoader + PlayerCliOptionHelpers ride reEngine.Host v0.6.2 (Foundation v0.5.5) across all 5 Windows backends (opengl, vulkan, directx, parallelCpu, software), WASAPI audio, 5 aspect presets (nativePar default), immediate window launch with async HostAotCompileOverlayView, HostSettingsStore SettingsDataDirectory live F1 Video/Audio persistence, live 0/8/16 px OverscanCrop drawer refresh (UpdateDrawerDescriptor), silent-idle --demo-cart audio with input chime, jitter-free 0 px F3 HUD, full CLI superset (--doctor, --tray-only, --fps-mode, --target-fps, --vsync/--no-vsync, --fast-forward, --open-settings, --show-fps, --enable-logs, --force-zero-rwx, --profile, --disc), --lockstep-oracle --lockstep-steps, <DataDir>\rom\ + .7z/.zip discovery, interactive Clean-Room Media Gate (reCart v0.1.4 visibility, OnBrowseMediaRequested, OnBrowseModuleRequested, OnFileDropped, OnDemoCartRequested, ROM staging, UnliftedPcTrapException trap catch), and Core/Player hot-path optimizations (PackedRgbaLut, MemoryMarshal.Cast, cached tables, stackalloc ports, cached SDL3.dll exports); reCart.Launcher (< 2 MB reCart.exe) strips --autostart*, detaches interactive GUI launches (LauncherArgsHelper), and binds KILL_ON_JOB_CLOSE during sync waits; reCart.Installer ("suiteId": "reEngine", ReCartSuitePlacementHelper, IsReEngineDirectory) installs cleanly into engines\reCart\v0.1.4\ (app\tools\{7z.exe,7z.dll,LICENSE-7ZIP.txt}) with atomic .ready and Release ExitCode = 2 on both Player and Setup.
  • Verification: PlayerQuickSaveAndInputTests.cs, PlayerV013PrelaunchTests.cs, InstallerManifestAndSideBySideTests.cs, totaling 125/125 isolated tests across 10 test suites (0 warnings).