-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Emulate 8080 and front end hardware #37
Comments
@eswenson1, this is what we discussed the other day. |
Back in 2011 I had a hard time finding an accurate 8080 simulator; many of them didn't get the processor flags correct. I wrote one that I think is fairly accurate, aside from not yet including any interrupt support: |
Wow, sometimes good things just fall into your lap. Thanks Eric, I'll consider taking you up on your offer. I'll certainly contribute any changes back. I specially like how your simulator has KS in its name. |
I would say we should update it to ALSO allow loading from the 8080 FE file system, but keep the existing functionality too. Best of both worlds. |
Certainly. It makes no sense to remove useful features. |
I made a branch which adds the ksim files. I merged in @brouhaha's repository and moved the files to src/ksim. This way, version history has been preserved. |
ksim is implemented in a single ksim.c file. In order to make it a reusable component, I split the simulator proper from the main application. A new file ksim.h defines the API to the simulator. |
I now reconstructed the source files from the 4.2 listing, and have them assembled with CROSS: PDP-10/its#1228. |
Version 5.2 is here: ftp://ftp.dbit.com/pub/pdp10/ks10/csl52.asm And it has an interesting comment:
|
It would be nice to run the 8080 software.
For practical use, KLH10's front end is very convenient with its ability to load programs directly from the host file system. But this leaves a gap when it comes to running ALL THE SOFTWARE.
The text was updated successfully, but these errors were encountered: