Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wendelscardua/nes-calculator
NES calculator
https://github.com/wendelscardua/nes-calculator
ca65 cc65 homebrew nes nesdev
Last synced: about 1 month ago
JSON representation
NES calculator
- Host: GitHub
- URL: https://github.com/wendelscardua/nes-calculator
- Owner: wendelscardua
- Created: 2021-05-22T22:59:12.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-05-31T02:35:00.000Z (over 3 years ago)
- Last Synced: 2024-10-14T04:43:43.494Z (2 months ago)
- Topics: ca65, cc65, homebrew, nes, nesdev
- Language: NWScript
- Homepage:
- Size: 297 KB
- Stars: 12
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NES Calculator
Scientific calculator for NES, based on http://www.crbond.com/calc65.htm and inspired by [this tweet](https://twitter.com/HackerVilela/status/1392232779371397121).
![Screenshot showing the calculator running on an emulator..](calculator_screenshot.png)
## 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](https://github.com/cc65/cc65). Then run
```sh
$ make
```to build the `calculator.nes` ROM.
Other targets are available as well:
```sh
$ 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
```