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: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 04:44:47 |
Calls: | 10,387 |
Calls today: | 2 |
Files: | 14,061 |
Messages: | 6,416,787 |