Hi David,

David O'Shea escreveu:
I happened to get that book from a previous employer a few years ago and decided to start reading it cover to cover a few months ago to reminisce about the good old DOS days and that was what made me decide that contributing to FreeDOS would be a bit of fun :)

Welcome aboard :))

Anyway, back to what you are working on, I just wanted to mention that the source for the MEM command might be useful to you although it's written in C and not assembler and you have probably already figured out everything you need to do. It's in CVS - http://cvs.sourceforge.net/viewcvs.py/freedos/mem/source/mem/mem.c?rev=1.11&view=auto The version in CVS doesn't try and find the master environment although I am working on that myself. I am also using the technique of looking for a PSP with parent PID == own PID. I suppose that with this technique it is safe to assume that the process with the higest PID is the most recently loaded one and hence is the one with the master environment you need to edit?

I have made an MCB parser using the code from MEM. It shows the name of program tha hooked some INT vector. If you want, I can send you the fonts, it's GPL and it is much simpler then The MEM version because I have extracted just that part.

I want to remind you of one thing: what I want is the previous environment, some people want the master environment but I don't know what for.

Alain


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to