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

Subversion Repositories eco32

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

Show entire file | Details | Blame | View Log

Rev 250 Rev 275
Line 11... Line 11...
#include "console.h"
#include "console.h"
#include "error.h"
#include "error.h"
#include "command.h"
#include "command.h"
#include "instr.h"
#include "instr.h"
#include "cpu.h"
#include "cpu.h"
 
#include "trace.h"
#include "mmu.h"
#include "mmu.h"
#include "memory.h"
#include "memory.h"
#include "timer.h"
#include "timer.h"
#include "dspkbd.h"
#include "dspkbd.h"
#include "serial.h"
#include "serial.h"
Line 195... Line 196...
  if (graphics) {
  if (graphics) {
    graphInit();
    graphInit();
  }
  }
  memoryInit(memSize * M, progName, loadAddr, romName);
  memoryInit(memSize * M, progName, loadAddr, romName);
  mmuInit();
  mmuInit();
 
  traceInit();
  if (progName != NULL) {
  if (progName != NULL) {
    initialPC = 0xC0000000 | loadAddr;
    initialPC = 0xC0000000 | loadAddr;
  } else {
  } else {
    initialPC = 0xC0000000 | ROM_BASE;
    initialPC = 0xC0000000 | ROM_BASE;
  }
  }
Line 218... Line 220...
        break;
        break;
      }
      }
    }
    }
  }
  }
  cpuExit();
  cpuExit();
 
  traceExit();
  mmuExit();
  mmuExit();
  memoryExit();
  memoryExit();
  timerExit();
  timerExit();
  displayExit();
  displayExit();
  keyboardExit();
  keyboardExit();

powered by: WebSVN 2.1.0

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