Search - Chysn/VIC20-wAx2 GitHub Wiki

wAx supports three kinds of memory search: hex search, text search, and code search. The basic syntax for search is:

.H addr pattern

where addr is a valid 16-bit hexadecimal address, and pattern is one of three types of search requests.

Search searches for the pattern for 4096 bytes (4K), starting at the specified address. When the search is complete, wAx displays the end address, preceded by .H

To extend the search beyond 4K, hold down the SHIFT key, or engage SHIFT LOCK. The search will continue as long as SHIFT is engaged.

To exit the search before 4K, press STOP. wAx will display the address that would have been searched next if you had not pressed STOP.

Hex Search

.H addr:nn [nn] [nn] [nn] [nn] [nn] [nn] [nn]

After the address, enter colon, and then up to eight hexadecimal bytes.

Text Search

.H addr "string"

After the address, enter a quoted string of up to 16 characters in length.

Code Search

.H addr mne [operand]

After the address, enter a 6502 instruction.

Code Search is a disassembly search that starts disassembling at the specified address, rather than a byte-by-byte pattern search. So the results may differ depending on the address provided.