Skip to content

Garoze/Console

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fantasy Console

A 16 bit Fantasy console inspired by the NES and Gameboy written in C++

Table of Contents

  1. Introduction
  2. Specs
  3. Instructions
  4. License

Introduction

To use this project you'll need a C/C++ compiler like GCC or Cland.

This project also uses the Imgui lib to draw the interface, you can check the project here

Installation

Please make sure you have all the dependecies listed here. If you do, just run the commands below.

git clone https://github.com/Garoze/Console
cd Console
make config && make

To use the Console itself, just run

./console <rom_file>

Specs

CPU

The CPU has a total of 19 16-bit registers, these being:

Registers

Registers Name Description
PC Hold the address to the next instruction on memory
SP Indicates the address of the top of the stack
R0 Accumulator register
R1...R8 General purpose registers

Flags

The CPU has a total of 3¹ flags these being Zero, Carry and Overflow.

¹ The CPU has a special flag called status to inform if the execution should be stoped.

License

This project in under the MIT License terms. And you can check the file here.

About

A 16 bit Fantasy console written in C++

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published