Skip to content

Commit

Permalink
added updated media
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchUsr64 authored Jan 11, 2024
1 parent a9b0bd1 commit 7276a8a
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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
Expand All @@ -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 |
Expand All @@ -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
Expand All @@ -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)
<br>
#### [examples/rgb.asm](examples/rgb.asm)
![image](https://github.com/ArchUsr64/6502_emulator/assets/83179501/9a6a5d93-d806-431a-af00-5bded1c93793)
<br>
#### [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)

0 comments on commit 7276a8a

Please sign in to comment.