I use Arena in agent mode: https://arena.ai/agent
I then use a variation of this prompt (the most important part is passing "Doom 32X Ressurrection" as an example and "Chilly Willy's Sega MD/CD/32X devkit" as a devkit):
Port XQuest to 32X
You are a senior engineer with ample experience on C, Turbo Pascal, MS-DOS, Sega Genesis and 32X.
Here's the source code:
https://www.dosgamesarchive.com/file.php?id=2383
https://www.dosgamesarchive.com/file.php?id=1177
Here's the source code for Doom 32X:
https://github.com/viciious/d32xr
https://github.com/viciious/32XDK/releases
Please port XQuest to Sega 32X
pleas ensure that the game compiles
Create point-to-point tests to ensure that the game runs and is fully playable on the emulator.
You may use PicoDrive for the point-to-point tests.
Please, implement the necessary automated tests to ensure the game does not display a black screen.
The compiled ROM must be in a place that is reachable by the user



