mirror of
https://github.com/xemu-project/nxdk_pgraph_tests.git
synced 2024-11-23 10:09:40 +00:00
996 B
996 B
nxdk_pgraph_tests
Various tests for nv2a rendering.
Based on code from https://github.com/Ernegien/nxdk/tree/test/texture-formats/samples/texture-formats
Running with CLion
Create a build target
- Create a new
Embedded GDB Server
target - Set the Target to
all
- Set the Executable to
main.exe
- Set
Download executable
toNone
- Set
'target remote' args
to127.0.0.1:1234
- Set
GDB Server
to the path to the xemu binary - Set
GDB Server args
to-s -S
(the-S
is optional and will cause xemu to wait for the debugger to connnect)
To capture DbgPrint, additionally append -device lpc47m157 -serial tcp:127.0.0.1:9091
to GDB Server args
and use
something like pykdclient.
Deploying with xbdm_gdb_bridge
The Makefile
contains a deploy
target that will copy the finished binary to an XBOX running XBDM. This functionality
requires the xbdm_gdb_bridge utility.