Skip to main content

: T80 Core To Be The Most Precise 8080 To Date :

T80 Core To Be The Most Precise 8080 To Date
8080 Emulation Quality


8080 has many dark corners. Unlike its more popular successor Z80, 8080 had never been studied enough and most emulator code, and FPGA cores, relied on data from various books and often even word of mouth. Thusly, it's known that DAA instruction doesn't yield correct result after subtration but it's not known why and AC flag has mysterious ways too..
Just recently a few enthusiastic people from a Russian Vector-06c fans forum found a piece of software for Vector-06c which could not be started in any of the existing emulators, couldn't be started in my FPGA replica yet had no problem running in the real Vector-06c at all. After some investigation it turned out that 8080 ALU had AC flag inverted after SUB operation. This involves SUB, SBB, SBI, DCR, CMP, CPI instructions. The pesky ware used the contents of 8080 flags register as a branch address. Ultimately it led to this discovery of auxilliary carry anomaly.

While fixing this issue in the T80 core, which I use in my Vector-06C replica, I discovered a lot of other discrepancies with the original CPU. Thanks to the ultimately inquisitive CPU test written by Ian Bartholomew, 8080 Exerciser, I was able to verify my version of T80 against the baseline set by the real CPU in a real computer.

Probably not an earth-shattering news, but this is a milestone in emulation of 8080 CPU nevertheless. As of now, there are no known tests that could tell my version of T80 in 8080 mode from the real thing. Update your emulators or you're going to lose the edge :) Only my version has these changes at the moment, they had not been merged with the "official" opencores.org version.

One thing worth noting: real CPU tests were done on a KR580VM80A, which is known to be a gate-level clone of 8080, but still not exactly the real thing. If you have a real 8080 CPU computer which can run CP/M 2.2 or similar, please try Ian's test on your computer and send the results to him or to me.


Enjoy :)

Ahmad Bin Shafiq and Momin Ali

Comments

Popular posts from this blog

GPS : Global Positioning System

What is GPS? The Global Positioning System (GPS) is a satellite-based navigation system made up of a network of 24 satellites placed into orbit by the U.S. Department of Defense. GPS was originally intended for military applications, but in the 1980s, the government made the system available for civilian use. GPS works in any weather conditions, anywhere in the world, 24 hours a day. There are no subscription fees or setup charges to use GPS. How it works GPS satellites circle the earth twice a day in a very precise orbit and transmit signal information to earth. GPS receivers take this information and use triangulation to calculate the user's exact location. Essentially, the GPS receiver compares the time a signal was transmitted b...
WordPress vs. Tumblr vs. Blogger   5 Black Friday deals to plan for now October 24, 2014 — Kim Komando Deciding to start a blog is not even close to half the battle, but it is a step in the right direction. A blog—short for “Web log”—is a great way to share your interests, hobbies, and causes with the world. Many have even used their blogs to launch full-fledged careers. But before you can revel in the glories of blogging, you have to make one big choice: What blogging platform are you going to use? Although there numerous Web-publishing services out there, there’s no denying WordPress, Tumblr, and Blogger are the three most popular given their wide-reaching acceptance and deep integration on the Web. Moreover, each blog is custom-tailored for a different user and audience. Whereas WordPress is best suited for professional users who want to outfit their blog with upgrades and plugins, Tumblr finds grounding in quick, comm...

Which software to choose, Hotspot Shield or Ultrasurf?

Which software to choose, Hotspot Shield or Ultrasurf? Regularly, at the early of every month, it is quite difficult to access Facebook due to the block of network providers. However, you can still access Facebook as normal. We hope the article below will be helpful for everyone to overcome this situation. Which software to choose, Hotspot Shield or Ultrasurf? You can also choose between Hotspot Shield and Ultrasurf you should use the appropriate software 1. Hotspot Shield This software allows you to access blocked facebook. Furthermore, Hotspot Shield ensures privacy for users. Hotspot Shield is also used for MAC OS, iOS, Android. In term of advantages, Hotspot Shield is quite simple for a lot of users.  It has high security mode and it does not reduce the loading speed. It is also easy for users to turn on/off the program. In term of disadvantages, the software has lots of ads, however, this situation can be overcome. 2. Ultrasurf This is also...