I'm using a Apple II program which loads in small sections as needed. I'd like to compare a disassembly listing before and after a particular section is loaded, but the emulators I'm familiar with only seem to show disassembly onscreen with no facility to save it to a file (at least as far as I can tell.)
Can anyone suggest an emulator (for Windows) which can save a disassembled section of memory to file?
Thanks, Michael
In AppleWin, type PR#1, then list your disassembly. It gets saved to a file: printer.txt
PR#0 turns this off. I find a little tricky to gage when it actually saves to this printer file.
Hi mmphosis, thanks for the tip. I'm talking about doing this within a commercial program, from the AppleWin debugger monitor which is invoked by clicking the magnifying glass (or the equivelent monitor in another emulator). I'll edit my post to reflect this (never mind, I can no longer edit the post.)
You can also BSAVE the disassembled code to any loaded image that has been associated to Drive 1 or 2. The print to print.txt has always worked for me as well with AppleWin.
There is also an alternative to using AppleWin's debugger monitor to view the machine code in a disassembled fashion.
I use RAK-WARE's Disassembler 2.2e with AppleWin to disassemble and add labels to binary machine code files. It's output format is a TXT file and the TXT format is selectable for use with several common assembler programs of the time.
there are also some recent web-based emulators with programming / file saving abilities.
https://paleotronic.com/2022/08/06/web-based-applesoft-basic-and-apple-merlin-editors-now-available/
https://paleotronic.com/merlin/
https://8bitworkshop.com/v3.9.0/?file=sieve.c&platform=apple2#