GithubHelp home page GithubHelp logo

adzierzanowski / z80 Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 18.37 MB

Zilog Z80 (and Intel 8080) assembler/disassembler for everyone and some other tools for my private Z80 stuff

Shell 0.01% C++ 0.73% Python 1.16% Assembly 0.60% CSS 0.11% JavaScript 0.31% HTML 0.10% C 94.13% Makefile 2.85%
z80 zilog assembler 8080 disassembler arduino

z80's Introduction

Zilog Z80 playground

This is a scratchpad repository containing my Z80 sandbox.

Assembler

The most interesting for other people is most probably an assembler written in Python.

The assembler is more-than-two-pass assembler to make code more readable than optimized.

I've also written a 2-pass Z80 assember in C which is much faster. Check it out here.

Z80 Minicomputer

For now the other part of the project consists of:

  • a main board with 10 MHz Zilog Z80 CPU and some LEDs,
  • a RAM board with two 62256 SRAM chips, 32 kiB of memory each and 7-segment displays showing data and address bus state,
  • a CLKMOD board acting as a clock and interrupt controller.

Implying the following specs:

- Up to 1 MHZ Z80 CPU (because of bottleneck that is CLKMOD which will
                       be replaced with a crystal oscillator)
- 64 kiB SRAM
- No external non-volatile memory
- No IO at the moment

At the moment I'm developing the new IO Controller and IO device modules:

  • 128x160 TFT display module,
  • PS/2 keyboard input module.

In the legacy/ directory there are some IO controller files which I used for communicating with the CPU via serial port and low-resolution VGA output.

Files

  • z80asm – Python dual-syntax (i8080, Z80) assembler/disassembler module

  • busctl/ – Bus controller (and RAM Uploader)

  • clkmod/ – Clock emulator

  • fontmaker/ – Little HTML/JS utility for creating fonts

  • legacy/ – Old unused controllers

  • lib/ – ASM libraries

  • schematics/ – KiCAD schematics

  • static/ and templates/ – Flask assets

  • tft – TFT Display Controller

  • ctl.py – Flask GUI for the clock emulator

  • prog.py – Bus controller RAM programming interface

  • serialprompt.py – Utility for fast testing of serial communication

Resources

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.