Code Monkey home page Code Monkey logo

programming_the_z80's Introduction

codecov

Never. Stop. Learning.

What is this project?

This is an attempt to build a Z80 emulator using Rust. Following along with Rodnay Zaks book "How to program the Z80" http://www.z80.info/zip/zaks_book.pdf and coding up every example in Rust code and tests.

But Why?

Why not? But more seriously: to learn. I am currently reading "The Rust Book" and wanted a project to actually make some of what I have learnt stick in my head. I am also interested in taking my programming knowledge down an absraction level closer to the metal. While at a Meeting C++ conference (pre-pandemic) I remember getting into a conversation about understanding more about how processors actually work, with two members of the C++ community, who I highly respected, and one of them making the comment that if you understood "How to program the Z80" then modern chipsets weren't really that different. I'm not sure how flippant a comment that was, but I found reading Rodnay's book interesting. But again I needed a way to make the details stick and this project was born.

The details

Now obviously I am re-inventing things that the Rust language already supports naturally, so many thing do not make sense if this were a real program. But remember this is a learning exercise and the goal is to have the concepts described in Rodnay's book represented in Rust code. So please forgive me while I re-implement binary on top of a sytem that cleaerly natively supports it.

I am working though the pdf version of the book linked above and will reference pages and examples from the book in the unit tests that implement that section, in case any one wants to follow along

Adam Riley

programming_the_z80's People

Contributors

adriley avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.