BSAVE

BSAVE filename, address, length

Copies a specified portion of memory to a specified file.