Changes

Jump to: navigation, search

6502 Emulator

291 bytes added, 17:22, 22 September 2021
Peripherals and Memory Map
* a one-byte pseudo-random number generator (''PRNG'') at '''$fe'''.
* a single-key buffer at '''$ff''' - if you write to this address, it will remain unchanged until a new keypress is received. Printable characters plus Return/Enter and Backspace are reported as ASCII codes; cursor keys are reported as $80=up, $81=right, $82=down, $83=left.
* a 32x32 pixel bitmapped display at '''$0200-$05ff''', with one byte per pixel. The upper-left pixel is at address $0200, the pixel to the right is $0201, and the first pixel on the second row is $0220. A [https://docs.google.com/spreadsheets/d/1a1-ZZ1opY8xcuUHNxj3YW75dxOPynSuP2-QGSvZGzYY/edit?usp=sharing reference spreadsheet] shows the row/column to address mapping. The lowest four bits of each byte select one of 16 colours.
** $0: Black
** $1: White

Navigation menu