new psp class used for all psp actions
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@264
This commit is contained in:
parent
79f9d333b3
commit
bd35a40c9d
8 changed files with 319 additions and 312 deletions
|
@ -60,7 +60,7 @@ static Bitu PROGRAMS_Handler(void) {
|
|||
/* First get the current psp */
|
||||
PROGRAM_Info * info=new PROGRAM_Info;
|
||||
info->psp_seg=dos.psp;
|
||||
MEM_BlockRead(PhysMake(dos.psp,0),&info->psp_copy,sizeof(PSP));
|
||||
MEM_BlockRead(PhysMake(dos.psp,0),&info->psp_copy,sizeof(sPSP));
|
||||
/* Get the file name cmd_line 0 */
|
||||
PhysPt envblock=PhysMake(info->psp_copy.environment,0);
|
||||
do {} while (mem_readw(envblock++));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue