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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [sim/] [main.c] - Diff between revs 8 and 25

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

Rev 8 Rev 25
Line 18... Line 18...
#include "timer.h"
#include "timer.h"
#include "dspkbd.h"
#include "dspkbd.h"
#include "term.h"
#include "term.h"
#include "disk.h"
#include "disk.h"
#include "output.h"
#include "output.h"
 
#include "shutdown.h"
#include "graph.h"
#include "graph.h"
 
 
 
 
static void usage(char *myself) {
static void usage(char *myself) {
  fprintf(stderr, "Usage: %s\n", myself);
  fprintf(stderr, "Usage: %s\n", myself);
Line 148... Line 149...
    keyboardInit();
    keyboardInit();
  }
  }
  termInit(numTerms);
  termInit(numTerms);
  diskInit(diskName);
  diskInit(diskName);
  outputInit(outputName);
  outputInit(outputName);
 
  shutdownInit();
  if (graphics) {
  if (graphics) {
    graphInit();
    graphInit();
  }
  }
  memoryInit(memSize * M, progName, romName);
  memoryInit(memSize * M, progName, romName);
  mmuInit();
  mmuInit();
Line 184... Line 186...
  displayExit();
  displayExit();
  keyboardExit();
  keyboardExit();
  termExit();
  termExit();
  diskExit();
  diskExit();
  outputExit();
  outputExit();
 
  shutdownExit();
  graphExit();
  graphExit();
  cPrintf("ECO32 Simulator finished\n");
  cPrintf("ECO32 Simulator finished\n");
  cExit();
  cExit();
  return 0;
  return 0;
}
}

powered by: WebSVN 2.1.0

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