Open main menu

CDOT Wiki β

Changes

6502 Emulator

474 bytes added, 10:24, 11 January 2020
Peripherals
== Peripherals ==
There are four peripherals available: the bitmapped and character displays, * a one-byte pseudo-random number generator, and (''PRNG'') at $fe* a single-key keyboard interfacebuffer $ff - if you write to this address, it will remain unchanged until a new keypress is received.* a 32x32 pixel bitmapped display at $0200-$05ff, with one byte per pixel. The lowest four bits of each pixel select one of 16 colours.* an 80x25 character display at $f000-$7cff, with one byte per pixel. Printable ASCII characters will be displayed. If the high-order bit is set, the character will be shown in <span style="background: black; color: white;">&nbsp;reverse video&nbsp;</span>.  For details, click press the <code>Notes </code> button within in the emulator.
== Example Code ==
See the [[6502 Emulator Example Code]] page.