This week I spent a significant part of my time integrating our DOS software with the FPGA system to get Prince of Persia running on the physical board. Once we had the game working on the board and monitor, we played through it for hours without any stability issues.
I also investigated why the controls felt slow. I traced the right-arrow input in MartyPC and found that the game received the key quickly. Most of the delay came from waiting for the game to check for input and draw the next frame. At the original 4.77 MHz speed, it took 147–258 ms to see the character move across five tests. I added a TURBO command for testing in MartyPC. At 14.32 MHz, with the game timer running at the same rate, the delay dropped to 69–144 ms. The controls also felt more responsive when I played.
I prepared a 50 MHz version of our FPGA design that keeps the display and game timer running at their usual rates. In simulation, both the 25 MHz and 50 MHz builds reached Level 1 and returned to the DOS prompt when I quit. A test that updated and copied graphics data took about 46 ms at 25 MHz and 27.5 ms at 50 MHz. I recorded the comparison in 2026-12-04-system-prince-fast-clock.md.
My work is on schedule for the final demo. Before the demo, I plan to check the 50 MHz design in Quartus, compare the time from keypress to visible movement at both speeds on the same monitor, and record the results for the final report.
