Amiga Kickstart 1.3 ROM-Wack: Difference between revisions

From www.evillabs.net
Jump to navigation Jump to search
Line 10: Line 10:
<pre>
<pre>
XXXXXX          # Set MP to XXXXXX
XXXXXX          # Set MP to XXXXXX
-XX            # Subtract XX from MP
+XX            # Add XX to MP
:XX            # Set default dump length
:XX            # Set default dump length
^              # Dump memory at MP
<              # Decrement MP by the default dump length, then dump
<              # Decrement MP by the default dump length, then dump
>              # Dump memory at MP, and increment MP by the default dump length
>              # Dump memory at MP, and increment MP by the default dump length
.              # Alias for '>'
.              # Alias for '>'
?              # List the 'long' commands


alter          # Edit memory at MP
alter          # Edit memory at MP
=              # Alias for 'alter'


boot            # Reboot the Amiga
boot            # Reboot the Amiga


clear          # ????
fill            # Fill (all of memory??) with a pattern


findSymbolName  # Display instructions at 'SymbolName'
find            # Find a pattern from MP


go              # Start execution from MP
go              # Start execution from MP

Revision as of 23:39, 14 August 2010

Amiga Kickstart 1.3 ROM-Wack

The ROM-Wack interface (which you get to by pressing the right mouse button at any Guru Meditation error), is available on the Amiga's serial port at 9600, 8-N-1.

A basic concept is that there is a single memory pointer (called 'MP' in the following documentation) that acts as the base address for almost all commands.

On entry, MP == PC.

XXXXXX          # Set MP to XXXXXX
-XX             # Subtract XX from MP
+XX             # Add XX to MP
:XX             # Set default dump length
^               # Dump memory at MP
<               # Decrement MP by the default dump length, then dump
>               # Dump memory at MP, and increment MP by the default dump length
.               # Alias for '>'

?               # List the 'long' commands

alter           # Edit memory at MP
=               # Alias for 'alter'

boot            # Reboot the Amiga

clear           # ????

fill            # Fill (all of memory??) with a pattern

find            # Find a pattern from MP

go              # Start execution from MP
resume          # Start from the trapped instruction