🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.pc
Article #7106

Re: Command line access in PC-DOS 3.10 ???

#7106
From: John R. Levine
Date: Mon, 04 Aug 1986 22:36
14 lines
1375 bytes
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.
Technical Details
Message-ID: <179@ima.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-crg!topaz!uwvax!husc6!harvard!panda!genrad!decvax!ima!johnl
References: <344@daimi.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-crg!topaz!uwvax!husc6!harvard!panda!genrad!decvax!ima!johnl
From: johnl@ima.UUCP (John R. Levine)
Newsgroups: net.micro.pc,net.lang.mod2
Subject: Re: Command line access in PC-DOS 3.10 ???
Message-ID: <179@ima.UUCP>
Date: Mon, 4-Aug-86 18:36:16 EDT
Article-I.D.: ima.179
Posted: Mon Aug  4 18:36:16 1986
Date-Received: Tue, 5-Aug-86 22:45:50 EDT
References: <344@daimi.UUCP>
Reply-To: johnl@ima.UUCP (John R. Levine)
Organization: Javelin Software Corporation
Lines: 14
Summary: RTFM