jnp@daimi.UUCP (J|rgen N|rgaard) (07/25/86)
Does somebody exactly how to acces the commandline in PC-DOS ? I'm working on a PC/AT DOS 3.1 and LogiTech Modula. I can access the commandline (or is a copy ?) at 80H in the segment I get back from a call to "GetProgramSegmentPrefix" but I would like to be sure that it's the "real thing" I see. BTW. Any idea how the modula-compiler and the editor ("MOD") communicates, that is how does the compiler tell the editor that compilation errors occured ??? Thanks in advance J|rgen N|rgaard e-mail: ....{seismo!}mcvax!diku!daimi!jnp
johnl@ima.UUCP (John R. Levine) (08/05/86)
In article <344@daimi.UUCP> jnp@daimi.UUCP (J|rgen N|rgaard) writes: >I'm working on a PC/AT DOS 3.1 and LogiTech Modula. >I can access the commandline (or is a copy ?) at 80H in the >segment I get back from a call to "GetProgramSegmentPrefix" >but I would like to be sure that it's the "real thing" I see. That's the genuine command line that you're getting back. DOS puts it there in the PSP (Program Segment Prefix, a chunk of memory reserved in front of your program) for you. -- John R. Levine, Javelin Software Corp., Cambridge MA +1 617 494 1400 { ihnp4 | decvax | cbosgd | harvard | yale }!ima!johnl, Levine@YALE.EDU The opinions expressed herein are solely those of a 12-year-old hacker who has broken into my account and not those of any person or organization.