Skip to content

Commit

Permalink
tsr should indicate sucessful load
Browse files Browse the repository at this point in the history
  • Loading branch information
davidly committed Mar 22, 2024
1 parent 9bc29dc commit 20d1304
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ntvdm.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -5862,6 +5862,7 @@ void handle_int_21( uint8_t c )
{
g_appTerminationReturnCode = cpu.al();
tracer.Trace( " tsr termination return code: %d\n", g_appTerminationReturnCode );
cpu.set_carry( false ); // indicate that the Create Process int x21 x4b (EXEC/Load and Execute Program) succeeded.
tracer.Trace( " tsr's environment block: %04x\n", psp->segEnvironment );
g_currentPSP = psp->segParent;
cpu.set_cs( ( psp->int22TerminateAddress >> 16 ) & 0xffff );
Expand Down

0 comments on commit 20d1304

Please sign in to comment.