Subversion Repositories SvarDOS

Rev

Rev 533 | Rev 571 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 533 Rev 538
Line 31... Line 31...
31
#include <i86.h>
31
#include <i86.h>
32
#include <stdio.h>
32
#include <stdio.h>
33
#include <stdlib.h>
33
#include <stdlib.h>
34
#include <string.h>
34
#include <string.h>
35
 
35
 
36
#include "doserr.h"
-
 
37
#include "env.h"
36
#include "env.h"
38
#include "helpers.h"
37
#include "helpers.h"
39
#include "redir.h"
38
#include "redir.h"
40
#include "rmodinit.h"
39
#include "rmodinit.h"
41
#include "sayonara.h"
40
#include "sayonara.h"
Line 229... Line 228...
229
        mov curdrive, al /* cur drive (0=A, 1=B, etc) */
228
        mov curdrive, al /* cur drive (0=A, 1=B, etc) */
230
        pop dx
229
        pop dx
231
        pop ax
230
        pop ax
232
      }
231
      }
233
      if (curdrive == drive) return(CMD_OK);
232
      if (curdrive == drive) return(CMD_OK);
234
      outputnl(doserr(0x0f));
233
      nls_outputnl_doserr(0x0f);
235
      return(CMD_FAIL);
234
      return(CMD_FAIL);
236
    }
235
    }
237
  }
236
  }
238
 
237
 
239
  /* try matching an internal command */
238
  /* try matching an internal command */