wolpert@hpfcbig.SDE.HP.COM (David Wolpert) (06/27/90)
onymouse@netcom.UUCP (John Debert): > In HP-150's COMMAND.COMv2.10, where is the constant that sets the size of the > environment? I have been unable so far to find it. I have v2.11, maybe they are similar. Note: I can never figure out when DEBUG adds 0x0100 to addresses. Browse around and be sure you are changing the right thing before proceeding. In my version, the changes are (from DIFF /B): ADDRESS NEW CODE ORIGINAL CODE 0x0CF3 0x18 0x0A 0x0D07 0x80 0xA0 0x0D08 0x01 0x00 Some context for clarity: 0x0CF2 MOV BX,0018 MOV BX,000A ;number of paragraphs MOV AH,48 MOV AH,48 ;allocate memory INT 21 INT 21 ;syscall 0x0D02 XOR SI,SI XOR SI,SI ;clear SI MOV DI,SI MOV DI,SI ;and DI MOV CX,0180 MOV CX,00A0 ;loop count REPZ REPZ > Thanx in advance, You're welcome. Hope this helps. Of course, no warranty is expressed or implied. David "I work for HP, but I do not represent them" Wolpert wolpert@hpfcses.SDE.HP.COM