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

From www.evillabs.net
Jump to: navigation, search
(Amiga Kickstart 1.3 ROM-Wack)
m (Reverted edits by MarcusEllis (talk) to last revision by Polluks)
 
(3 intermediate revisions by 3 users not shown)
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 '>'
 +
!aX            # Change address register X
 +
!dX            # Change data register X
 +
!u              # Change USP
 +
</pre>
 +
 +
<pre>
 +
?              # 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          # Clear breakpoint at MP
  
findSymbolName  # Display instructions at 'SymbolName'
+
fill            # Fill work space with a pattern
 +
 
 +
find            # Find a pattern from MP
  
 
go              # Start execution 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
 
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