Skip to content

wendelscardua/nes-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NES Calculator

Scientific calculator for NES, based on http://www.crbond.com/calc65.htm and inspired by this tweet.

Screenshot showing the calculator running on an emulator..

Usage

  • D-pad: moves button cursor
  • A: press a button
  • B: toggles between exp and log buttons, between square and square root buttons, and between normal, inverse, hyperbolic and inverse hyperbolic trigonometric buttons.

Compiling

First, install cc65. Then run

$ make

to build the calculator.nes ROM.

Other targets are available as well:

$ make debug # will build with a DEBUG flag; for now only used for "tint" to indicate CPU usage
$ make run # will build the debug target then run on an emulator (see `EMULATOR` variable on the `Makefile`)
$ make usage # computes information about ROM/RAM usage, based on ld map output