Team Status Report (11/21)

This week, our team continued physical integration and expanded software compatibility. Ben connected and tested the display and other peripherals with the CPU, memory and bus system, debugging interface issues as integration progressed. Joshua made limited code progress due to midterm preparation but ordered a retro PC display to give the system a more authentic IBM PC/XT appearance.

Govind added support for launching DOS .EXE programs from the command prompt. A small test verified data relocation and command-line arguments and returned exit code 42 in both the emulator and custom CPU simulation. He also added wildcard directory listings, file-information and free-space queries, and corrected cursor positioning. All 36 software regression runs passed in the emulator. In board simulation, unchanged HELLO.COM and EXIT42.COM programs produced the expected output and exit status and returned to the prompt after startup and reset.

Next week, we will focus on stabilizing the integrated hardware and running both COM programs on the physical FPGA, including reset testing. We will also continue the larger .EXE simulation test. Standalone microSD boot remains open, and simulation results still need confirmation on the board.

Josh’s Status Report (11/21)

This week, I made limited progress on code because I was studying for the 18-740 and 18-755 midterms. However, I placed an order for a retro PC display to give our recreation an appearance closer to the original IBM PC/XT. Next week, I plan to support system integration and end-to-end testing, addressing any CPU issues that appear as the team combines the hardware and software.

Throughout the project, I needed to learn more about 8088 instruction and interrupt behavior, SystemVerilog verification, Quartus compilation and timing analysis, and USB-Blaster/JTAG programming. I learned through Intel and IBM reference manuals, tool documentation, board setup guides, and small experiments. Breaking failures into focused test programs and comparing results against recorded 8088 behavior helped me distinguish CPU bugs from integration problems. This approach let me apply new knowledge immediately and verify my understanding through observable results.

Ben’s Status Report (11/21)

This week, I focused on continuing the physical integration of the system now that the remaining hardware had arrived. I worked on connecting and testing the display and other peripheral components with the existing CPU, memory, and bus infrastructure, and helped debug issues that came up during integration. I also continued checking that the memory and peripheral interfaces behaved correctly as more of the full system was brought together.

One thing I had to learn more about during implementation and debugging was how the FPGA interfaces with the physical peripherals and how timing and signal behavior can affect integration even when the RTL works correctly in simulation. I mainly learned this by reading board documentation and datasheets, looking through existing examples and reference implementations, and testing small pieces of the system individually before combining them. This helped me understand the differences between getting a module working in simulation and getting it to work reliably on the actual hardware.

Next week, I plan to keep working through integration issues and focus on getting the complete system stable for final testing.

Govind’s Status Report (11/21)

This week I made it possible to run DOS .EXE programs from our command prompt. A small test program checked that it could find its data after loading and read the arguments I typed. It returned the expected exit code of 42 in both the emulator and a simulation of our own CPU.

I added support for commands like DIR *.TXT to list just the text files. DOS programs can also check free disk space and look up file details. I fixed the cursor so the underline follows the text as it moves. All 36 software test runs passed in the emulator, and I pushed the changes to GitHub for review.

I prepared two existing DOS programs for testing on our FPGA board. We can run both without changing their code. In a simulation of the board, HELLO.COM printed its greeting and EXIT42.COM returned 42. Both returned to the command prompt on startup and again after a reset.

My software work from last week is on schedule. Next week I plan to run both programs on the actual board with the team and check that they still work after a reset. I’ll also give the larger .EXE test more time in simulation to see if it starts. Booting from a microSD card is still open.

Josh’s Status Report (11/14)

This week I extended the custom 8088 CPU with the known missing instructions needed for DOS executable bring-up. Prince of Persia’s original unpacker now produces the exact independently checked memory image. I also published a staged bring-up plan using an interactive CGA executable as an intermediary. The CPU changes are committed locally; gameplay remains unverified.

Verification and validation

Verification passed 292,392 programs, including 260,000 hardware-reference cases, plus 606 reset cuts and 108 IRQ programs. Existing CPU/software/system regressions also passed. Results are checked against expected registers, defined flags, memory and bus transfers. The offline FPGA diagnostic fits at 22% of ALMs and passes timing; this revision has not been tested physically.

System validation will check executable loading, graphics, keyboard/timer operation, exit and relaunch. We will compare behavior and timing against a reference machine using the team’s proposed input-latency, game-speed and sustained-operation requirements.

Next week I plan to trace the game beyond its unpacker, fix any confirmed CPU gaps and support Govind and Ben’s software/peripheral integration. Most currently identified implementation work is now in their subsystems.

Team Status Report (11/14)

This week we completed our interim demonstrations and continued FPGA integration as the remaining peripheral and display components arrived. Ben focused on testing and debugging the combined hardware. Govind supplied the BIOS and embedded-disk images for automatically launching DEMO.COM, then completed deferred screen-query and timer work. Joshua extended the CPU’s instruction support and verified Prince of Persia’s original unpacking startup.

