Commit Graph

  • bc47c97060 [sc3/harness] feat(runtime): the capture's RAM write tracking on Linux (asynchronous userfaultfd protection, PAGEMAP_SCAN), as GetWriteWatch on Windows sc3/harness ArzarothandClaude Opus 5.5 2026-11-06 21:24:39 +01:00
  • 9b30a080ef [sc3/harness] fix(runtime): PS2_ALWAYS_INLINE for the capture scopes (its commit on native/renderer is not on this lineage) ArzarothandClaude Opus 5.5 2026-11-06 20:59:01 +01:00
  • a451f1115d [sc3/harness] build(runtime): static zlib on Windows only (Linux has the shared library) ArzarothandClaude Opus 5.5 2026-11-06 20:56:04 +01:00
  • c4486f3e66 [sc3/harness] Call log replay: when a kernel call unmasks a DMAC channel with an interrupt pending, whether it raises it comes from the log (the reference read the channel's D_STAT, which the hardware stores answered from the log never set) Thomas Martin 2026-11-03 12:01:17 +01:00
  • 3667980d8a [sc3/harness] Call log: a syscall's own entry in the reference record's call list is not one of the calls made inside it (the runtime records it after the call log opened the call, as the dispatcher does an override's); the replay report says which records only the log can give Thomas Martin 2026-11-03 10:40:48 +01:00
  • 0639a581ed [sc3/harness] Call log: the full replay (PS2X_CALL_LOG_REPLAY=<file>): the game run with every call but the EE kernel's answered from the log Thomas Martin 2026-11-03 10:17:20 +01:00
  • dcdb1015e1 [sc3/harness] Call log (PS2X_CALL_LOG=<file>, deterministic mode, code generated with capture_hooks): the whole run for BozoEngine's phase 2 Thomas Martin 2026-11-03 09:35:27 +01:00
  • ca620ff2f6 [sc3/harness] Per-function capture (PS2X_CAPTURE=<folder>, deterministic mode, code generated with capture_hooks) and its self-check (PS2X_CAPTURE_CHECK=<folder>) Thomas Martin 2026-11-03 01:20:00 +01:00
  • dbbc279cc5 [sc3/harness] Recompiler: capture_hooks ([general], off by default): every generated function opens with PS2X_CAPTURE_GUEST(<start>) (before its resume switch, so the guard tells a call from a resume) and every stub with PS2X_CAPTURE_NATIVE(<start>), so the runtime's per-function capture sees each call, direct C++ calls (tail jumps) included. Off, the output is byte-identical to before (checked on TMB US) Thomas Martin 2026-11-03 01:20:00 +01:00
  • 4d0afc4696 [sc3/harness] Deterministic mode: a disc read takes a PS2 drive's time (114,400 EE cycles a sector, DVD at 4x), so the IOP keeps up through a load Thomas Martin 2026-11-02 22:44:37 +01:00
  • 8e8625d006 [sc3/harness] Deterministic mode: a pad port with no player reads at rest, not the host's keyboard and gamepad (its sticks read 0x7f or 0x80 with the window's focus) Thomas Martin 2026-11-02 19:05:41 +01:00
  • 7fcfc69519 [sc3/harness] PS2X_DETERMINISTIC=1 (a field per frame, no wall clock in the EE, IOP or mixer, fixed dates, frame-keyed pad scripts, frame-clocked movies) and the reference recorder (PS2X_REFERENCE: per frame XXH64 of RAM, scratchpad, calls, draw lists, threads; the mix's FNV-1a 64) Thomas Martin 2026-11-02 18:51:08 +01:00
  • 3b8b00c3b8 Respect application scene alpha when choosing shadow receivers native/gs-backend Thomas Martin 2026-11-05 21:14:15 +01:00
  • 8bbbd6a55b Cache application textures by asset identity and expose presented frames Thomas Martin 2026-11-05 20:41:15 +01:00
  • 0a369b75a5 Add hidden off-screen startup for isolated probes Thomas Martin 2026-11-04 23:14:51 +01:00
  • cbec364aff Register call continuations across standalone code blocks Thomas Martin 2026-11-04 22:37:59 +01:00
  • 645153ae60 Add native snapshots of the previously completed frame Thomas Martin 2026-11-04 21:29:46 +01:00
  • 90e9398164 Native renderer: every blend in the native frame (the subtractive ones drew black) Thomas MartinandClaude Opus 5.5 2026-11-04 16:07:26 +01:00
  • beeeb61654 Native renderer: PostEffect::glow's glare (line blurs of the brightest part) Thomas MartinandClaude Opus 5.5 2026-11-04 15:17:58 +01:00
  • 7530817b6e Native renderer: shadow volumes in the native frame too Thomas MartinandClaude Opus 5.5 2026-11-04 14:40:40 +01:00
  • 705cca6ac7 Native renderer: PostEffect::glow, a game's bloom added onto its frame Thomas MartinandClaude Opus 5.5 2026-11-04 14:27:40 +01:00
  • 9cc18aca9f vu1_lift: D/T bits run as plain instructions, node bound raised to 1M Thomas MartinandClaude Opus 5.5 2026-11-04 14:07:20 +01:00
  • b0eee326f2 MPEG HLE: sceMpegCbNodata past a movie's end, and mpegStreamEnded for ports Thomas MartinandClaude Opus 5.5 2026-11-04 00:16:00 +01:00
  • 3d62e98b07 [sc3/nogs-m5] wip sc3/nogs-m5 Arzaroth 2026-11-03 23:45:26 +01:00
  • 63397e38d8 Native renderer: postEffect, a full-screen pass at its point of the frame (the frame shrunk, brightened, blurred and mixed back at the far depth): a port's game's own post effect from its parameters Thomas Martin 2026-11-01 06:44:05 +01:00
  • ce4e8a611f VIF1 dropped: a port can keep chosen VIF1 chains (by first tag address) Thomas MartinandClaude Opus 5.5 2026-11-03 21:34:55 +01:00
  • 833330e2d9 Native renderer: a movie's picture goes under what the game draws during it (VP2's "skip this sequence?" window) Thomas MartinandClaude Opus 5.5 2026-11-03 18:52:21 +01:00
  • b447559989 Native renderer: a depth-weighted post pass can also be limited by depth (PostEffect::depthLimit) Thomas MartinandClaude Opus 5.5 2026-11-03 18:13:06 +01:00
  • 4e5ef52b99 Call log replay: when a kernel call unmasks a DMAC channel with an interrupt pending, whether it raises it comes from the log (the reference read the channel's D_STAT, which the hardware stores answered from the log never set) harness/calllog Thomas MartinandClaude Opus 5.5 2026-11-03 12:01:17 +01:00
  • e4bfd7d63b EE scheduler: waitUntil, a host-time wait that lets the other threads run; idle waits credit the IOP as they go Thomas MartinandClaude Opus 5.5 2026-11-03 11:56:27 +01:00
  • 3416aa3fe0 SIF: _sceSifSendCmd gets its own entry; the alias dropped every EE->IOP command native/renderer Thomas MartinandClaude Opus 5.5 2026-11-03 11:42:36 +01:00
  • 8d1b837a4d SIF: _sceSifSendCmd gets its own entry; the alias dropped every EE->IOP command Thomas MartinandClaude Opus 5.5 2026-11-03 11:42:36 +01:00
  • 6dc3de9984 Call log: a syscall's own entry in the reference record's call list is not one of the calls made inside it (the runtime records it after the call log opened the call, as the dispatcher does an override's); the replay report says which records only the log can give Thomas MartinandClaude Opus 5.5 2026-11-03 10:40:48 +01:00
  • e6f5d951c7 Call log: the full replay (PS2X_CALL_LOG_REPLAY=<file>): the game run with every call but the EE kernel's answered from the log Thomas MartinandClaude Opus 5.5 2026-11-03 10:17:20 +01:00
  • 1a962bc316 Call log (PS2X_CALL_LOG=<file>, deterministic mode, code generated with capture_hooks): the whole run for BozoEngine's phase 2 Thomas MartinandClaude Opus 5.5 2026-11-03 09:35:27 +01:00
  • 2a816a9ae6 Native renderer: postEffect returns its pass's index; adjustPostEffect changes it until endFrame Thomas MartinandClaude Opus 5.5 2026-11-03 02:11:21 +01:00
  • 74a3577480 Window captures: PS2X_CAPTURE_FROM / PS2X_CAPTURE_UNTIL, a dense capture of one moment Thomas MartinandClaude Opus 5.5 2026-11-03 01:22:25 +01:00
  • fa0b4af372 Per-function capture (PS2X_CAPTURE=<folder>, deterministic mode, code generated with capture_hooks) and its self-check (PS2X_CAPTURE_CHECK=<folder>) harness/capture Thomas MartinandClaude Opus 5.5 2026-11-03 01:20:00 +01:00
  • 7763572967 Recompiler: capture_hooks ([general], off by default): every generated function opens with PS2X_CAPTURE_GUEST(<start>) (before its resume switch, so the guard tells a call from a resume) and every stub with PS2X_CAPTURE_NATIVE(<start>), so the runtime's per-function capture sees each call, direct C++ calls (tail jumps) included. Off, the output is byte-identical to before (checked on TMB US) Thomas MartinandClaude Opus 5.5 2026-11-03 01:20:00 +01:00
  • 6be6dfa1e8 Native renderer: captureFrame, a picture of the screen a game shows again Thomas MartinandClaude Opus 5.5 2026-11-03 00:31:25 +01:00
  • df2dfe2137 Deterministic mode: a disc read takes a PS2 drive's time (114,400 EE cycles a sector, DVD at 4x), so the IOP keeps up through a load Thomas MartinandClaude Opus 5.5 2026-11-02 22:44:37 +01:00
  • 711b88b101 Deterministic mode: a pad port with no player reads at rest, not the host's keyboard and gamepad (its sticks read 0x7f or 0x80 with the window's focus) Thomas MartinandClaude Opus 5.5 2026-11-02 19:05:41 +01:00
  • 65fc9a9ca6 PS2X_DETERMINISTIC=1 (a field per frame, no wall clock in the EE, IOP or mixer, fixed dates, frame-keyed pad scripts, frame-clocked movies) and the reference recorder (PS2X_REFERENCE: per frame XXH64 of RAM, scratchpad, calls, draw lists, threads; the mix's FNV-1a 64) Thomas MartinandClaude Opus 5.5 2026-11-02 18:51:08 +01:00
  • 8a59849900 Native renderer: vertex colours interpolated in screen space, as the GS's Gouraud shading Thomas MartinandClaude Opus 5.5 2026-11-02 18:43:09 +01:00
  • f0163493d9 Native renderer: a frame's clear colour (setClearColour); the post mix reads the blurred copy upright Thomas MartinandClaude Opus 5.5 2026-11-02 18:30:26 +01:00
  • 8c9002fdf9 Native renderer: a texture's raw GS alpha (Texture::rawAlpha), doubled in the shader after the vertex product Thomas MartinandClaude Opus 5.5 2026-11-02 16:41:42 +01:00
  • c1101fda86 Native renderer: setGsUntexturedColour, an untextured draw at the GS's colour (0x80 = 128) Thomas MartinandClaude Opus 5.5 2026-11-02 16:31:37 +01:00
  • c5dff63c61 Native renderer: setGsAlphaWrites, a blended draw writes its own alpha (As) as the GS does Thomas MartinandClaude Opus 5.5 2026-11-02 16:19:39 +01:00
  • 17dfcac2e9 Native levels pass weighed by the frame's alpha (PostEffect::levelsByAlpha) Thomas MartinandClaude Opus 5.5 2026-11-02 16:17:35 +01:00
  • 1d78ac9f6c Native movie audio: the MPEG demuxer's audio to a port (setMpegAudioSink / setMpegPictureHook), the native mixer's movie input Thomas MartinandClaude Opus 5.5 2026-11-02 15:50:27 +01:00
  • ca2f5f5791 PS2X_AUDIO_MUTE=1: the sound mixed and recorded but not heard (test runs); MPEG trace shows the stream callbacks' data words Thomas MartinandClaude Opus 5.5 2026-11-02 15:35:24 +01:00
  • 60dabbebaf MPEG trace: the registered callbacks at a movie's first picture Thomas MartinandClaude Opus 5.5 2026-11-02 15:32:09 +01:00
  • 3eb40ffffd Native libsd: the sound data input's volume is BVOL, not AVOL Thomas Martin 2026-11-02 14:58:34 +01:00
  • 3234b56a2c Native mixer diagnostics: PS2X_NATIVE_AUDIO_INPUT_DUMP writes each played half of the sound data input Thomas MartinandClaude Opus 5.5 2026-11-02 15:14:35 +01:00
  • bf35f3fe97 Native movies: PS2X_NATIVE_STATS reports a movie's pictures per second and longest gap Thomas MartinandClaude Opus 5.5 2026-11-02 15:10:36 +01:00
  • 2fe816b96a MPEG diagnostics: PS2X_MPEG_DUMP writes every PSS byte the game demuxes to a file Thomas MartinandClaude Opus 5.5 2026-11-02 15:07:01 +01:00
  • 53e156fa86 Native libsd: the sound data input's volume is BVOL, not AVOL Thomas MartinandClaude Opus 5.5 2026-11-02 14:58:34 +01:00
  • 3463fcc3de Native mixer report: each group's input (raw peak of the streamed data, volume, mix switches) Thomas MartinandClaude Opus 5.5 2026-11-02 14:53:46 +01:00
  • 749ec4e71b [sc3/tools-wincross] fix(iop): iop_kernel.cpp includes <cstdlib> for std::getenv Arzaroth 2026-11-01 20:05:57 +01:00
  • 7f7d9ea8b1 IOP without hardware: what reaches the IOP's hardware counted ([iop:hw]), PS2X_IOP_HARDWARE=0 (no device behind its registers), and iop_recomp.py through switches and frameless leaves (nothing left interpreted) Thomas Martin 2026-11-01 15:51:26 +01:00
  • 31af869399 Native audio for a game override, the SPU2 absent under it, its reach counted; the sound recorded whichever mixes it Thomas Martin 2026-11-01 14:28:45 +01:00
  • 27d877840b MPEG diagnostics: PS2X_MPEG_TRACE (decode lead and stream bytes given to the game by type / channel), PS2X_MPEG_AHEAD (another decode lead) Thomas MartinandClaude Opus 5.5 2026-11-02 14:28:28 +01:00
  • 3e04a09976 Native movies: say once that movie pictures are shown natively Thomas MartinandClaude Opus 5.5 2026-11-02 14:20:21 +01:00
  • e499c47d8a Native renderer: movies shown from the MPEG decoder's pictures (Renderer::movieFrame) Thomas MartinandClaude Opus 5.5 2026-11-02 14:16:36 +01:00
  • e5ab09bc44 Native post effect: a depth-weighted mix (PostEffect::depthWeights, a game's depth of field table) Thomas MartinandClaude Opus 5.5 2026-11-02 13:06:38 +01:00
  • f57615f03e PS2_ALWAYS_INLINE can be defined by the build (plain inline, to compare) Thomas MartinandClaude Opus 5.5 2026-11-02 11:31:36 +01:00
  • 169146a639 VIF1 dropped: chain transfers only (a game may send GS data through VIF1 DIRECT and wait for its FINISH) Thomas MartinandClaude Opus 5.5 2026-11-02 11:21:45 +01:00
  • f819816da4 Guest memory accesses: main RAM answered first in Ps2IsSpecialAddress, the access helpers forced inline (GCC left them as calls in the large generated functions); dispatchGuestBranch looks its target up once Thomas MartinandClaude Opus 5.5 2026-11-02 11:18:55 +01:00
  • 49264dfd54 Native renderer: a frame's vertex and batch arrays recycled from the frames the present thread let go (they grew from nothing each frame); the batch key map built only when interpolating Thomas MartinandClaude Opus 5.5 2026-11-02 11:05:49 +01:00
  • 2a6b3fd331 VIF1 dropped: a port drawing natively from its game's data can have every VIF1 transfer end at once, unprocessed Thomas MartinandClaude Opus 5.5 2026-11-02 10:54:39 +01:00
  • 780aa63bc8 EeScheduler: accountCycles keeps its thread instead of a lookup on every block; processPendingEvents makes its deque only when there are events Thomas MartinandClaude Opus 5.5 2026-11-02 10:10:30 +01:00
  • 44e7156749 Native renderer: the lens flares' depth read back by tiles around the samples asked for, not the whole frame; the IOP's wall clock read every 20000 EE cycles, not on each accounted block Thomas MartinandClaude Opus 5.5 2026-11-02 09:58:16 +01:00
  • 78963ff0cc FramePacer: PS2X_FRAME_STATS=1, the time the game's frames take to make (average, 95th percentile, worst, frames over the cap's period) every 2 s Thomas MartinandClaude Opus 5.5 2026-11-02 09:37:16 +01:00
  • 0122441f17 Merge CoN-Recomp's sif offer (dual-layer DVD / CDVD layer calls / SIF IOP memory queries) Thomas MartinandClaude Opus 5.5 2026-11-02 09:25:00 +01:00
  • 409bf63301 Merge CoN-Recomp's cdvd offer (dual-layer DVD / CDVD layer calls / SIF IOP memory queries) Thomas MartinandClaude Opus 5.5 2026-11-02 09:25:00 +01:00
  • 64f2533cc0 [sc3/nogs-m3] fix(native): a port's MARK drawn when VIF1 reaches it, so the adapter and VIF1 count the same groups sc3/nogs-m3 ArzarothandClaude Opus 5.5 2026-11-02 06:14:24 +01:00
  • a3f93eac7f [sc3/nogs-m3] feat(native): a port's VIF1 MARK drawn by the stream adapter in stream order, counted as a skipped program ArzarothandClaude Opus 5.5 2026-11-02 04:51:36 +01:00
  • 3c7403c73f [con/native] Merge con/sif-iop-mem-queries: the free IOP memory queries from the runtime's IOP heap con/native ArzarothandClaude Opus 5.5 2026-11-02 04:18:20 +01:00
  • a86b3750f4 [con/sif-iop-mem-queries] test(SIF): the free IOP memory queries follow sceSifAllocIopHeap con/sif-iop-mem-queries ArzarothandClaude Opus 5.5 2026-11-02 04:18:18 +01:00
  • 4509b71c6b [con/sif-iop-mem-queries] SIF: sceSifQueryMemSize, sceSifQueryMaxFreeMemSize, sceSifQueryTotalFreeMemSize ArzarothandClaude Opus 5.5 2026-11-02 04:18:18 +01:00
  • 27ebdbc418 [sc3/nogs-m4] feat(native): a native texture's version, a new one replaces the pixels uploaded for its key sc3/nogs-m4 ArzarothandClaude Opus 5.5 2026-11-02 04:02:57 +01:00
  • fe3a179b5f [con/native] Merge con/cdvd-dual-layer: sceCdReadDvdDualInfo, sceCdLayerSearchFile, the disc image's own volumes ArzarothandClaude Opus 5.5 2026-11-02 03:34:32 +01:00
  • ddac41caff [con/native] Merge con/ps2-disc-dual-layer: the second layer of a dual-layer DVD in tools/ps2_disc.py ArzarothandClaude Opus 5.5 2026-11-02 03:34:32 +01:00
  • 05702d6090 [con/cdvd-dual-layer] test(CD): dual-layer image lookups, and the layer calls without the image file system con/cdvd-dual-layer ArzarothandClaude Opus 5.5 2026-11-02 03:34:25 +01:00
  • 7e380fa8bb [con/cdvd-dual-layer] CD: sceCdReadDvdDualInfo, sceCdLayerSearchFile, files looked up in the disc image's own volumes ArzarothandClaude Opus 5.5 2026-11-02 03:34:25 +01:00
  • 9a770aaf2d [con/ps2-disc-dual-layer] ps2_disc: tests on synthetic one- and two-layer images con/ps2-disc-dual-layer ArzarothandClaude Opus 5.5 2026-11-02 03:00:38 +01:00
  • eb1c4eb799 [con/ps2-disc-dual-layer] ps2_disc: the second layer of a dual-layer DVD ArzarothandClaude Opus 5.5 2026-11-02 03:00:38 +01:00
  • a014125a12 [sc3/nogs-m4] feat(gs): PS2X_GS_SUBMIT_DUMP, one frame's primitives as the native back end receives them ArzarothandClaude Opus 5.5 2026-11-01 22:23:10 +01:00
  • 341ad517b4 [sc3/nogs-m3] Mesh pack: LoadedImages::bindCopy, a game's copy of part of a bound image ArzarothandClaude Opus 5.5 2026-11-02 01:22:35 +01:00
  • 65a7c92513 Video tab: the frame rates above the game's marked experimental (a few effects still move at 60) Thomas MartinandClaude Opus 5.5 2026-11-02 00:49:40 +01:00
  • 06fa51e85b [sc3/nogs-m3] VIF1 command stats: bytes of the stream each command read ArzarothandClaude Opus 5.5 2026-11-02 00:47:20 +01:00
  • c7f4512d98 Native renderer: frame rates above the game's, the frames between its two latest drawn interpolated Thomas MartinandClaude Opus 5.5 2026-11-02 00:40:13 +01:00
  • 63044dd335 VU1 launches: the EE address of the VIF1 data whose MSCAL launched the program (Vu1HleRun::source, g_vu1LaunchSource; synchronous VIF1 path only), a diagnostic for ports to find the game object behind a microprogram Thomas MartinandClaude Opus 5.5 2026-11-02 00:35:53 +01:00
  • 40203f9fb0 [sc3/nogs-m4] test(recomp): the VU0 macro mapping test finds instructions.h in the source tree (PS2X_SOURCE_DIR), not relative to the working directory, so it passes from the build directory too ArzarothandClaude Opus 5.5 2026-11-02 00:33:01 +01:00
  • 5a9c80a850 [sc3/nogs-m4] test(native): SubmitNative draws sprites and lines by their two vertices, drawGsKeyed keeps whole sprites ArzarothandClaude Opus 5.5 2026-11-01 23:43:10 +01:00
  • 74701db81b [sc3/nogs-m3] Native present: PS2X_NATIVE_STATS reports presents and new frames per second (and those shown by the 100 ms fallback) Thomas MartinandClaude Opus 5.5 2026-11-01 22:44:59 +01:00
  • 9e1d3e7425 Native present stats: the longest the picture stood still in each 5 s (the hitches an average hides) Thomas MartinandClaude Opus 5.5 2026-11-01 22:53:48 +01:00
  • fdf6d338ad Native present: PS2X_NATIVE_STATS reports presents and new frames per second (and those shown by the 100 ms fallback) Thomas MartinandClaude Opus 5.5 2026-11-01 22:44:59 +01:00
  • 1527bdbb84 [sc3/nogs-m4] feat(native): a port's GS draws as sprites and lines too (gsPrimitiveVertices: two vertices a sprite or a line, one a point), drawn by the GS renderer as the GS draws them ArzarothandClaude Opus 5.5 2026-11-01 22:39:04 +01:00
  • f188ab7c13 [sc3/nogs-m3] Merge sc3/native-movies 55a2952b: native movies (SC3 main's M6) ArzarothandClaude Opus 5.5 2026-11-01 22:28:07 +01:00