Team Status Report for 3/14

Currently, our main focus/risk is on integration. The DOS and drivers are mostly complete, so the main issue is that they need to work together. The logic of the DOS does rely on the drivers functioning in a certain way, and if these guarantees are not met, the logic may need to be updated. The peripherals’ RTL is written, but the drivers still need to be written to integrate. The peripherals also rely on signals from the MMU to interface with the 6502 and the DOS.

Overall, the project is generally on schedule, but the next few weeks will be critical to integrating on time for the interim demo.

Aaron’s Status Report for 3/14

This week, I continued work on the DOS. I designed the majority of the file manager interface. Currently, I have implemented the ability to create, seek, read, and delete files. The underlying systems for tracking free sectors and such are also done.

Currently, I am about on schedule. The file manager’s core operations: create/open, changing position, R/W, and deletion are complete. The next step is to test it.

This coming week, I intend to test it and refine it. I already know there are some operations that are not optimal (for instance, there is code that I would like to reuse between some functions).

Team Status Report for 2/28

Individual work was done this week, information is in their respective posts. The overall schedule is on track and all is going well.

A was written by Rudy, B was written by Aaron, C was written by Will.

Our product solution goes about meeting the specified need with respect to global factors by establishing itself as easily accessible and easy for the general public to use, even without intimate knowledge of the design. We have been documenting each of our modules in-depth, including the reasoning for our decisions, rather than just noting down the final product. We feel that this helps contribute to the accessibility of the project greatly, since individuals without much engineering knowledge could read this documentation and gain a great grasp of the decisions made and what they led to in the final design. Even if they don’t desire to learn more about the underlying technology, our design is intended to work just like an original Apple ][, meaning that we are maintaining accessibility to all in a physical manner as well.

Part A: … with consideration of global factors. Global factors are world-wide contexts and factors, rather than only local ones. They do not necessarily represent geographic concerns. Global factors do not need to concern every single person in the entire world. Rather, these factors affect people outside of Pittsburgh, or those who are not in an academic environment, or those who are not technologically savvy, etc.

With respect to cultural factors, this project supports communities of people who are big on computer history and old computers. For many people, the Apple ][ was an introduction to computers. Additionally, by recreating accurate hardware for the 6502 processor, we also give people who like other old machines a chance to recreate their own devices, such as the Atari 2600. These devices played a big part in early computing, providing people with some of the earliest video games, for instance, and as such represents a major cultural phenomenon that we wish to contribute to.

While our project is based on recreating the functionality of the Apple ][ computer in a hardware emulator, there is still a connection to environmental concerns. This is because the current project uses an FPGA to recreate the Apple ][ instead of individual components. This can potentially reduce the environmental impact by reducing the number of individual components used to build or replace an original computer with numerous individual integrated circuit components. Another potential environmental impact is that modern digital hardware can run more efficiently than older hardware used to build the original Apple ][ computer. This will greatly reduce the overall power consumption of our implementation compared to an original device.

Aaron’s Status Report for 2/28

This week, I mainly worked on the file manager for the DOS. Last week I created a disk simulator and an initial file manager. This week, I created a ram simulator, which will be used to simulate the file buffers that are used to “cache” sectors as they are read in from the disk. I also had to rewrite part of the file manager due, as I realized the interface would not work with a disk (I accidentally used pointers instead of track/sector tuples when using disk locations).

Currently, I am still on schedule. The file manager should be finished right after break ends, and with most of the logic/testing mechanisms built, it should just be a matter of putting it together.

After break, I would like to have a fully finished file manager. This will allow us to move on and make the bootloader and device drivers, which will then allow us to integrate.

Team Status Report for 2/21

As with last week, the main risk is with the drivers. Because hardware for the drivers is not here yet, we can’t fully develop the software level of the drivers. This may cause issues with the DOS, as I/O is done by polling the devices. For developing the DOS, the risk is being managed by defining an interface (and simulating the disk) to develop the DOS first, then to fill in the interface with code that will actually interact with the hardware once we have everything we need to implement it.

There are currently plans to spend the beginning of next week coordinating peripheral hardware (especially the FDD interface) with the DOS implementation in preparation for the upcoming more software focused weeks.

No changes were made to the schedule this week. As such, our schedule is the same.

Aaron’s Status Report for 2/21

This week, I began work on the DOS. Will and I created an interface between the disk control software and the file manager. I had already figured out the file manager process from last week, so I created a disk simulator based off the interface and am using that to develop the file manager. The interface has a read function, which reads a sector into a specified location in memory, and a write function that writes to the “disk”, along with functions needed to set up a disk simulator during testing.

Currently, we am on schedule. The file manager is mainly logic, so I’m developing and testing it entirely in C. We intend to develop the lower level drivers/bootloader once our hardware comes in and the 6502 is closer to being done.

I’m aiming to have the file manager done by next week. That way, Will and I can work on the drivers for the disk after break, then integrate that into the DOS.

Team Status Report for 2/14

Currently, the most significant risk that could jeopardize our project is the complexity of the drivers. Because we are going to be interfacing with the real hardware, our software level drivers need to be completely correct. This is especially difficult, as our driver software timing also relies on our 6502 being cycle accurate to the original one. To mitigate this, we are making our 6502 cycle accurate. We also intend to test our software on a floppy disk emulator. Using a driver from an old program would be a contingency. We are reaching a point in our project where the 6502, DOS, and FDD need to be designed to work together despite being implemented separately. Any risks associated with this integration focused design are already being mitigated by frequent internal design and code reviews.

No changes were made this week. As such, the schedule is the same.

For this week’s questions, A was written by Aaron, B was written by Rudy, and C was written by Will.

Part A: Our product solution will be designed to be safe. Because we are trying to interface with real hardware components like a floppy disk driver, we need to ensure that we do not damage the device. Doing so could potentially create a physical hazard to the user, as it is an electrical component.

Part B: The purpose of our product is for both historical and educational purposes. So with this, we hold the responsibility of representing history accurately and ensuring that this educational opportunity is accessible to as many people as possible. Historical accuracy is quite clear-cut, but educational accessibility is a bit more complicated. This is because it involves making the project available to all who have an interest in it, regardless of their level of familiarity with the subject.

To support this, we’ve been very thorough in our documentation of the 6502 redesign; noting down our own confusions and hidden gems of information we’ve come across. This documentation allows somebody with basic familiarity of CPUs to follow along and learn about the underlying details of the Apple II in the same way we have been, which is much preferred to reading source code. Once past the 6502, we intend to continue our extensive documentation for the Apple II’s intricacies, whose design is even more complicated.

Part C: Considering economic factors, our product meets the needs of lower income people and organizations who want to teach about the history of personal computing. To purchase an original Apple //, it costs at MINIMUM $2000, a price that is not accessible to most people. Our product will recreate the functionality and user experience of the Apple // while costing drastically less that buying an original machine.

We also intend to make the majority of our RTL, software, and other design elements and documentation entirely open source. This will allow people to make their own FPGApple // at home, only needing to cover the cost of materials. Our product will ultimately lower the economic burden on people who aim to learn about and experience early personal computing technologies.

Aaron’s Status Report for 2/14

This week, I worked on the design and code for the 6502 processor. I worked with Rudy to figure out the overall design for the processor, which mainly consisted of figuring out how to manage the 13 different addressing modes, as well as maintaining the same cycle counts for all of the instructions. I wrote some initial code, but it is incomplete. Additionally, I began planning the design for the DOS. The architecture for the file system will follow the original design. I intend for the disk to be broken up into 35 tracks, with the DOS itself living on tracks 0-3, and the VTOC and file system catalog living on track 17.

Currently, we am on schedule. We were aiming to complete the processor this week, but did not achieve that goal. Finishing it up this next week keeps us on our original schedule. Work on the DOS has also begun, in accordance to our schedule.

We aim to have the 6502 done by next week. Additionally, I intend to have documentation detailing how the DOS will operate by next week.

FPGApple ][

The Apple II was one of the first widely used personal computers. In this project, we aim to recreate the Apple II using an FPGA. We aim to replicate the core features of the original Apple II, including the processor, memory, floppy disk system, and disk operating system.