Scientific calculator for NES, based on http://www.crbond.com/calc65.htm and inspired by this tweet.
- D-pad: moves button cursor
- A: press a button
- B: toggles between
exp
andlog
buttons, betweensquare
andsquare root
buttons, and between normal, inverse, hyperbolic and inverse hyperbolic trigonometric buttons.
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