OpenCores
URL https://opencores.org/ocsvn/eco32/eco32/trunk

Subversion Repositories eco32

[/] [eco32/] [trunk/] [sim/] [main.c] - Diff between revs 246 and 250

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 246 Rev 250
Line 172... Line 172...
  if (progName == NULL && romName == NULL && !interactive) {
  if (progName == NULL && romName == NULL && !interactive) {
    cPrintf("Neither a program to load nor a system ROM was\n");
    cPrintf("Neither a program to load nor a system ROM was\n");
    cPrintf("specified, so interactive mode is assumed.\n");
    cPrintf("specified, so interactive mode is assumed.\n");
    interactive = true;
    interactive = true;
  }
  }
 
  for (j = MAX_NSERIALS - 1; j >= 0; j--) {
 
    if (connectTerminals[j] && j >= numSerials) {
 
      /* user wants a terminal on a line which is not installed */
 
      numSerials = j + 1;
 
      cPrintf("Serial lines 0..%d automatically installed.\n", j);
 
      break;
 
    }
 
  }
  initInstrTable();
  initInstrTable();
  timerInit();
  timerInit();
  if (console) {
  if (console) {
    displayInit();
    displayInit();
    keyboardInit();
    keyboardInit();

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.