Repository navigation
Releases
v0.0.29
repsp v0.0.29
앱이 게임이 읽는 버튼을 바꿀 수 있는 sceCtrl 버튼 필터.
| issue | 내용 | 커밋 |
|---|---|---|
| #63 | repsp::hle::ctrl::SetButtonFilter()(기본 없음)는 sceCtrl 읽기가 게임에 돌려줄 버튼을 넘겨받고, 돌려준 버튼을 게임에 준다. 게스트 스레드에서 HLE 호출 안에서 부르므로, 앱이 게스트 메모리를 읽고 판단해도 된다. 입력 녹화는 필터 전 값을 적는다. ctrl_probe가 검사한다. 쓰임: 앱의 자동 플레이. |
이 릴리스의 squash merge 커밋 |
검증: Win64(Visual Studio·Ninja) Debug/Release, Linux x64 Debug/Release 빌드와 CTest.
repsp v0.0.29
A sceCtrl button filter, so an app can change the buttons a game reads.
Issue #63:
repsp::hle::ctrl::SetButtonFilter()(default none) receives the buttons a sceCtrl read is about to return, and the game gets the buttons it returns.- It runs on the guest thread inside the HLE call, so an app may read guest memory to decide.
- Input recording logs the value before the filter.
ctrl_probechecks it.- Use: an app's autoplay.
Verified: build and CTest pass on Win64 (Visual Studio and Ninja) Debug/Release and Linux x64 Debug/Release.
v0.0.28
repsp v0.0.28
게임패드 단축키를 reCT3(rexbox)와 같게.
| issue | 내용 | 커밋 |
|---|---|---|
| #61 | 메뉴 조합을 LB+RB+Y에서 LT+RT+Y로 바꿨다(트리거는 절반을 넘으면 눌림). 종료 조합 LT+RT+L3+R3 1초를 넣었다. 한 번 누르는 동안 한 번만 요청하고, 창 닫기와 같은 경로로 앱이 끝난다. LT+RT가 눌린 동안에는 Y, L3, R3가 게임 입력으로 가지 않는다. 판정은 순수 상태 함수 UpdateGamepadShortcuts이고, platform_probe가 SDL 없이 검사한다. 종료 조합은 소프트웨어 렌더러에서도 동작한다. |
이 릴리스의 squash merge 커밋 |
검증: Win64(Visual Studio·Ninja) Debug/Release, Linux x64 Debug/Release 빌드와 CTest.
repsp v0.0.28
Gamepad shortcuts the same as reCT3 (rexbox).
Issue #61:
- Menu: the combo moves from LB+RB+Y to LT+RT+Y. A trigger counts once past half way.
- Quit: a new combo, LT+RT+L3+R3 held 1 s, requests a quit once per hold. The app ends the way closing the window ends it.
- While LT+RT are down, Y, L3 and R3 do not reach game input.
- The logic is a pure state function,
UpdateGamepadShortcuts, whichplatform_probechecks without SDL. - The quit combo also works with the software renderer.
Verified: build and CTest pass on Win64 (Visual Studio and Ninja) Debug/Release and Linux x64 Debug/Release.
v0.0.27
repsp v0.0.27
텍스처 필터링이 게임 설정을 따르고, 하드웨어 샘플링·밉맵·이방성을 쓴다.
| issue | 내용 | 커밋 |
|---|---|---|
| #59 | 세 가지 결함을 고쳤다. GE가 TFLT(0xC6)를 읽지 않았고, "Original" 옵션은 늘 최근접이었으며, GL 셰이더가 texelFetch로 텍셀 하나를 읽어 어떤 필터 설정도 효과가 없었다(Linear와 이방성 옵션 포함). 그래서 게임이 선형 확대를 요청한 텍스처(예: TFLT 0x000105)가 픽셀 블록으로 보였다. GE 상태: TFLT, TMODE 최대 레벨, 레벨 1~7의 TBP/TBW/TSIZE, TEXLEVEL(모드와 bias)을 읽는다. GL: texture()와 샘플러 객체로 읽는다. Original은 TFLT를 따르고, Linear는 항상 선형이며, 이방성은 GL_TEXTURE_MAX_ANISOTROPY를 쓴다. 게임이 준 밉맵 레벨을 올리고, 게임이 레벨을 주지 않을 때는 이방성에서만 밉맵을 만든다. render-to-texture는 셰이더 bilinear로 읽는다. 소프트웨어 렌더러: TFLT가 선형이면 bilinear(레벨 0만). ge_probe와 gl_probe가 상태, 필터, 레벨, 감싸기, render-to-texture를 검사한다. |
이 릴리스의 squash merge 커밋 |
근사: TEXLEVEL 기울기 모드는 자동+bias로 근사한다. 쓰이지 않는 TFLT 값(2, 3)은 bit 0으로 처리한다.
측정(한 게임, 같은 입력 스크립트 3회): 미발견 주소 dispatch 0, 표시 간격 18.9 ms(이전과 같음), 텍스처 업로드 80회. 사용자가 창 모드에서 확인했다.
검증: Win64(Visual Studio·Ninja) Debug/Release, Linux x64 Debug/Release 빌드와 CTest.
repsp v0.0.27
Texture filtering follows the game, with hardware sampling, mipmaps and anisotropy.
Issue #59:
-
Defects: three were fixed.
- The GE did not decode TFLT (
0xC6). - The "Original" option was always nearest.
- The GL shader read one texel with
texelFetch, so no filter setting had any effect, the Linear and anisotropic options included.
As a result, textures the game asks to magnify linearly (for example TFLT
0x000105) showed their pixel blocks. - The GE did not decode TFLT (
-
GE state: TFLT, TMODE's maximum level, TBP/TBW/TSIZE for levels 1-7, and TEXLEVEL (mode and bias) are decoded.
-
GL:
- Reads go through
texture()and sampler objects. - Original follows TFLT, Linear is always linear, and the anisotropic options use
GL_TEXTURE_MAX_ANISOTROPY. - Game-supplied mip levels are uploaded. When the game supplies none, mipmaps are generated only for anisotropic filtering.
- Render-to-texture is read bilinearly in the shader.
- Reads go through
-
Software renderer: bilinear when TFLT asks for linear (level 0 only).
-
ge_probeandgl_probecheck state, filters, levels, wrapping and render-to-texture.
Approximations:
- TEXLEVEL's slope mode is treated as automatic plus bias.
- Unused TFLT values (2, 3) fall back to bit 0.
Measured (one title, same input script, three runs):
- No unresolved-address dispatches.
- Present interval 18.9 ms, as before.
- 80 texture uploads.
Confirmed by the user in windowed mode.
Verified: build and CTest pass on Win64 (Visual Studio and Ninja) Debug/Release and Linux x64 Debug/Release.
v0.0.26
repsp v0.0.26
sceKernelDelayThread의 최소 대기 시간.
| issue | 내용 | 커밋 |
|---|---|---|
| #57 | 실기에서는 아주 짧은 대기도 스레드 전환과 커널 타이머 때문에 요청보다 훨씬 오래 걸린다. 게스트의 폴링 루프는 이를 전제로 짜여 있다. 예를 들어 DelayThread(10 µs)를 1000번 부르며 다른 스레드를 기다리는 루프가 repsp에서는 29 ms만에 끝나 일찍 포기했다. 한 게임에서는 100 ms마다 확인하는 음악 스레드를 기다리는 루프라서, 채보가 음악보다 60~70 ms 먼저 시작했다. 이제 sceKernelDelayThread와 sceKernelDelayThreadCB는 적어도 200 µs를 기다린다. kernel_sched_probe가 등록된 대기 시간을 마감 시각으로 검사한다. 실기의 정확한 최소값은 미확인이며, 200 µs는 사용자 청취로 정했다. |
이 릴리스의 squash merge 커밋 |
측정(한 게임, 같은 입력 스크립트): 채보 시작과 음악 첫 블록이 0.3 ms 안에 맞았다(이전 59 ms 차이). 표시 간격과 음악 끊김은 그대로다. 사용자가 확인했다.
검증: Win64(Visual Studio·Ninja) Debug/Release, Linux x64 Debug/Release 빌드와 CTest.
repsp v0.0.26
A minimum duration for sceKernelDelayThread.
Issue #57:
- Why: on the PSP even a very short delay takes far longer than it asks for (thread switch and kernel timer), and guest polling loops rely on that.
- Example: a loop of 1000 ×
DelayThread(10 µs)waiting for another thread lasted 29 ms here and gave up early. In one title it waits for a music thread that checks every 100 ms, so the chart started 60-70 ms before the music. - Change:
sceKernelDelayThreadandsceKernelDelayThreadCBnow wait at least 200 µs. kernel_sched_probechecks the registered wait by its deadline.- The hardware's exact minimum is unconfirmed; 200 µs was chosen by the user's listening.
Measured (one title, same input script):
- Chart start and the first music block are within 0.3 ms of each other (59 ms before).
- Present interval and music underruns are unchanged.
Confirmed by the user.
Verified: build and CTest pass on Win64 (Visual Studio and Ninja) Debug/Release and Linux x64 Debug/Release.
v0.0.25
repsp v0.0.25
음악이 게임 시계보다 늦게 들리던 원인 네 가지.
| issue | 내용 | 커밋 |
|---|---|---|
| #52 | blocking 출력(sceAudioOutput*Blocking)이 채널 대기열이 한 블록 이하일 때 돌아가서, 1024 샘플 음악 채널에 늘 1.7블록(40.7 ms)이 쌓였다. 이제 min(128 프레임, sample_count) 이하에서 돌아간다. drain은 그대로 빌 때까지 기다린다. 측정(한 게임): 음악 대기열 1793 → 769 프레임, 곡 중간 끊김 0. |
이 릴리스의 squash merge 커밋 |
| #53 | fact 청크의 인코더 지연을 건너뛰지 않아, 모든 트랙이 그만큼 늦게 시작했다(한 게임에서 35~43 ms). 곡 끝의 지연 샘플이 잘렸고, 루프는 프레임 경계에서 다시 시작했다. 이제 위치는 지연을 포함한 원시 샘플이다. 출력은 지연에서 시작해 endSample + delay에서 끝난다. 루프는 loopEnd + 1에서 loopStart로 같은 블록 안에서 이어진다. 블록 크기(samples_per_frame)는 이월 버퍼로 유지한다. Reset 계열과 GetSoundSample의 루프 지점은 들리는 샘플 기준이다(실기 미확인). ATRAC_TRACE Open 줄의 인자 밀림도 고쳤다. |
이 릴리스의 squash merge 커밋 |
| #54 | UI 스레드가 flush 내내 g_gl.mutex를 잡는다. 그동안 그 잠금을 기다리는 게스트 스레드(GE 그리기, 표시 확인)가 게스트 CPU를 쥐고 있어서, 타이머가 끝난 높은 우선순위 스레드가 돌지 못했다. 한 게임에서는 음악 시작 직전에 117 ms를 기다렸다. 이제 LockGl()이 잡힌 잠금을 ScopedHostWait 안에서 기다린 뒤 다시 시도한다. gl_probe가 넘겨줌을 검사한다. |
이 릴리스의 squash merge 커밋 |
| #55 | repsp::hle::atrac::SetStartOffsetMs(int32_t)(기본 0): 새로 여는 트랙을 양수만큼 앞당기거나(끝을 넘지 않음), 음수만큼 앞에 무음을 넣는다. 블록 크기는 유지되고, 루프와 Reset에는 적용되지 않는다. 앱이 호스트 출력 지연을 게임 시계에 맞춰 보정하는 데 쓴다. |
이 릴리스의 squash merge 커밋 |
사용자가 창 모드에서 확인했다(앱 쪽 선점 수정과 음악 오프셋을 함께 써서).
검증: Win64(Visual Studio·Ninja) Debug/Release, Linux x64 Debug/Release 빌드와 CTest. audio_probe는 Release와 Debug에서 각각 100회 연속 통과했다.
repsp v0.0.25
Four causes of music heard later than the game clock.
- Issue #52, blocking output:
- A blocking output (
sceAudioOutput*Blocking) returned once the channel queue held at most one block, so a 1024-sample music channel always held 1.7 blocks (40.7 ms). - It now returns at
min(128 frames, sample_count). A drain still waits for empty. - Measured on one title: music queue 1793 → 769 frames, no mid-song underruns.
- A blocking output (
- Issue #53, ATRAC encoder delay:
- The
factchunk's encoder delay was never skipped, so every track started that late (35-43 ms in one title). A track's last delay samples were cut, and loops restarted at a frame boundary. - Positions are now raw samples that include the delay. Output starts at the delay and ends at
endSample + delay. Loops go fromloopEnd + 1toloopStartwithin the same block. - The block size (
samples_per_frame) is kept with a carry buffer. - The reset functions and
GetSoundSample's loop points use audible samples (unconfirmed on hardware). - The
ATRAC_TRACEopen line no longer has its arguments shifted.
- The
- Issue #54, GL lock:
- The UI thread holds
g_gl.mutexfor a whole flush. A guest thread waiting for it (GE draws, the present check) held the guest CPU meanwhile, so a higher-priority thread whose timer expired could not run. One title waited 117 ms right before its music started. LockGl()now waits for a held lock inside aScopedHostWaitand retries.gl_probechecks the handover.
- The UI thread holds
- Issue #55, start offset:
repsp::hle::atrac::SetStartOffsetMs(int32_t)(default 0) starts newly opened tracks that much later in their content (positive, capped at the end) or after that much leading silence (negative).- The block size is kept, and loops and resets are not affected.
- Apps use it to compensate host output latency against a game clock.
Confirmed by the user in windowed mode, together with the app's preemption fix and music offset.
Verified: build and CTest pass on Win64 (Visual Studio and Ninja) Debug/Release and Linux x64 Debug/Release. audio_probe passed 100 consecutive runs each in Release and Debug.
v0.0.24
repsp v0.0.24
표시 단계의 화면 셰이더(libretro GLSL).
| issue | 내용 | 커밋 |
|---|---|---|
| #50 | re2DJ v0.0.75의 화면 셰이더를 가져왔다. 표시 단계에서만: GL 헬퍼 DrawTexture의 마지막 quad를 셰이더로 그리고, 게스트가 읽을 수 있는 것은 바뀌지 않는다. none이면 GL 호출이 이전과 같다. 형식: libretro 단일 pass .glsl과 다단계 .glslp의 부분집합, #pragma parameter. repsp는 GL 3.3 core 문맥이라 GLSL 1.20 소스를 조립 단계에서 바꾼다(#version 교체, attribute/varying/texture2D 매크로, gl_FragColor 토큰 치환). 크기: TextureSize/InputSize는 입력 텍스처의 실제 픽셀 크기, 새 LogicalSize는 게임의 논리 해상도다. 내장: crt, scanline(이 둘은 LogicalSize 기준), fsr, scalefx, anime4k. 제어: include/repsp/platform/post_shader.h(목록, Select, Reload, 매개변수, SetPostShaderDirectory, SetInitialPostShader, ChoosePostShader). 실패하면 none으로 그리고 이유를 남긴다. 위아래가 뒤집힌 CPU 화면은 다단계 셰이더 앞에서 바로 세운 사본으로 만들어, OrigTexture·PassPrevN을 읽는 pass도 방향이 맞다. gl_probe와 post_shader_probe가 검사한다. |
이 릴리스의 squash merge 커밋 |
라이선스: re2DJ(BSD 3-Clause), FSR 1.0·ScaleFX·Anime4K(MIT). THIRD_PARTY_NOTICES.md에 적었다.
측정(한 게임): 셰이더 none에서 플레이 화면까지 입력 스크립트 3회, 표시 간격 평균 20.30~20.47 ms, 미발견 주소 dispatch 0건. 3배 창에서 내장 다섯 개 모두 끝까지 진행했다. 사용자가 창 모드에서 확인했다.
검증: Win64(Visual Studio) Release, Win64 Ninja Debug/Release, Linux x64 Debug/Release 빌드와 CTest.
repsp v0.0.24
Screen shaders (libretro GLSL) at presentation.
Issue #50 brings over re2DJ v0.0.75's screen shaders.
- At presentation only: the GL helper's
DrawTexturedraws its last quad through the shader. Nothing the guest can read changes, andnoneissues the same GL calls as before. - Format: a subset of libretro single-pass
.glsland multi-pass.glslp, with#pragma parameter. repsp's context is GL 3.3 core, so GLSL 1.20 sources are translated at assembly: the#versionis replaced,attribute,varyingandtexture2Dbecome macros, andgl_FragColoris replaced token by token. - Sizes:
TextureSizeandInputSizeare the input texture's actual pixel size. The newLogicalSizeis the game's logical resolution. - Built-ins:
crtandscanline(both counting byLogicalSize),fsr,scalefxandanime4k. - Control:
include/repsp/platform/post_shader.hgives the list,Select,Reload, parameters,SetPostShaderDirectory,SetInitialPostShaderandChoosePostShader. A failure draws withnoneand records the reason. - Orientation: a top-down CPU picture is drawn upright before a multi-pass chain, so passes reading
OrigTextureorPassPrevNsee it the right way up. gl_probeandpost_shader_probecover this.
Licenses: re2DJ (BSD 3-Clause); FSR 1.0, ScaleFX and Anime4K (MIT). See THIRD_PARTY_NOTICES.md.
Measured (one title):
- With
none, input script to gameplay, three runs: mean present interval 20.30-20.47 ms, no unresolved-address dispatches. - All five built-ins run through at a 3x window.
Confirmed by the user in windowed mode.
Verified: build and CTest pass on Win64 (Visual Studio) Release, Win64 Ninja Debug/Release and Linux x64 Debug/Release.
v0.0.23
repsp v0.0.23
Dear ImGui 오버레이, FPS가 붙는 창 제목, 창 단축키, 표시·GL 옵션.
| issue | 내용 | 커밋 |
|---|---|---|
| #48 | rexbox의 플랫폼 기능을 가져왔다. 오버레이: Dear ImGui v1.93.0(MIT, submodule third_party/imgui)을 imgui 정적 라이브러리로 만들고, include/repsp/platform/overlay.h로 앱이 빌더를 등록한다. OpenGL 렌더러에서만 만든다. Tab과 게임패드 LB+RB+Y로 열고 닫으며, 열려 있는 동안 게임은 아무것도 누르지 않은 입력을 본다. UI 배율은 창 크기를 따르되 1.0 밑으로 내리지 않는다. 창 제목: <앱 제목> - OpenGL <major>.<minor> - FPS : <n.n>(소프트웨어 렌더러는 Software). FPS는 약 1초 동안의 실제 표시 횟수이고, 제목은 창 스레드에서만 바꾼다. 단축키: Alt+1gl_probe가 MSAA resolve 픽셀을 검사한다. |
이 릴리스의 squash merge 커밋 |
측정(한 게임, 플레이 화면까지 입력 스크립트 3회): 표시 간격 평균 20.12~20.15 ms, 미발견 주소 dispatch 0건, 크래시 0건. MSAA 4x와 렌더링 배율 2x에서도 끝까지 진행했다. 사용자가 창 모드에서 메뉴, 옵션, 단축키를 확인했다.
검증: Win64(Visual Studio) Debug/Release, Linux x64 Debug/Release 빌드와 CTest.
repsp v0.0.23
A Dear ImGui overlay, a window title with FPS, window shortcuts, and display and GL options.
Issue #48 brings over rexbox's platform features.
- Overlay:
- Dear ImGui v1.93.0 (MIT, submodule
third_party/imgui) builds as theimguistatic library. Apps register a builder throughinclude/repsp/platform/overlay.h. - It is created with the OpenGL renderer only.
- Tab and the gamepad's LB+RB+Y open and close it. While it is open, the game sees no buttons pressed.
- The UI scale follows the window size, but never drops below 1.0.
- Dear ImGui v1.93.0 (MIT, submodule
- Window title:
<app title> - OpenGL <major>.<minor> - FPS : <n.n>(Softwarefor the software renderer). FPS counts actual presents over about one second. The title is changed on the window's thread only. - Shortcuts:
- Alt+1..6: the window at 1x..6x of 480x272.
- Alt+Enter and a left double click: toggle borderless fullscreen.
- Ctrl+1..8: rendering scale.
- Alt and Ctrl combinations never reach game input.
- Display options: window scale, fullscreen, VSync, aspect ratio (keep, stretch, integer) and output filter (nearest, linear).
- GL options:
- Rendering scale.
- MSAA: off, 2x, 4x or 8x, lowered to what is supported. Render-to-texture reads after a resolve.
- Texture filtering: as the game sets it, linear, or anisotropic 2x..16x.
- Stats sources: presented FPS, process memory, and GPU memory. When the driver does not report GPU memory, the sum of this HLE's resources is shown.
gl_probechecks the MSAA resolve pixels.
Measured (one title, input script to gameplay, three runs):
- Mean present interval 20.12-20.15 ms.
- No unresolved-address dispatches, no crashes.
- It also runs through with MSAA 4x at rendering scale 2x.
Confirmed by the user in windowed mode: menu, options and shortcuts.
Verified: build and CTest pass on Win64 (Visual Studio) Debug/Release and Linux x64 Debug/Release.
v0.0.22
repsp v0.0.22
GE 멈춤 지점 비교를 물리 주소로 하고, GL 텍스처 해시 비용을 줄였다.
| issue | 내용 | 커밋 |
|---|---|---|
| #45 | 게임이 명령 목록과 멈춤 지점을 비캐시 주소(0x4…)로 넘기면, 목록 안의 점프는 버스 주소(0x08…)로 이동한다. 그래서 list == stall 비교가 맞지 않았고, GE가 멈춤 지점을 지나 이전 프레임의 남은 명령까지 실행했다(한 게임의 화면 전환에서 노이즈 한 프레임). 이제 목록 위치, 멈춤 지점, 점프·호출 대상을 29비트 물리 주소로 접어 비교한다. ge_probe가 이 경우를 검사한다. |
이 릴리스의 squash merge 커밋 |
| #46 | v0.0.21부터 사용자 RAM 텍스처를 해시하는데, 그리기마다 텍스처 전체를 바이트 단위로 훑어 게스트 스레드가 굶었다(한 게임의 음악 스트리밍 끊김). 해시를 8바이트 단위로 바꿨다. 또 현재 epoch에 해시한 텍스처는 다시 해시하지 않는다. epoch는 flush 때와, 게스트 코드가 돌았을 수 있을 때마다 넘어간다. 후자는 새 RenderBackend::guest_memory_may_have_changed이며, GE 해석기가 CPU가 돈 뒤 목록을 다시 시작할 때와 양보한 뒤에 부른다. gl_probe가 해시한 바이트 수를 검사한다. |
이 릴리스의 squash merge 커밋 |
측정(한 게임, 창 모드): 전환 노이즈 프레임이 없어졌다. 곡 선택 화면의 음악 채널 언더런은 1,981에서 68이 됐고, 표시 간격은 27.4 ms에서 19.8 ms가 됐다. 사용자가 확인했다.
검증: Win64(Visual Studio) Debug/Release, Linux x64 Debug/Release 빌드와 CTest.
repsp v0.0.22
GE stall comparison on physical addresses, and cheaper GL texture hashing.
Issue #45: when a game passes uncached addresses (0x4…) for the list and stall, jumps inside the list go to bus addresses (0x08…). list == stall then never matched, and the GE ran past the stall into stale commands from an earlier frame (one noise frame at a title's screen transition). List pointers, stall addresses and jump/call targets are now folded to the 29-bit physical address before comparing. ge_probe covers this case.
Issue #46: since v0.0.21, user-RAM textures are hashed, but byte by byte over the whole texture on every draw. This starved guest threads (a title's music streaming stuttered). Changes:
- The hash now reads 8-byte words.
- A texture already hashed in the current epoch is not hashed again.
- The epoch advances at every flush, and whenever guest code may have run. The latter is signalled by the new
RenderBackend::guest_memory_may_have_changed, which the GE interpreter calls when a list restarts after the CPU ran and after each yield. gl_probechecks the number of bytes hashed.
Measured (one title, windowed):
- The transition noise frame is gone.
- Song-select music channel underruns went from 1,981 to 68.
- The presentation interval went from 27.4 ms to 19.8 ms.
Confirmed by the user.
Verified: build and CTest pass on Win64 (Visual Studio) Debug/Release and Linux x64 Debug/Release.
v0.0.21
repsp v0.0.21
GL 텍스처 캐시: 사용자 RAM의 텍스처 내용 해시.
| issue | 내용 | 커밋 |
|---|---|---|
| #43 | gl_backend.cpp의 HashGuestRange는 VRAM 시작 주소 이상이면 VRAM으로 보고, 상한 검사가 없어 사용자 RAM(0x08000000 이상) 주소에 대해 늘 0을 돌려줬다. 그래서 사용자 RAM에 있는 CLUT 아닌 텍스처는 내용 해시 0으로 캐시됐다. 같은 주소·크기·형식에 새 내용이 들어와도 옛 텍스처를 계속 썼다(한 게임에서 다음 화면에 이전 화면의 이미지가 나옴). 이제 GuestMemory::IsValidAddress로 범위를 확인하고 변환한 바이트를 해시한다. gl_probe가 사용자 RAM 텍스처를 덮어쓰고 다시 그리는 경우를 검사한다. |
이 릴리스의 squash merge 커밋 |
검증: Win64(Visual Studio) Release, Linux x64 Debug/Release 빌드와 CTest 22/22. 표시 간격은 이전과 같은 범위다.
repsp v0.0.21
GL texture cache: content hashes for textures in user RAM.
Issue #43: HashGuestRange in gl_backend.cpp treated any address at or above the VRAM base as VRAM. With no upper bound, it always returned 0 for user RAM addresses (0x08000000 and up). Non-CLUT textures there were therefore cached with content hash 0, and new contents at the same address, size and format kept the old texture (one title showed the previous screen's image on the next screen).
It now checks the range with GuestMemory::IsValidAddress and hashes the translated bytes. gl_probe covers overwriting a user-RAM texture and redrawing it.
Verified: Win64 (Visual Studio) Release, and Linux x64 Debug/Release, build and CTest 22/22. Presentation intervals are in the same range as before.
v0.0.1
repsp v0.0.1
첫 릴리스. PSP 타이틀 재컴파일 프로젝트들이 공유하는 런타임의 골격이다.
| issue | 내용 | 커밋 |
|---|---|---|
| #1 | 런타임 부트스트랩: 규칙, 레이어와 CMake 골격, SDL3 submodule(release-3.4.x, ee239da), 플랫폼 계층(주소 공간, 보호 호출, 호스트 스레드, 경로, SDL3 계약), PARAM.SFO 파서, 512 MiB 창의 GuestMemory(PSP 미러 접기), NID 레지스트리와 SHA-1, lifter 중립 재컴파일 코드 계약(guest_cpu.h), probe 5개, Win64·Linux x64 CI(Linux apt는 Kakao 미러, SDL3 X11·Wayland 개발 패키지, job 30분 제한) |
작업 브랜치 i001-runtime-bootstrap의 dd96f43…1f0ecad, 이 릴리스의 squash merge 커밋 |
검증: Win64 Debug/Release(Visual Studio 17 2022, x64), Linux x64 Debug/Release(WSL Ubuntu 24.04, GCC 13)에서 빌드와 CTest 5/5. GitHub Actions(PR #2)에서 같은 네 구성이 통과.
repsp v0.0.1
The first release: the skeleton of the runtime shared by PSP title recompilation projects.
Issue #1, runtime bootstrap: rules, the layer and CMake skeleton, the SDL3 submodule (release-3.4.x, ee239da), the platform layer (address space, guarded calls, host threads, paths, SDL3 contracts), the PARAM.SFO parser, GuestMemory with a 512 MiB window (PSP mirror folding), the NID registry with SHA-1, the lifter-neutral recompiled-code contract (guest_cpu.h), five probes, and Win64 and Linux x64 CI (Linux apt through the Kakao mirror, SDL3 X11 and Wayland development packages, a 30-minute job limit). Commits dd96f43…1f0ecad on task branch i001-runtime-bootstrap, squashed into this release's merge commit.
Verified: build and CTest 5/5 on Win64 Debug/Release (Visual Studio 17 2022, x64) and Linux x64 Debug/Release (WSL Ubuntu 24.04, GCC 13), and the same four configurations pass in GitHub Actions (PR #2).