VOGONS


First post, by DrMefistO

User metadata
Rank Newbie
Rank
Newbie

I have few questions:
1) Where I can found amount of available memory during this running session? I mean count in bytes;
2) Launched executable segments information: I need to know segments information for the launched executable (code segment range, data segment range, etc., names);

The main goal of my efforts will be good IDA Pro debugger plugin for MS-DOS, without stupid bugs, and also extended DOSBox debugger itself.

Reply 1 of 8, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author

1) If you mean free conventional memory, that can be determined from free memory blocks: try the debugger's DOS MCBS command.

2) You seem to want features of a source-level (symbolic) debugger; but the DOSBox debugger is system-level.

Reply 3 of 8, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author

I guess look in dos_memory.cpp and dos_execute.cpp; but I'm not sure what you're looking for. Again, don't expect to find any source-level info about programs running within the emulation.

Reply 4 of 8, by DrMefistO

User metadata
Rank Newbie
Rank
Newbie

For example, I want to know in which address my program will be loaded? Where I can find the load address of the launched executable?

The main purpose of my project, as I mentioned before, is to create debugger plugin for the IDA Pro. I will embed debugger server into DOSBox, and it will response with memory info, segments info, registers info, doing steps, etc.

http://www.osdata.com/system/physical/memmap.htm#MSDOS regarding thing memory table: is it possible to know size of the 0x600 region?

Reply 6 of 8, by DrMefistO

User metadata
Rank Newbie
Rank
Newbie
Mok wrote:

Isn't there something similar already (I have never tried it though)? https://github.com/wjp/idados

I know this project, but this is exactly what I'm thinking about it: "stupid bugs".