Updated User Manual Command Reference (markdown)

David Banks 2019-11-02 18:28:35 +00:00
parent 74cd614e83
commit 9e0f574265

@ -15,6 +15,7 @@
* [rdm (rd)](#rdm-rd)
* [regs (r)](#regs-r)
* [reset (res)](#reset-res)
* [special (sp)](#special-sp)
* [srec (sr)](#srec-sr)
* [step (s)](#step-s)
* [test (t)](#test-t)
@ -308,7 +309,9 @@ FFF0 F4 FF A9 0D 6C 08 02 6C 06 02 C7 FF 3F FF B2 FF ....l..l....?...
Reads a single host memory address.
_Usage: rd \<address\>_
_Usage: rd \<address\>_ \[ \<count\> \]_
The optional count parameter causes the operation to be repeated multiple times. If omitted, count defaults to 1.
Example:
```
@ -346,6 +349,20 @@ Resetting CPU
```
In this example, you can see the program counter is set to FF3F, which is the 6502 reset vector on the Acorn Atom.
## special (sp)
This command allows NMI and/or IRQ interrupts to be temporarily masked.
_Usage: sp \[ \<value\> \]_
Legal values are:
- 0 - enable NMI and enable INT/IRQ
- 1 - enable NMI and disable INT/IRQ
- 2 - disable NMI and enable INT/IRQ
- 3 - disable NMI and disable INT/IRQ
If called without parameters, the current value is returned.
## srec (sr)
Uploads srecords into memory
@ -413,7 +430,7 @@ The optional \<test mode\> (a decimal number!) can control the type of test:
* value -4, test with inverse address pattern
* value -5, test with pseudo random data
If \<test mode\> is ommitted, a standard suite of tests is run, as can be seen in the examples below.
If \<test mode\> is omitted, a standard suite of tests is run, as can be seen in the examples below.
Example:
```
@ -580,7 +597,9 @@ If \<trigger condition\> is omitted if defaults to F (trigger always).
Writes a single host memory address.
_Usage: wr \<address\> \<value\>_
_Usage: wr \<address\> \<value\>_ \[ \<count\> \]_
The optional count parameter causes the operation to be repeated multiple times. If omitted, count defaults to 1.
Example:
```
@ -613,7 +632,9 @@ _Usage: io \[ \<start address\> \]_
Reads a single host IO address.
_Usage: rdi \<address\>_
_Usage: rdi \<address\>_ \[ \<count\> \]_
The optional count parameter causes the operation to be repeated multiple times. If omitted, count defaults to 1.
## breakri (breakri)
@ -643,5 +664,8 @@ _Usage: watchwi \<address\> \[ \<address mask\> \[ \<trigger condition\> \] \]_
Writes a single host IO address.
_Usage: wri \<address\> \<value\>_
_Usage: wri \<address\> \<value\>_ \[ \<count\> \]_
The optional count parameter causes the operation to be repeated multiple times. If omitted, count defaults to 1.