Subversion Repositories SvarDOS

Compare Revisions

Ignore whitespace Rev 974 → Rev 975

/svarcom/trunk/history.txt
9,6 → 9,9
- added CALL support (calls batch files from within batch files)
- DOS errors are output to stdout, and also to stderr if stdout is redirected
- fixed batch processing with /C (was executing only first command)
- multi-lang support relies on SvarLANG.lib instead of its own routines
- transient shell follows the int23h vector to locate RMOD (this is a
workaround so SvarCOM works even when the LINK/LN TSR is loaded)
 
 
=== ver 2022.0 (01.02.2022) ==================================================
/svarcom/trunk/rmodinit.c
195,9 → 195,14
 
 
/* look up my parent: if it's rmod then return a ptr to its props struct,
* otherwise return NULL */
* otherwise return NULL
* since RMOD sets itself as the CTRL+BREAK handler, I look at the int23
* field of the PSP to locate it. Previously I was looking at PSP[Ch] (ie.
* "terminate address" but this was failing when using the LINK/LN TSR that
* intercepts DOS EXEC calls and sets itself as the parent of all launched
* applications */
struct rmod_props far *rmod_find(unsigned short rmodcore_len) {
unsigned short *parent = (void *)0x0C; /* parent's seg in PSP[Ch] ("prev. int22 handler") */
unsigned short *parent = (void *)0x10; /* look in PSP[10h] ("prev. int23 handler") */
unsigned short far *ptr;
const unsigned short sig[] = {0x1983, 0x1985, 0x2017, 0x2019};
unsigned char *cmdtail = (void *)0x80;