Difference between revisions of "Amiga Kickstart 1.3 ROM-Wack"

From www.evillabs.net
Jump to: navigation, search
(Created page with '= Amiga Kickstart 1.3 ROM-Wack = <pre> . # Dump memory at PC :XXXX # Dump XXXX bytes of memory alter # Edit memory at PC boot # ...')
 
m (Reverted edits by MarcusEllis (talk) to last revision by Polluks)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
= Amiga Kickstart 1.3 ROM-Wack =
 
= Amiga Kickstart 1.3 ROM-Wack =
  
<pre>
+
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.
.              # Dump memory at PC
+
:XXXX          # Dump XXXX bytes of memory
+
  
 +
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.
  
alter          # Edit memory at PC
+
<pre>
 +
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 '>'
 +
!aX            # Change address register X
 +
!dX            # Change data register X
 +
!u              # Change USP
 +
</pre>
 +
 
 +
<pre>
 +
?              # List the 'long' commands
 +
 
 +
alter          # Edit memory at MP
 +
=              # Alias for 'alter'
  
 
boot            # Reboot the Amiga
 
boot            # Reboot the Amiga
  
 +
clear          # Clear breakpoint at MP
  
findSymbolName  # Display instructions at 'SymbolName'
+
fill            # Fill work space with a pattern
find<          # Display prev instructions
+
find>          # Display next instructions
+
  
go              # Start from current location
+
find            # Find a pattern from MP
resume          # Start from the trapped instruction
+
  
 +
go              # Start execution from MP
 +
limit          # Set top of work space
 +
regs            # Show all registers
 +
reset          # Clear all breakpoints
 +
resume          # Start from the trapped instruction
 +
^D
 +
set            # Set breakpoint at MP
 +
show            # Show all breakpoints
 +
user            # Change to user mode
 
</pre>
 
</pre>
 +
 +
== References ==
 +
RKRM Exec, pp. 83

Latest revision as of 14:54, 1 February 2013

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 '>'
!aX             # Change address register X
!dX             # Change data register X
!u              # Change USP
?               # List the 'long' commands

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

boot            # Reboot the Amiga

clear           # Clear breakpoint at MP

fill            # Fill work space with a pattern

find            # Find a pattern from MP

go              # Start execution from MP
limit           # Set top of work space
regs            # Show all registers
reset           # Clear all breakpoints
resume          # Start from the trapped instruction
^D
set             # Set breakpoint at MP
show            # Show all breakpoints
user            # Change to user mode

References

RKRM Exec, pp. 83