├── .gitignore
├── README.md
├── _config.yml
├── _includes
├── end.html
├── snake.html
├── start.html
└── widget.html
├── _layouts
├── basic.html
└── default.html
├── index.markdown
├── javascripts
└── scale.fix.js
├── params.json
├── simulator.markdown
├── simulator
├── assembler.js
├── es5-shim.js
└── style.css
├── snake.markdown
└── stylesheets
├── pygment_trac.css
└── styles.css
/.gitignore:
--------------------------------------------------------------------------------
1 | _site
2 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # easy6502
2 | [](https://creativecommons.org/licenses/by/4.0/)
3 |
4 | Easy6502 by Nick Morgan is one-stop accessible tutorial on 6502 assembly language programming,
5 | including a series of worked example programs which you can edit and run in the embedded emulator.
6 |
7 | See http://skilldrick.github.io/easy6502/ for the live site.
8 |
9 | This (original) fork is now in a strict maintenance-only mode. Pull requests are welcome for bug fixes.
10 |
11 | Please see other active forks for further refinements and developments of the tutorial and the emulator:
12 | https://github.com/skilldrick/easy6502/network
13 |
14 |
--------------------------------------------------------------------------------
/_config.yml:
--------------------------------------------------------------------------------
1 | safe: true
2 | lsi: false
3 | markdown: kramdown
4 | highlighter: rouge
5 |
--------------------------------------------------------------------------------
/_includes/end.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
Notes:
30 |
31 | Memory location $fe contains a new random byte on every instruction.
32 | Memory location $ff contains the ascii code of the last key pressed.
33 |
34 | Memory locations $200 to $5ff map to the screen pixels. Different values will
35 | draw different colour pixels. The colours are:
36 |
37 | $0: Black
38 | $1: White
39 | $2: Red
40 | $3: Cyan
41 | $4: Purple
42 | $5: Green
43 | $6: Blue
44 | $7: Yellow
45 | $8: Orange
46 | $9: Brown
47 | $a: Light red
48 | $b: Dark grey
49 | $c: Grey
50 | $d: Light green
51 | $e: Light blue
52 | $f: Light grey
53 |