Verification and validation

CPU verification passed 292,392 programs, including 260,000 hardware-reference cases, plus reset and interrupt tests. All 23 software regression profiles passed. SDRAM cold-boot and reset simulations each read 45 sectors and confirmed successful DEMO.COM termination.

In MartyPC, screen/memory queries and simultaneous keyboard/timer operation passed. Two unchanged DOSMC examples also ran through the shell: HELLO.COM printed its greeting, and EXIT42.COM returned 42. These results establish RTL and emulator behavior; standalone microSD boot, physical keyboard input and these programs running on the FPGA remain open.

Next week, Ben will continue hardware integration, Govind will test shell-launched EXE relocation and return, and Joshua will investigate game instruction coverage beyond the unpacker. We will prepare the COM examples for board testing and validate cold/reset boot, visible output, physical input and return to the shell. End-to-end hardware integration remains the main project risk.

Ben’s Status Report (11/14)

This week, I focused on preparing for and completing our interim demo, along with continuing system integration afterward. The remaining physical components we needed arrived, which allowed us to start integrating more of the peripheral and display hardware with the existing CPU, memory, and bus system. I also helped test and debug the combined system as we moved beyond simulation toward the full FPGA setup. Next week, I plan to continue integration, fix remaining issues, and work toward a more complete end-to-end system.

Govind’s Status Report (11/14)

I spent the first part of this week preparing for and taking part in our interim demos. My contribution was the BIOS and disk images, including the build that boots and runs DEMO.COM automatically from an embedded disk image. I also reran the SDRAM cold-boot and reset tests in RTL simulation. Both runs read 45 sectors and confirmed that DEMO.COM exited successfully.

After the demos, I finished the BIOS screen and system queries and the timer diagnostic I had deferred last week. In MartyPC, I verified that a program could query the screen and available memory, and that keyboard input still worked while the timer was running. I also fixed a build error that prevented the DOS .EXE tests from running on a fresh checkout. All 23 profiles in the software regression passed, and I submitted the three changes for review.

I also ran two COM programs built from unchanged DOSMC examples through our shell in MartyPC. HELLO.COM printed its greeting, and EXIT42.COM returned exit code 42. The software work I deferred for the demo is back on schedule. Standalone boot from microSD, physical keyboard input, and running these programs on the FPGA are still open.

Next week I plan to let the shell launch a DOS .EXE and test that a small program’s segment references are relocated correctly and that it returns to the prompt. I’ll also prepare the two COM examples for a board test as keyboard and storage integration progresses.

Team Status Report (11/7)

This week we brought up the inputless interim demo on the DE10-Standard and saw its output over VGA. Josh finished the CPU instructions needed for the demo, integrated the system, and programmed the board. The Quartus build met timing at 25 MHz. Ben continued verifying the CPU’s connections to the memory controller, BIOS ROM, RAM, video RAM, and peripherals. Govind packaged the demo software and added SDRAM support and tests. Two full-system simulation runs booted the BIOS, read 45 sectors, and verified that DEMO.COM exited successfully.

We moved conventional RAM to onboard SDRAM because the full 640 KiB would exceed the FPGA’s available block RAM with our existing mapping. This preserves the PC/XT memory map and adds SDRAM initialization, refresh, and bus waits, which we exercised in simulation. For the interim demo, the FPGA configuration includes a read-only disk image and the BIOS launches DEMO.COM automatically, so the live run can proceed while physical keyboard and microSD testing is pending.

The main demo risk is repeatability on the physical setup. The board’s VGA output was cropped at the left edge. Now that we have a VGA cable, we’ll check alignment on the demo monitor and repeat the board reset and cold-power-up tests. If the display fails during the demo, we can show the passing full-system simulation as a fallback.

We are on track for the Monday, November 9 interim demo with the inputless build. After the demo we’ll continue with physical PS/2 keyboard and microSD integration.

Govind’s Status Report (11/7)

This week I prepared the software for the interim demo. I packaged the BIOS and disk images for both demo profiles and verified in the emulator that the inputless build boots and runs DEMO.COM automatically. I also spent time physically testing the existing code that we set up for the interim demo on an actual monitor.

I also pushed the changes that move our 640 KiB of conventional RAM to the board’s SDRAM. In RTL simulation, both a cold boot and a reset read 45 sectors from the embedded disk image, ran DEMO.COM, and confirmed that it exited successfully. I also checked SDRAM byte writes, refresh, and reset behavior.

My software work is done for Monday’s demo. I moved the BIOS screen-query and timer work back to prioritize the demo. Next week I’ll help repeat the boot and reset tests on the board, then implement and test the BIOS screen queries and resume the timer diagnostic.