From fbe1ec87cded4785ed15b29db6d94acbf3f36e7f Mon Sep 17 00:00:00 2001 From: Anshul <83179501+ArchUsr64@users.noreply.github.com> Date: Thu, 11 Jan 2024 22:04:01 +0530 Subject: [PATCH] Update README.md --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b6281ee..4f359f0 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ This should build an `a.out` binary which the emulator can understand along with Run the emulator with the newly generated files: -`cargo run -- a.out -a examples/snake.asm -d symbols.dbg` +`cargo run -- -a examples/snake.asm -d symbols.dbg a.out` ### Debugging Click the 'Pause Execution' button in the Debug Controls window to pause the execution at any time or start in paused state via the `-s` flag. @@ -39,9 +39,10 @@ For an example take a look at the provided [`symbols.dbg`](./symbols.dbg). ### CLI Arguments +Usage: `nemu [OPTIONS] [EXECUTABLE]` + | Option | Description | Default | | :--: | -- | -- | -| -e | **Executable:** Path for the 6502 binary | `a.out` | | -v | **Verbosity:** Verbosity level for console logs | `0` (Errors only) | | -s | **Start debug:** Stard the emulator in debug mode | `false` | | -i | **Instructions per frame:** The number of CPU instructions to execute per rendered frame | `100` | @@ -68,6 +69,8 @@ MSB LSB | | | RRR GGG BB ``` +![color_palette](https://github.com/ArchUsr64/6502_emulator/assets/83179501/c50d56e0-0bd6-45be-83c7-d7bcb6025847) + ## Screenshots ### Debugger UI