I once extracted data out of an old dos-software by controlling it with a script and walking through all possible outputs (this was for train schedules). This was surprisingly difficult. The biggest hurdle is getting the screen contents out of the emulator. Dosbox only gives you screenshots that are pixels. In the end I managed to do it by using dosemu2 inside tmux controlled by python.
I wonder whether this could´ve made that problem easier.
Comments
I once extracted data out of an old dos-software by controlling it with a script and walking through all possible outputs (this was for train schedules). This was surprisingly difficult. The biggest hurdle is getting the screen contents out of the emulator. Dosbox only gives you screenshots that are pixels. In the end I managed to do it by using dosemu2 inside tmux controlled by python.
I wonder whether this could´ve made that problem easier.
Qemu has a gdb stub so you can attach and read memory directly...
You can also have qemu give you a ncurses-style text interface