Giter VIP home page Giter VIP logo

nes's Introduction

Assembly NES Study Hub

Platform

About

This repository serves as a learning hub for NES assembly development. If you're a beginner like me, you maybe can find valuable resources to help you understand and improve NES programming here.

Getting Started

  1. Clone this repo to your local machine;
  2. Navigate to the desired study topic;

Generating the ROM file

To generate the rom file you will need to install an assembler. I am currently using the assembler CC65. I work on a macbook so I install it using Homebrew

brew install cc65

In some project folder I have included a shell script called ca65.sh. This script is responsible for generating the ROM. Here is the script content:

ca65 $1.s -o $1.o
ld65 -C memory_map.cfg $1.o -o $1.nes

rm $1.o

A important thing is that you will probably face an permisson error when trying to run the script. To quickly solve that you can just run this command before executing the script:

chmod +x ca65.sh

in othe other projects I have used makefile to generating the ROM, so you can just run the command make to generate the rom, and them make run to execute. It is important to say that my makefiles tries to execute the rom with FCEUX emulator, so you should install it:

brew install fceux

And of course you should install make:

brew install make

nes's People

Contributors

maganharenan 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.