If you want that prepare a modified CP/M without cold boot, that jumps to 0100H instead
of into the CCP and load it together with the CP/M program. Also setup DI!HLT @ 0 instead
of the usual JMP, probably no point in warm booting if the program terminates.
BTW, the -x option can load files in Intel Hex or Mostek binary format, not a plain binary.
Aside that is easy to get (or cobble together...) a bin2hex converter, I think that a binary loader isn't a bad addition, the only complication
being that the switch need two parameters (the binary file and its
address in memory)
After running a program with the -x option, is there any way of inspecting the machine state such as the contents of the registers or memory?
Thanks, I see the core.z80 dump generated by the -s option is a binary file. Is it in a standard file format I can inspect with some tool?
When I start the emulator with the -l option, it exits to the shell after running the code in the loaded core file, so I'm not sure to inspect the registers or memory. However, I wrote some Bash scripts[1] for inspecting z80pack core files.
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 715 |
| Nodes: | 16 (0 / 16) |
| Uptime: | 164:43:15 |
| Calls: | 12,095 |
| Calls today: | 3 |
| Files: | 15,001 |
| Messages: | 6,517,801 |