Documentation
¶
Index ¶
Constants ¶
View Source
const ( CoreName = "erings-core" Name = "erings" )
Variables ¶
View Source
var Version = defaultVersion
Version is the version reported to the UI. It may be overridden at link time with -ldflags "-X github.com/user-none/erings.Version=...". When it is not overridden, init resolves it from the git archive substitution.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package adapter exposes the erings Saturn core through the eblitui coreif interfaces so it can run under the eblitui desktop UI.
|
Package adapter exposes the erings Saturn core through the eblitui coreif interfaces so it can run under the eblitui desktop UI. |
|
cmd
|
|
|
desktop
command
Command saturn-ui runs the erings Saturn core under the eblitui desktop UI.
|
Command saturn-ui runs the erings Saturn core under the eblitui desktop UI. |
|
Package gamedata holds per-title data embedded into erings.
|
Package gamedata holds per-title data embedded into erings. |
|
internal
|
|
|
debugserver
Package debugserver implements the emulator debug server.
|
Package debugserver implements the emulator debug server. |
|
debugserver/responses
Package responses holds the shared data types of the debug server's JSON responses: the server serializes them as the data field of its response envelopes and the debugger client decodes them.
|
Package responses holds the shared data types of the debug server's JSON responses: the server serializes them as the data field of its response envelopes and the debugger client decodes them. |
|
hostgpu
Package hostgpu is the host side of the GPU renderer: it takes the compute packages' source, compiles it to the compute IR, and has the platform's backend lower the IR to its compute shaders and build them into pipelines.
|
Package hostgpu is the host side of the GPU renderer: it takes the compute packages' source, compiles it to the compute IR, and has the platform's backend lower the IR to its compute shaders and build them into pipelines. |
|
hostgpu/backend
Package backend opens one of the platform's backends by name and builds the compute sources on it.
|
Package backend opens one of the platform's backends by name and builds the compute sources on it. |
|
hostgpu/compile/msl
Package msl emits Metal Shading Language source from the compute IR.
|
Package msl emits Metal Shading Language source from the compute IR. |
|
hostgpu/conformance
Package conformance runs the conformance functions of core/compute/conformance: their Go execution over fixed test vectors under the entry wrapper contract is the reference, and a backend passes when its emitted entry points produce the same output and byte buffer contents bit for bit.
|
Package conformance runs the conformance functions of core/compute/conformance: their Go execution over fixed test vectors under the entry wrapper contract is the reference, and a backend passes when its emitted entry points produce the same output and byte buffer contents bit for bit. |
|
hostgpu/devicetest
Package devicetest holds the device tests every backend runs on its own opened device, written once over the hostgpu interfaces.
|
Package devicetest holds the device tests every backend runs on its own opened device, written once over the hostgpu interfaces. |
|
replay
Package replay defines the on-disk format for recorded play sessions along with a recorder that captures per-frame controller input and screenshot markers and a player that reproduces them.
|
Package replay defines the on-disk format for recorded play sessions along with a recorder that captures per-frame controller input and screenshot markers and a player that reproduces them. |
|
statedump
Package statedump explodes serialized save states into per-field binaries for offline inspection.
|
Package statedump explodes serialized save states into per-field binaries for offline inspection. |
|
utils
|
|
|
capture
command
Command capture replays a recorded session against a disc with no display, running as fast as possible, and writes framebuffer screenshots plus a capture log with per-window frame stats for regression comparison.
|
Command capture replays a recorded session against a disc with no display, running as fast as possible, and writes framebuffer screenshots plus a capture log with per-window frame stats for regression comparison. |
|
debugger
command
The debugger renders the state served by a debug server over TCP.
|
The debugger renders the state served by a debug server over TCP. |
|
debugger/client
Package client implements the debugger's connection to a debug server.
|
Package client implements the debugger's connection to a debug server. |
|
debugger/ui
Package ui holds the debugger's ebitenui styling and shared widget constructors.
|
Package ui holds the debugger's ebitenui styling and shared widget constructors. |
|
debugger/ui/logbuf
Package logbuf holds the log line store with its selection state.
|
Package logbuf holds the log line store with its selection state. |
|
dev_runner
command
|
|
|
disasm
command
|
|
|
dxil_gen
command
Command dxil_gen compiles the compute packages to signed DXIL for the DX12 backend: it lowers the renderer's compute sources and the conformance sources, emits one HLSL source per entry point into the build tree, runs the DirectX Shader Compiler on each, and writes the blobs into the dxil directory of the dx12 package, which every Windows build embeds.
|
Command dxil_gen compiles the compute packages to signed DXIL for the DX12 backend: it lowers the renderer's compute sources and the conformance sources, emits one HLSL source per entry point into the build tree, runs the DirectX Shader Compiler on each, and writes the blobs into the dxil directory of the dx12 package, which every Windows build embeds. |
|
extract_bioslibs
command
Command extract_bioslibs extracts and decompresses the compressed bodies stored inside the US Sega Saturn BIOS:
|
Command extract_bioslibs extracts and decompresses the compressed bodies stored inside the US Sega Saturn BIOS: |
|
m68kdisasm
command
Command m68kdisasm disassembles MC68000 code from a flat binary file.
|
Command m68kdisasm disassembles MC68000 code from a flat binary file. |
|
statedump
command
Command statedump explodes a save state file into a directory of per-field binaries without running the emulator: a header.txt with the decoded header and one <field>.bin per chunk field under a subdirectory named after the chunk tag.
|
Command statedump explodes a save state file into a directory of per-field binaries without running the emulator: a header.txt with the decoded header and one <field>.bin per chunk field under a subdirectory named after the chunk tag. |
Click to show internal directories.
Click to hide internal directories.




