Subversion Repositories SvarDOS

Rev

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

Rev 517 Rev 529
Line 42... Line 42...
42
  char batargv[130];          /* args of the batch call (0-separated) */
42
  char batargv[130];          /* args of the batch call (0-separated) */
43
  unsigned long batnextline;  /* offset in file of next bat line to process */
43
  unsigned long batnextline;  /* offset in file of next bat line to process */
44
};
44
};
45
 
45
 
46
#define RMOD_OFFSET_ENVSEG     0x2C   /* stored in rmod's PSP */
46
#define RMOD_OFFSET_ENVSEG     0x2C   /* stored in rmod's PSP */
47
#define RMOD_OFFSET_LEXITCODE  (0x100 + 0x4A)
47
#define RMOD_OFFSET_COMSPECPTR (0x100 + 0x4A)
48
#define RMOD_OFFSET_COMSPECPTR (0x100 + 0x4C)
48
#define RMOD_OFFSET_BOOTDRIVE  (0x100 + 0x4C)
49
#define RMOD_OFFSET_BOOTDRIVE  (0x100 + 0x4E)
49
#define RMOD_OFFSET_LEXITCODE  (0x100 + 0x5B)
50
#define RMOD_OFFSET_EXECPARAM  (0x100 + 0x5D)
50
#define RMOD_OFFSET_EXECPARAM  (0x100 + 0x5C)
51
#define RMOD_OFFSET_EXECPROG   (0x100 + 0x6B)
51
#define RMOD_OFFSET_EXECPROG   (0x100 + 0x6A)
52
#define RMOD_OFFSET_STDOUTFILE (0x100 + 0xEB)
52
#define RMOD_OFFSET_STDOUTFILE (0x100 + 0xEA)
53
#define RMOD_OFFSET_STDINFILE  (0x100 + 0xED)
53
#define RMOD_OFFSET_STDINFILE  (0x100 + 0xEC)
54
#define RMOD_OFFSET_STDOUTAPP  (0x100 + 0xEF)
54
#define RMOD_OFFSET_STDOUTAPP  (0x100 + 0xEE)
55
#define RMOD_OFFSET_ROUTINE    (0x100 + 0xF1)
55
#define RMOD_OFFSET_ROUTINE    (0x100 + 0xF0)
56
 
56
 
57
struct rmod_props far *rmod_install(unsigned short envsize, unsigned char *rmodcore, unsigned short rmodcore_len);
57
struct rmod_props far *rmod_install(unsigned short envsize, unsigned char *rmodcore, unsigned short rmodcore_len);
58
struct rmod_props far *rmod_find(unsigned short rmodcore_len);
58
struct rmod_props far *rmod_find(unsigned short rmodcore_len);
59
void rmod_updatecomspecptr(unsigned short rmod_seg, unsigned short env_seg);
59
void rmod_updatecomspecptr(unsigned short rmod_seg, unsigned short env_seg);
60
 
60