ScratchStats LogoScratchStats
TrendingTop ProjectsTop Scratchers

ScratchStats

Explore Scratch statistics and discover trending projects and creators.

Community

  • Apply for Verified
  • Forum Topic

More

  • Donate
  • Info
Not affiliated with Scratch.
Back to Znapi's profile

Intel 8080 Emulator (Unfinished)

ZNZnapi•Shared June 21, 2016
14
8
524 views
Love/View Ratio: 2.67%

Notes & Credits

This is an unfinished emulator of the Intel 8080. Sorry, pressing the green flag doesn't do anything, it doesn't have a terminal, and I don't have any programs for it yet, so you will likely find this project boring. **Using the Emulator** To play around with the emulator, you are probably going to have to download it and use the offline editor. It contains 3 lists that are too big for Scratch to save, so the online editor just periodically freezes as it tries to auto save. To rebuild the lists that make up the registers, RAM, etc., just click on the "Initialize System" custom block at the top left of the scripts in the "Intel 8080" sprite. Directly to the right, there is a green flag hat with a simple script that just resets the program counter and steps the CPU forever. You can use this to run your programs. Just tell it to set the program counter to where your program starts in RAM, and then start the script. As of now, programs have to be written byte by byte into RAM manually. The HALT instruction (119, or 0x77) can be used to stop the CPU, though that is not what it does in the real 8080. **Resources** - Digital scan of the "Intel 8080 Microcomputer Systems User's Manual" - Digital scan of the "Intel 8080 Assembly Programming Manual" - Nice chart of opcodes: http://www.pastraiser.com/cpu/i8080/i8080_opcodes.html - Wikipedia page for the 8080

Project Details

Project ID114489139
Search IndexChecking...
CreatedJune 21, 2016
Last ModifiedJune 12, 2017
SharedJune 21, 2016
CommentsAllowed
Unindexed / NFE