Code Monkey home page Code Monkey logo

chip4504's Introduction

chip4504

CHIP4504 was a hobby project of mine to extend the CHIP-8 CPU to accomodate more instructions as well as implement the existing SuperCHIP-8 instruction set. This project was a result of that. Unlike a normal emulator, this one is an operating system in itself, written in x86 assembly. Although it is nothing very fancy, the kernel uses x86 BIOS interrupt calls and the OS runs entirely in real mode. It has not been tested on real hardware, and only on QEMU.

Features

  • 64K of memory access with segmentation
  • Easy to navigate UI
  • Integrated text file view for viewing READMEs etc.
  • FAT12 file system to load ROMs from floppies
  • Supports CHIP-8, and SuperCHIP-8 instructions (in addition to the new 4504 instructions)

Current Issues

  • Slow emulation
  • Problems with user input
  • No assembler for the new instruction set

Manual

The manual is incomplete for now. However, the CPU, memory addressing modes, and the instruction set is documented.

Running

Simply run the "qemu.bat" file under Windows. (Ensure that you have the qemu-system-i386 binaries and have set up the PATH variable accordingly). Otherwise, you can use the emulator of your choice, VirtualBox or VMWare.

Building

You will need the SmallerC compiler, which you can find here: https://github.com/alexfru/SmallerC and the Netwide Assembler, from here: http://www.nasm.us/ . In addition you'll need a floppy disk program to browse and edit the virtual copy of floppies that will be used. (An existing copy called 'chip4504.ima' is present in this repository.

Contributing

Report issues to the "Issues" section under this github repository. Other than that, uh, just clone? I wouldn't mind pull requests if they improve or add up on the current system.

Special Thanks

Special thanks to MikeOS and their development team. Quite a few underlying parts of the code are borrowed [more like shamelessly copied :)], from there.

Screenshots

alt tag alt tag alt tag alt tag alt tag alt tag alt tag

chip4504's People

Contributors

benderx2 avatar relativisticmechanic avatar

Stargazers

Hanaky avatar Daniel C avatar  avatar sammyette avatar Tranch avatar Lachlan Mitchell avatar

Watchers

James Cloos avatar  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.