DEV Community

Cover image for Chip-8 Emulator using JS
puranjayyadav
puranjayyadav

Posted on

2 1

Chip-8 Emulator using JS

Hi there ๐Ÿ‘‹, my name is Puranjay
I created chip-8 emulator
The Chip-8 is a virtual machine from the mid-1970s designed to make game development easier. There are a number of classic video games ported to CHIP-8, such as Pong, Space Invaders, Tetris, and Pac-Man. There are also applications like a random maze generator and Conwayโ€™s Game of Life.

I created new classes in JavaScript for each piece of hardware, to emulate the memory, the display, the sound card, and the keyboard, after that, I jumped into the so expect Chip-8, I first implemented its registers and then I implement each of its 35 opcodes.

This project uses a lot Javascript and OOPS concepts
It was a fun project to combine my knowledge of Microcontrollers and Web-Development. Plus I never ever implemented my own ROM and emulator . So I learnt a lot from this project about XOR / OR / AND implementations in a ROM.

Visit my github page to view the files
If you want me to make a tutorial on how I created this in detail.
Then please let me know in the comments section

Skills: JAVACRIPT / HTML / Microcontroller Architecture

๐Ÿ”ญ Iโ€™m currently working on Making my Personal Website Scalable And using Microservices Architecture
๐ŸŒฑ Iโ€™m currently learning Assembly / C / SQL / Python
๐Ÿ‘ฏ Iโ€™m looking to collaborate on Node.js / React.js / MERN / MongoDB
๐Ÿ’ฌ Ask me about Node.js / OpenSource Projects / Javascript / GSAP / WebGL / Three.js / React
๐Ÿ“ซ How to reach me: work.puranjay@gmail.com
โšก Fun fact: Working on Atari game project using Assembly

SurveyJS custom survey software

JavaScript UI Libraries for Surveys and Forms

SurveyJS lets you build a JSON-based form management system that integrates with any backend, giving you full control over your data and no user limits. Includes support for custom question types, skip logic, integrated CCS editor, PDF export, real-time analytics & more.

Learn more

Top comments (0)

Sentry image

See why 4M developers consider Sentry, โ€œnot bad.โ€

Fixing code doesnโ€™t have to be the worst part of your day. Learn how Sentry can help.

Learn more