From fd2396f559268585fa09d64f1d70030484c21374 Mon Sep 17 00:00:00 2001 From: Mike Naberezny Date: Sun, 15 Jan 2012 13:18:28 -0800 Subject: [PATCH] Document mpu command --- docs/index.rst | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/docs/index.rst b/docs/index.rst index 6e4f409..ebe248c 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -7,8 +7,7 @@ Py65 - 6502 Microprocessor Simulation in Python .. topic:: Overview - Py65 is a simulation of the original NMOS 6502 microprocessor from MOS - Technology, written in Python. + Simulate 6502-based microcomputer systems in Python. Using the Monitor ================= @@ -240,6 +239,23 @@ Command Reference The contents will be wrapped to the terminal width specified by the ``width`` command. +.. describe:: mpu [] + + Display or set the current microprocessor. If no argument is given, the + current microprocessor will be displayed:: + + .mpu + Current MPU is 6502 + Available MPUs: 6502, 65C02, 65Org16 + + If an argument is given, the microprocessor will be changed:: + + .mpu 65C02 + Reset with new MPU 65C02 + + The default microprocessor is ``6502``, the original NMOS 6502 from + MOS Technology. + .. describe:: pwd Display the current working directory::