Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.msdos.programmer > #665

Re: Accessing the command line options in assembly

From Ross Ridge <rridge@csclub.uwaterloo.ca>
Newsgroups comp.os.msdos.programmer
Subject Re: Accessing the command line options in assembly
Date 2012-07-19 13:07 -0400
Organization University of Waterloo
Message-ID <ju9es3$mne$1@rumours.uwaterloo.ca> (permalink)
References <5def3ff2-4655-4df6-b641-4ca34af9af32@v9g2000vbc.googlegroups.com> <37c980d1-f5b5-4438-bbf4-d094574b4f52@a16g2000vby.googlegroups.com>

Show all headers | View raw


Ruud  <Ruud.Baltissen@apg.nl> wrote:
>Oops, I wasn't precise enough. The article mentions where I can find
>the commnad lin in memory, PSP:080h to be precise. But this is for DOS
>programs, certainly COMs and maybe EXE. But now it is CONFIG.SYS that
>does the job and USE!UMBS.SYS is loaded from address 0, the sources
>say "org 0h", so where can I find the command line now?

It's passed as a far pointer in the init request header.

					Ross Ridge

-- 
 l/  //	  Ross Ridge -- The Great HTMU
[oo][oo]  rridge@csclub.uwaterloo.ca
-()-/()/  http://www.csclub.uwaterloo.ca/~rridge/ 
 db  //	  

Back to comp.os.msdos.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Accessing the command line options in assembly Ruud <Ruud.Baltissen@apg.nl> - 2012-07-18 22:48 -0700
  Re: Accessing the command line options in assembly Ruud <Ruud.Baltissen@apg.nl> - 2012-07-18 23:03 -0700
    Re: Accessing the command line options in assembly Czerno <czerno@czerno.tk.invalid> - 2012-07-19 15:08 +0000
      Re: Accessing the command line options in assembly "Rod Pemberton" <do_not_have@notemailnot.cmm> - 2012-07-19 15:13 -0400
        Re: Accessing the command line options in assembly Czerno <czerno@czerno.tk.invalid> - 2012-07-19 21:35 +0000
    Re: Accessing the command line options in assembly Ross Ridge <rridge@csclub.uwaterloo.ca> - 2012-07-19 13:07 -0400
      Re: Accessing the command line options in assembly Ruud Baltissen <rbaltissen@gmail.com> - 2012-08-02 12:53 -0700
        Re: Accessing the command line options in assembly Czerno <czerno@czerno.tk.invalid> - 2012-08-03 08:47 +0000
  Re: Accessing the command line options in assembly "R.Wieser" <address@not.available> - 2012-07-19 19:06 +0200
  Re: Accessing the command line options in assembly "Rod Pemberton" <do_not_have@notemailnot.cmm> - 2012-07-19 15:14 -0400
  Re: Accessing the command line options in assembly Dirk Wolfgang Glomp <freecrac@web.de> - 2012-07-20 08:44 +0200
    Re: Accessing the command line options in assembly Czerno <czerno@czerno.tk.invalid> - 2012-07-20 09:36 +0000
      Re: Accessing the command line options in assembly Dirk Wolfgang Glomp <freecrac@web.de> - 2012-07-25 08:23 +0200

csiph-web