Subversion Repositories SvarDOS

Rev

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

Rev 479 Rev 490
Line 41... Line 41...
41
  char batargs[130];          /* arguments of the processed batch files */
41
  char batargs[130];          /* arguments of the processed batch files */
42
  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 */
43
};
43
};
44
 
44
 
45
#define RMOD_OFFSET_ENVSEG     0x2C   /* stored in rmod's PSP */
45
#define RMOD_OFFSET_ENVSEG     0x2C   /* stored in rmod's PSP */
46
#define RMOD_OFFSET_LEXITCODE  0x10A
46
#define RMOD_OFFSET_LEXITCODE  (0x100 + 0x4A)
47
#define RMOD_OFFSET_COMSPECPTR 0x10C
47
#define RMOD_OFFSET_COMSPECPTR (0x100 + 0x4C)
48
#define RMOD_OFFSET_BOOTDRIVE  0x10E
48
#define RMOD_OFFSET_BOOTDRIVE  (0x100 + 0x4E)
49
#define RMOD_OFFSET_EXECPARAM  0x11D
49
#define RMOD_OFFSET_EXECPARAM  (0x100 + 0x5D)
50
#define RMOD_OFFSET_EXECPROG   0x12B
50
#define RMOD_OFFSET_EXECPROG   (0x100 + 0x6B)
51
#define RMOD_OFFSET_ROUTINE    0x1AB
51
#define RMOD_OFFSET_ROUTINE    (0x100 + 0xEB)
52
 
52
 
53
struct rmod_props far *rmod_install(unsigned short envsize, unsigned char *rmodcore, unsigned short rmodcore_len);
53
struct rmod_props far *rmod_install(unsigned short envsize, unsigned char *rmodcore, unsigned short rmodcore_len);
54
struct rmod_props far *rmod_find(unsigned short rmodcore_len);
54
struct rmod_props far *rmod_find(unsigned short rmodcore_len);
55
void rmod_updatecomspecptr(unsigned short rmod_seg, unsigned short env_seg);
55
void rmod_updatecomspecptr(unsigned short rmod_seg, unsigned short env_seg);
56
 
56