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

Subversion Repositories eco32

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /eco32/trunk/monitor/monitor/common
    from Rev 185 to Rev 200
    Reverse comparison

Rev 185 → Rev 200

/boot.c
12,7 → 12,7
#include "start.h"
 
 
void boot(int dskno) {
void boot(int dskno, Bool start) {
Word capacity;
Byte sig1, sig2;
 
42,5 → 42,7
cpuSetReg(17, 0);
cpuSetReg(18, capacity);
cpuSetPC(VIRT_BOOT);
cpuRun();
if (start) {
cpuRun();
}
}
/boot.h
11,7 → 11,7
#define VIRT_BOOT 0xC0010000 /* where to start the bootstrap */
 
 
void boot(int dskno);
void boot(int dskno, Bool start);
 
 
#endif /* _BOOT_H_ */
/command.c
156,7 → 156,8
 
 
static void help16(void) {
printf(" boot <n> load and execute first sector of disk <n>\n");
printf(" boot <n> load and start first sector of disk <n>\n");
printf(" boot <n> * load first sector of disk <n>, do not start\n");
}
 
 
796,7 → 797,17
printf("illegal disk number\n");
return;
}
boot(dskno);
boot(dskno, true);
} else if (n == 3) {
if (!getDecNumber(tokens[1], &dskno) || dskno < 0 || dskno > 1) {
printf("illegal disk number\n");
return;
}
if (strcmp(tokens[2], "*") != 0) {
help16();
return;
}
boot(dskno, false);
} else {
help16();
}
/main.c
12,7 → 12,7
#include "cpu.h"
 
 
#define VERSION "1.04"
#define VERSION "1.05"
#define PROMPT "ECO32 > "
 
 
/cpu.c
15,7 → 15,7
#define RR(n) r[n]
#define WR(n,d) ((void) ((n) != 0 ? r[n] = (d) : (d)))
 
#define BREAK (OP_TRAP << 26)
#define BREAK ((OP_TRAP << 26) | 0x0001)
 
 
/**************************************************************/

powered by: WebSVN 2.1.0

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