Subversion Repositories SvarDOS

Compare Revisions

Ignore whitespace Rev 442 → Rev 441

/svarcom/trunk/rmod.asm
74,9 → 74,8
; prepare the exec param block
mov ax, [ENVSEG]
mov [EXEC_PARAM_REC], ax
mov ax, CMDTAIL
mov [EXEC_PARAM_REC+2], ax
mov [EXEC_PARAM_REC+4], cs
mov [EXEC_PARAM_REC+2], dx
mov [EXEC_PARAM_REC+4], es
 
; execute command.com
mov ax, 0x4B00 ; DOS 2+ - load & execute program
111,9 → 110,6
; back to program start
jmp skipsig
 
; command.com tail arguments, in PSP format (length byte followed by arg)
CMDTAIL db 0
 
; ExecParamRec used by INT 21h, AX=4b00 (load and execute program), 14 bytes:
; offset size content
; +0 2 segment of environment for child (0 = current)
/svarcom/trunk/rmod.h
9,18 → 9,17
50, 51, 52, 53, 54, 55, 56, 57, 65, 66, 67, 68, 69, 70, 48, 49,
50, 51, 52, 53, 54, 55, 56, 57, 65, 66, 67, 68, 69, 70, 0, 0,
64, 58, 92, 67, 79, 77, 77, 65, 78, 68, 46, 67, 79, 77, 0, 1,
0, 0,140,200,142,216,142,192,142,208,188,111, 1,180, 77,205,
0, 0,140,200,142,216,142,192,142,208,188,108, 1,180, 77,205,
33, 48,228,163, 10, 0,186,144, 0,131, 14,142, 0, 0,116, 8,
142, 6, 8, 0,139, 22,142, 0,161, 8, 0,163,253, 0,184,252,
0,163,255, 0,140, 14, 1, 1,184, 0, 75, 6, 31, 14, 7,187,
253, 0,205, 33,115,188,140,203,142,219, 4, 48,162, 15, 1,180,
9,186, 11, 1,205, 33,180, 8,205, 33,235,166, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 69, 82, 82, 32,120,
44, 32, 70, 65, 73, 76, 69, 68, 32, 84, 79, 32, 76, 79, 65, 68,
32, 67, 79, 77, 77, 65, 78, 68, 46, 67, 79, 77, 13, 10, 36, 48,
49, 50, 51, 52, 53, 54, 55, 56, 57, 65, 66, 67, 68, 69, 70, 48,
49, 50, 51, 52, 53, 54, 55, 56, 57, 65, 66, 67, 68, 69, 70, 48,
49, 50, 51, 52, 53, 54, 55, 56, 57, 65, 66, 67, 68, 69, 70, 48,
49, 50, 51, 52, 53, 54, 55, 56, 57, 65, 66, 67, 68, 69, 70,120,
120};
#define rmod_len 369
142, 6, 8, 0,139, 22,142, 0,161, 8, 0,163,250, 0,137, 22,
252, 0,140, 6,254, 0,184, 0, 75, 6, 31, 14, 7,187,250, 0,
205, 33,115,190,140,203,142,219, 4, 48,162, 12, 1,180, 9,186,
8, 1,205, 33,180, 8,205, 33,235,168, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 69, 82, 82, 32,120, 44, 32, 70,
65, 73, 76, 69, 68, 32, 84, 79, 32, 76, 79, 65, 68, 32, 67, 79,
77, 77, 65, 78, 68, 46, 67, 79, 77, 13, 10, 36, 48, 49, 50, 51,
52, 53, 54, 55, 56, 57, 65, 66, 67, 68, 69, 70, 48, 49, 50, 51,
52, 53, 54, 55, 56, 57, 65, 66, 67, 68, 69, 70, 48, 49, 50, 51,
52, 53, 54, 55, 56, 57, 65, 66, 67, 68, 69, 70, 48, 49, 50, 51,
52, 53, 54, 55, 56, 57, 65, 66, 67, 68, 69, 70,120,120};
#define rmod_len 366