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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [monitor/] [monitor/] [common/] [main.c] - Diff between revs 59 and 182

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

Rev 59 Rev 182
Line 10... Line 10...
#include "getline.h"
#include "getline.h"
#include "instr.h"
#include "instr.h"
#include "cpu.h"
#include "cpu.h"
 
 
 
 
 
#define VERSION         "1.04"
 
#define PROMPT          "ECO32 > "
 
 
 
 
int main(void) {
int main(void) {
  char *line;
  char *line;
 
 
  printf("\n\nECO32 Machine Monitor 1.3\n\n");
  printf("\n\nECO32 Machine Monitor %s\n\n", VERSION);
  initInstrTable();
  initInstrTable();
  cpuSetPC(0xC0010000);
  cpuSetPC(0xC0010000);
  cpuSetPSW(0x08000000);
  cpuSetPSW(0x08000000);
  while (1) {
  while (1) {
    line = getLine("ECO32 > ");
    line = getLine(PROMPT);
    addHist(line);
    addHist(line);
    execCommand(line);
    execCommand(line);
  }
  }
  return 0;
  return 0;
}
}

powered by: WebSVN 2.1.0

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