Am Samstag, dem 18. Nov 2017 schrieb Joe Forster/STA: > > By the way, can anybody tell me, how to access environment variables, > > when the compiler doesn't support it? (no getenv() and environ=NULL) > > Use INT 21h, AH=62h to get the PSP segment and then see the word at offset > 002Ch for the segment of environment variables. (See Table 01378 in the Ralf > Brown Interrupt List for the PSP structure).
Thanks. But I couldn't get it to work yet. I'm working on it... -- AKFoerster <https://AKFoerster.de/> ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel