Skip to content

Transfer and Fill

Chysn edited this page Feb 4, 2022 · 5 revisions

Transfer

To copy a block of memory from one location to another, use the Transfer Tool:

.T from to target

Where from, to, and target are 16-bit hexadecimal addresses. Transfer will copy memory range from the from address to the target address.

Pattern Fill

To fill a block of memory with a specific byte pattern, use the following two-step process. First, set your pattern once at the beginning of the range. This can be any type of pattern, but the example will use the text editor. Second, copy that pattern to the destination using the Command Pointer (*) as the target address. Subtract the pattern length from the end address to make sure the pattern doesn't extend beyond the desired end address.

.A from "pattern"
.T from to-minus-length *
Clone this wiki locally