diff --git a/README.md b/README.md index b2638d0..3fbff6d 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,11 @@ Emulates a MOS 6502 chip with DMA graphics and input capibalities with interactive debugging. **[LIVE DEMO](https://archusr64.github.io/6502_emulator/)** -https://github.com/ArchUsr64/6502_emulator/assets/83179501/e0dbec0d-e08e-4925-af7d-f378ba173d0e + + +https://github.com/ArchUsr64/6502_emulator/assets/83179501/75f19672-a8c2-446f-b395-1c2cca4db83d + + Source Code for [snake](examples/snake.asm) @@ -27,6 +31,8 @@ Once paused, use the `Step` button to execute the next instruction. Add breakpoints from the 'Breakpoints' window and press the 'X' button to remove previously added entires. +Watchpoints can be used to observe and change memory addresses at runtime. + Additionally the simulation speed can be adjusted using the slider or with the `-i` flag. ### Logging @@ -36,8 +42,9 @@ Use the `-v` flag to specify the level of verbosity for log output: | 0 | Error | | 1 | Info | | 2 | Debug | + ### Inputs -Currently only four inputs are supported, `LEFT`, `DOWN`, `UP` and `RIGHT`. Both the arrow keys and the WASD cluster can be used to activate their respective inputs. +Use WASD or the arrow keys to provide input events. ## Memory Layout | Address | Description | @@ -49,7 +56,7 @@ Currently only four inputs are supported, `LEFT`, `DOWN`, `UP` and `RIGHT`. Both ### RGB color format: Each color byte is divided into bit fields of size 3, 3 and 2. The bit field if size 2 is least significant and represents the blue color, with the most significant bit field representing red as shown below: -``` +```f# MSB LSB ^ ^ 765 432 10 @@ -58,11 +65,9 @@ MSB LSB ``` ## Screenshots -#### [examples/snake.asm](examples/snake.asm) -![image](https://github.com/ArchUsr64/6502_emulator/assets/83179501/2c104306-8233-4f13-9b76-5ee321c4d05f) +### Debugger UI +![image](https://github.com/ArchUsr64/6502_emulator/assets/83179501/7c077fbf-0ba2-4534-93a7-aaef24da32c0)
-#### [examples/rgb.asm](examples/rgb.asm) -![image](https://github.com/ArchUsr64/6502_emulator/assets/83179501/9a6a5d93-d806-431a-af00-5bded1c93793) -
-#### [examples/ferris.asm](examples/ferris.asm) -![image](https://github.com/ArchUsr64/6502_emulator/assets/83179501/8fcb2804-92d0-43a3-abd1-ef00b96d773d) +### Console Logs +![image](https://github.com/ArchUsr64/6502_emulator/assets/83179501/66a6e6f8-802d-4ed5-931f-bc01a5cdf2f6) +