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.

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.

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.

Team Status Report (10/31)

This week Josh connected the custom CPU to our BIOS in simulation using Ben’s memory controller and approved memory map. The CPU executes the BIOS reset jump, but currently stops at the unsupported CLI instruction. Josh added segment support, near and far jumps, byte MOV operations and execution diagnostics. Verification passed 2,826 segment/prefix programs and 10,092 MOV programs, along with the previous CPU and system regressions. Ben continued CPU/memory integration, read/write verification and peripheral-interface work. Govind updated the BIOS to support Ben’s disk-controller interface and added a controller model and disk diagnostic. Validation passed 32 emulator/model test profiles and 28 host tests, and fresh builds from all 15 software branches produced the same hardware-facing ROM. These changes are pushed to GitHub. Physical SD access and FPGA boot remain unverified.

The main risk is completing CPU instruction support and physical storage/peripheral integration in time for the interim demo. ALU/FLAGS operations, port I/O, strings and interrupts still block BIOS initialization. We will use instruction traces and small ROM/disk diagnostics to isolate failures while continuing integration. If full FPGA boot is not ready, our fallback is to demonstrate the interactive shell and COM program in the emulator and the custom CPU with the actual memory-controller RTL in simulation, clearly identifying each environment.

There were no changes to the overall requirements or architecture; the BIOS now consumes the existing controller interface. The October 26 BIOS/disk checkpoint has not been demonstrated on FPGA, and the November 2 hardware shell/COM checkpoint is at risk. Next week we will prioritize the missing BIOS instructions, memory/peripheral debugging, ROM and disk-test integration, and rehearsal for the week-of-November-9 interim demo. No revised hardware completion date has been confirmed. Optional EXE work remains deferred.

Govind’s Status Report (10/31)

This week I updated the BIOS to support Ben’s disk-controller interface. I added a selectable storage backend that handles sector reads, address translation, controller errors and timeouts, and built a separate ROM for hardware integration. I also wrote a controller model and disk diagnostic to test the actual BIOS and bootloader against this interface. These changes are pushed to GitHub.

Validation passed 32 emulator/model test profiles and 28 host tests, including successful reads, error recovery and timeout handling. I updated the dependent software branches and verified that fresh builds from all 15 branches produced the same hardware-facing ROM. This also caught a build-directory issue, which I fixed. The test record documents the results. Physical SD access and FPGA boot remain unverified. I also prepared an interim-demo plan and parts budget.

The shell and COM demonstration remain working in the emulator. My BIOS screen-query and timer work is behind last week’s plan because I prioritized the storage-interface mismatch. To catch up, I will focus on the common screen queries and timer diagnostic while preparing the ROM and disk tests for team integration. Optional EXE work remains deferred.

Next week I plan to add and test the BIOS screen queries and basic timer services, provide the hardware-facing ROM and disk diagnostic to the team, and rehearse the interactive shell/COM demonstration for the interim demo. Full hardware boot still depends on integration with the custom CPU, storage transport and peripherals.

Team Status Report (10/24)

Josh expanded CPU memory addressing and integrated Ben’s shared bus interface. His tests passed 3,120 memory programs and five subroutine demonstrations, with the addressing matrix also passing against Ben’s memory controller.

Ben implemented RAM, ROM, video memory and memory control, and verified CPU reset fetches and RAM reads/writes in RTL simulation.

Govind got keyboard input, a basic shell, COM program launches and TYPE working in the emulator; all 23 software regression profiles and 28 host tests passed.

The main risk is getting these pieces running together on the FPGA. CPU byte operations, I/O and interrupts, physical peripherals and SD-card transport still need work before BIOS boot. We will integrate small ROM and disk-read diagnostics before attempting the full boot path. If integration stalls, we will isolate the CPU, memory and storage paths with these diagnostics while continuing software tests in the emulator. EXE work remains deferred.

The overall requirements and architecture are unchanged. Using one shared bus definition brings the CPU and memory implementations into agreement; the added integration-testing effort is reduced by reusing the same CPU tests against the memory controller. FPGA bring-up is still pending, so the October 19 board checkpoint remains unverified and the October 26 BIOS/disk checkpoint is at risk. Next week we will prioritize board diagnostics, the remaining CPU support and physical storage. November 2 remains the shell/COM target, with hardware integration on the critical path; no replacement milestone dates have been set.

Govind’s Status Report (10/24)

I spent the first half of the week on the ethics assignment.

This week I got keyboard input and a basic shell working in the emulator, which were my goals from last week. I added the BIOS and DOS calls needed for programs to read typed input and print text. I can now type commands to list files and run HELLO.COM, enter a name, get a greeting, and return to the shell when the program finishes. I also added TYPE to display a file’s contents and made sure file-read errors return to the prompt. These changes are pushed to GitHub.

The full emulator regression passed all 23 profiles and 28 host tests. Focused tests passed 40 service groups, keyboard delivery through the modeled devices, repeated COM launches, exact display of a fragmented 10 KB file, and repeated disk-error recovery. An initial error test exposed lost keys when typing during BIOS disk-error polling; that limitation is documented. Commands and results are recorded in the repository’s dated test records. These results do not establish FPGA operation or compatibility with existing third-party COM programs.

My software work is on track for the interim demo shell/COM checkpoint; custom-CPU and peripheral integration remain dependencies for the hardware demonstration. Next week I plan to add common BIOS screen queries and timer services with guest diagnostics, and prepare small BIOS/disk tests for integration with the team’s CPU and peripherals. I am keeping optional EXE work deferred.

Team Status Report (10/10)

Josh added CPU memory accesses, stack operations, and CALL/RET. His tests covered memory delays, reset recovery, and original-8088 stack-pointer behavior, and caught all 16 deliberately introduced faults. Ben refined the design report’s memory/peripheral organization, interfaces, and testing plan. Govind extended EXE loading across the program arena and passed the expanded emulator regression.

Our main risk is CPU/firmware integration: remaining decoder, ALU, and interrupt work could delay BIOS execution. We will start with small diagnostic ROMs, then integrate BIOS services, while software development continues in the emulator. Ben reports his work is on schedule and will resume memory RTL integration next week. The next planned checkpoints are the October 19 FPGA diagnostic and October 26 BIOS/disk test; board-level verification remains pending. This week’s report revisions clarified interfaces without changing the overall architecture.

A was written by Ben Schlossman, B was written by Joshua Smith, and C was written by Govind Malasani.

Part A: Global factors
Our system is intended to help students and hobbyists beyond CMU study and modify a complete computer. Documented interfaces and emulator tests let others explore the design before obtaining an FPGA board. Hardware and tool access remain barriers, so our build instructions should state dependencies and avoid assuming access to a university lab. These access concerns are also identified in UNESCO’s educational-resource guidance.

Part B: Cultural factors
Our project serves the retrocomputing community’s interest in preserving older software and machine behavior. We check original-8088 behavior and document compatibility limits so users can assess which programs may work. We also write our own BIOS/DOS implementation and exclude copyrighted ROMs and game binaries from the repository. This approach reflects UNESCO’s digital-heritage principles, which recognize software’s cultural value alongside creators’ rights.

Part C: Environmental factors
The EPA identifies electronics reuse and recycling as ways to conserve resources and avoid air and water pollution. We plan to keep the FPGA board and peripherals reusable after the project and use existing compatible peripherals where possible. Emulator-based development lets us test software without additional hardware prototypes. System power consumption and lifecycle impacts remain unmeasured.