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.

Josh’s Status Report (10/31)

This week, I connected the CPU to the team’s actual BIOS in simulation using Ben’s memory controller and approved memory map. The CPU starts at FFFF:0000 and executes the BIOS reset jump to F000:E000. I added instruction and bus traces, unsupported-instruction diagnostics, timeout detection and VRAM-write logging so failures identify where execution stopped and what the CPU was doing.

I expanded segment support with ES, segment-register transfers, segment PUSH/POP and segment overrides. I also implemented near and far jumps, making sure far jumps update CS and IP together and discard stale prefetched instructions. The decoder now keeps prefixes, displacements, immediates and far-pointer fields separate, preserving them through stalls and clearing them correctly after redirects and reset.

I added byte MOV instructions, byte and word immediate-to-register/memory forms, and accumulator direct-memory transfers. Byte operations preserve the unaffected register byte and use one bus transaction; words use two. The CPU retains operand width, address and data throughout memory waits, and MOV leaves the arithmetic flags unchanged.

Verification passed 2,826 segment/prefix programs and 10,092 MOV programs, alongside 9,214 MOV decoder checks and 21 reset-interruption cases. An assembled diagnostic checked segment initialization and RAM/VRAM accesses across three configurations. Tests covered register aliases, segment overrides, odd addresses, address wrapping and memory stalls. All previous CPU test targets and Ben’s system regressions also passed.

I updated the design, compatibility, toolchain and test documentation, checked the implementation against Ben’s and Govind’s contracts, and recorded unresolved assumptions. The real BIOS currently stops at the unsupported CLI instruction. Remaining work includes ALU and FLAGS support, port I/O, strings and interrupts before the CPU can complete BIOS initialization and boot HELLO.COM.

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.

Josh’s Status Report 10/24

This week, I expanded the CPU from BX-only memory addressing to all eight 16-bit ModR/M address combinations, plus direct disp16 addresses. Programs can now use forms such as [BX+SI], [BP+DI+disp], and [SI] for word MOV loads and stores.

I added separate base and index selectors and enables to the decoded instruction record. The decoder now handles each form’s displacement, instruction length, and default segment: BP-based addresses use SS, while the other forms use DS. I extended operand collection so the CPU can retain the base, index, and store data using its existing two register-file read ports. Indexed stores use an additional read step before address generation.

I also integrated Ben’s approved memory and bus interfaces. Both sides now compile against one shared bus-command package, and the integration tests use the current CPU source directly. The tests respect his memory map, including separate RAM, VRAM, ROM, and unmapped regions, along with completion timing and reset cancellation.

The new repeatable make addressing test passed 3,120 memory programs and five subroutine demonstrations, checking 6,400 data-byte transactions. It covers every addressing form and data register, positive and negative displacements, odd addresses, both address wraps, memory waits, and decoder stalls. The same matrix also passed against Ben’s actual memory-controller RTL.

The new subroutine demonstration reads stack parameters through BP, accesses an array through indexed DS addressing, and returns using RET 4. It updates the selected array element and restores BP, BX, SI, and the original stack pointer. All twelve existing CPU regression targets and Ben’s Icarus system suite also passed.

I updated the coverage documentation, diagram guide, and test evidence. Next are byte operands, the remaining decoder and ALU operations, and the I/O and interrupt support needed by the BIOS.

Ben’s Status Report (10/24)

This week, I focused on completing and integrating the memory and bus foundation for our PC/XT FPGA system. I implemented the RAM, BIOS ROM, address decoder, memory controller, and video RAM, and also worked on the CPU interface to support wait states, back-to-back transactions, correct write behavior, and reset handling. I added the initial peripheral routing for the keyboard, display, PIC, timer, and storage interface, along with a simulated disk-to-RAM path. I also updated the architecture and interface documentation and added verification for the new modules. All five RTL testbenches and seven Python tests passed, and we were able to verify that Joshua’s CPU could fetch from the reset address, write a word to RAM, and read it back correctly. My progress is on schedule, and next I plan to move toward the physical peripheral implementations, actual SD-card transport, BIOS boot integration, and FPGA bring-up.

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.

Govind’s Status Report (10/10)

This week I extended the MZ EXE loader beyond its original 64 KiB limit to use the existing 320 KiB program arena. I added reads and relocations across segment boundaries, checked code and stack addresses, and tested recovery from disk failures after partial loads. The full emulator regression passed all 22 guest profiles and 23 host tests. An earlier run timed out at 90 seconds; the unchanged code passed with an explicit 180-second process deadline. Evidence: https://github.com/JoshuaSmith1227/ibm-pcxt-fpga/pull/18.

The loader extension is complete. The November 2 shell/COM milestone still needs keyboard input and a minimal shell. Next week I will prioritize those features and their emulator tests while CPU and memory integration continues.

Josh’s Status Report 10/10

This week, I took the CPU from register-only programs to reading and writing memory, using a stack, and calling subroutines.

I gave the bus interface unit a second client, so data accesses share the bus with instruction fetch, with data going first when both request. I then added MOV loads and stores with BX-based addressing, a DS register and an address-generation unit. Each 16-bit access is two byte transfers on the 8088’s 8-bit bus, including words that cross a segment boundary or the top of memory.

Next I added the stack: an SS register, PUSH and POP, and near CALL and RET, which redirect instruction fetch like a taken jump. I checked PUSH SP and POP SP, where the 8088 differs from later x86 processors, against 10,000 recorded real-8088 cases each. A second write port for the stack pointer lets each instruction update everything on one clock edge.

Two repeatable demonstrations check registers, memory and every bus transaction under varied memory delays. The second runs two levels of subroutine calls and restores every register, including the stack pointer. Resetting the CPU in the middle of transfers exposed a bug where an interrupted load still wrote its register, which I fixed. The tests also caught all 16 deliberately broken versions of the design.

I also corrected our design report and added a CPU block diagram. Next are the full decoder, the remaining ALU operations, and interrupts, which the BIOS needs.

Ben’s Status Report (10/10)

This week, I focused mainly on working on our design report and making sure my portion of the memory and peripheral system was clearly documented. I helped refine the system architecture, memory organization, interfaces, and testing approach so that the report accurately reflects how my subsystem will connect with the CPU and software. I also continued reviewing the RAM, ROM, and address-decoding design to make sure it is consistent with the rest of the system. My progress is on schedule, and next week I plan to return to the RTL implementation and continue integrating the memory subsystem with the CPU interface.