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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [monitor/] [monitor/] [common/] [load.c] - Diff between revs 59 and 201

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

Rev 59 Rev 201
Line 1... Line 1...
/*
/*
 * load.c -- load S-record file from serial line
 * load.c -- load S-records from serial line
 */
 */
 
 
 
 
#include "common.h"
#include "common.h"
#include "stdarg.h"
#include "stdarg.h"
Line 80... Line 80...
    return ser1in();
    return ser1in();
  }
  }
}
}
 
 
 
 
void load(int serno) {
void load(int serno, Bool start) {
  int i, j;
  int i, j;
  Bool run;
  Bool run;
  int type;
  int type;
  int count;
  int count;
  Word chksum;
  Word chksum;
Line 218... Line 218...
        break;
        break;
    }
    }
  }
  }
  serialOut(serno, 'q');
  serialOut(serno, 'q');
  printf("Connection to load server closed.\n");
  printf("Connection to load server closed.\n");
 
  if (start) {
 
    cpuRun();
 
  }
}
}
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

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