Notes on the Kswichit 6502 Microprocessor Kit Simulator:
Memory location $fe contains a new random byte on every instruction.
Memory location $ff contains the ascii code of the last key pressed.
Assembler directive: DCB <byte1> [, <byte2>...] for arbitrary data.
Assembler label: <label>:
All text following the semicolon is considered to be a comment.
Set address with *=<address>
For example, to store $01, $02, $03 starting at $210:
*=$0210
DCB $01, $02, $03
Memory locations $9000 to $93ff map to the screen pixels. Different values will
draw different colour pixels. The colours are:
$0: Black
$1: White
$2: Red
$3: Cyan
$4: Purple
$5: Green
$6: Blue
$7: Yellow
$8: Orange
$9: Brown
$a: Light red
$b: Dark grey
$c: Grey
$d: Light green
$e: Light blue
$f: Light grey
Source Code at: https://github.com/tiggerntatie/kswichit-6502