Disk Tape SD Storage - Chysn/VIC20-wAx2 GitHub Wiki
Memory Save
To save a range of memory to disk, tape, or SD, use the Save Tool:
.S from to+1 ["filename"]
where from and to are valid 16-bit hexadecimal addresses, and filename is a quoted string of up to 12 characters in length. The filename may be omitted if you are saving to tape.
The addresses are starting and ending addresses of a memory range. wAx will save the specified memory range to the last-used storage device number. Note that the end address should be the location after the last location you want to save.
Note: Memory Save will clear your breakpoint before saving.
Memory Load
To load from disk, tape, or SD to memory, use the Load Tool:
.L ["filename"]
where filename is a quoted string of up to 19 characters in length. The filename may be omitted if you are loading from tape. In this case, the next program on tape will be loaded.
The specified program will be loaded into memory using the program's two-byte header. After the load is complete, the start and end addresses of the program will be displayed, formatted as a Disassemble command.
Note: Memory Load will clear your breakpoint before starting.
File Listing
If the current device is a disk drive or SD card reader, you may obtain a file listing with the File Listing Tool:
.F
You may restrict the display to certain files by providing a partial or complete filename for search:
.F "partial filename"
The file listing will be formatted with .L, in such a way that you may cursor up to the line and press RETURN to load a file.
Selecting the Device
When wAx is started, it defaults to device #8. You can change the device number by either initiating a BASIC LOAD command followed by pressing STOP, or by setting the device in memory directly:
.A 00BA:01 ; Set device to datasette