aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTa180m2020-05-19 15:06:15 -0500
committerTa180m2020-05-19 15:06:15 -0500
commitafe538d6ddf406c8afbbfd593e4898b0bee5ef89 (patch)
treefdb2268ff18001dab35a2838ddcccb395fb2df51
parent7b4992a3709067194b507da9a4af1d12eb5fbaa3 (diff)
Update README.mdv1.3
-rw-r--r--README.md32
1 files changed, 19 insertions, 13 deletions
diff --git a/README.md b/README.md
index 8af1659..7b12774 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@
| _ < / _` |/ _` | . ` | __| \___ \
| |_) | (_| | (_| | |\ | |____ ____) |
|____/ \__,_|\__,_|_| \_|______|_____/
- EMULATOR
+ EMULATOR
```
A nearly complete NES emulator in a single 700-line C++ source file, based on [LaiNES](https://github.com/AndreaOrru/LaiNES).
@@ -16,16 +16,17 @@ cloc main.cpp
1 unique file.
0 files ignored.
-github.com/AlDanial/cloc v 1.74 T=0.04 s (25.1 files/s, 20506.9 lines/s)
+github.com/AlDanial/cloc v 1.74 T=0.03 s (33.6 files/s, 27684.4 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
-C++ 1 5 86 727
+C++ 1 6 60 757
-------------------------------------------------------------------------------
```
## Features
- Cycle accurate
+- Savestates (beta, expect bugs)
- Extremely compact: only 700 lines in one source file with no dependencies
## Requirements
@@ -54,17 +55,22 @@ g++ main.cpp -o badnes -std=c++11 -IC:\mingw\include\SDL2 -LC:\mingw\lib -w -Wl,
### Windows
Drag ROM over `badnes.exe`
+Alternatively, use
+```sh
+badnes.exe [path to ROM]
+```
+
## Controls
- UP - UP
- DOWN - DOWN
- LEFT - LEFT
- RIGHT - RIGHT
- A - A
- B - S
- START - ENTER
- SELECT - SPACE
-SAVE STATE - Q
-LOAD STATE - W
+ UP - UP
+ DOWN - DOWN
+ LEFT - LEFT
+ RIGHT - RIGHT
+ A - A
+ B - S
+ START - ENTER
+ SELECT - SPACE
+ SAVE STATE - Q
+ LOAD STATE - W
## Compatibility
BadNES implements the most common mappers, which should be enough for a good percentage of the games: