Subversion Repositories SvarDOS

Rev

Rev 474 | Rev 479 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 474 Rev 475
Line 25... Line 25...
25
#ifndef RMODINIT_H
25
#ifndef RMODINIT_H
26
#define RMODINIT_H
26
#define RMODINIT_H
27
 
27
 
28
#define FLAG_EXEC_AND_QUIT 1
28
#define FLAG_EXEC_AND_QUIT 1
29
#define FLAG_PERMANENT 2
29
#define FLAG_PERMANENT 2
-
 
30
#define FLAG_ECHOFLAG 4
30
#define FLAG_ECHO_BEFORE_BAT 8
31
#define FLAG_ECHO_BEFORE_BAT 8
31
 
32
 
32
struct rmod_props {
33
struct rmod_props {
33
  char inputbuf[130];         /* input buffer for INT 21, AH=0x0A */
34
  char inputbuf[130];         /* input buffer for INT 21, AH=0x0A */
34
  unsigned short rmodseg;     /* segment where rmod is loaded */
35
  unsigned short rmodseg;     /* segment where rmod is loaded */
35
  unsigned long origparent;   /* original parent (far ptr) of the shell */
36
  unsigned long origparent;   /* original parent (far ptr) of the shell */
36
  unsigned short origenvseg;  /* original environment segment */
37
  unsigned short origenvseg;  /* original environment segment */
37
  unsigned char flags;        /* command line parameters */
38
  unsigned char flags;        /* command line parameters */
38
  unsigned char echoflag;     /* ECHO ON / ECHO OFF */
39
  unsigned char FFU;          /* FOR FUTURE USE */
39
  char batfile[130];          /* truename of batch file being processed */
40
  char batfile[130];          /* truename of batch file being processed */
40
  char batargs[130];          /* arguments of the processed batch files */
41
  char batargs[130];          /* arguments of the processed batch files */
41
  unsigned long batnextline;  /* offset in file of next bat line to process */
42
  unsigned long batnextline;  /* offset in file of next bat line to process */
42
};
43
};
43
 
44