Unverified Commit 2a01065c authored by gameblabla's avatar gameblabla
Browse files

Removing ROMs and other files.

I think the ROMS are copyright the Russian Govertment (due to the ROMS
technically being owned by the Soviet Govt, see the case of Tetris).
It's possible that the manufacturer got the rights back though...
I have honestly no idea.
parent 817aa7ef
......@@ -148,9 +148,9 @@ boot_init()
/* Monitor must be exactly 8k */
load_rom(0100000, rompath10, 8192, 8192);
/* Basic or Focal ROM may be 24448 to 24576 bytes */
load_rom(0120000, rompath12, 24448, 24576);
/* Basic or Focal ROM may be 24448 to 24576 bytes */
load_rom(0120000, rompath12, 24448, 24576);
/* Disk controller BIOS is exactly 4k */
load_rom(0160000, rompath16, 4096, 4096);
load_rom(0160000, rompath16, 4096, 4096);
}
GETTEXT_PACKAGE=bk
......@@ -82,6 +82,8 @@ typedef struct _pdp_regs {
} pdp_regs;
extern unsigned int hasexit;
/*
* Definitions for the memory map and memory operations.
*/
......
File deleted
......@@ -17,4 +17,4 @@
#define White {255,255,255}
extern int horsize, vertsize;
extern void Quit_SDL(void);
......@@ -45,6 +45,8 @@ int breakpoint = -1;
extern int traceflag;
static char buf[BUFSIZ];
void ui_load(const char *s);
/*
* ui() - The user interface main loop.
*/
......@@ -405,8 +407,7 @@ ui_registers()
* the parameter is expected to point at <octal number> <file name>
*/
ui_load(s)
char *s;
void ui_load(const char *s)
{
int addr = -1, len;
d_byte c1, c2;
......@@ -423,19 +424,19 @@ char *s;
perror(s);
return;
}
c1 = getc(f);
c2 = getc(f);
c1 = fgetc(f);
c2 = fgetc(f);
if (-1 == addr)
addr = c2 << 8 | c1;
c1 = getc(f);
c2 = getc(f);
c1 = fgetc(f);
c2 = fgetc(f);
len = c2 << 8 | c1;
fprintf(stderr, _("Reading %s into %06o... "), s, addr);
if (addr < 01000) {
fprintf(stderr, _("Possible start addresses: "));
do {
c1 = getc(f);
c2 = getc(f);
c1 = fgetc(f);
c2 = fgetc(f);
fprintf(stderr, "%06o ", c2 << 8 | c1);
addr += 2;
len -= 2;
......@@ -444,8 +445,8 @@ char *s;
}
/* the file is in little-endian format */
while (len > 0 && !feof(f)) {
c1 = getc(f);
c2 = getc(f);
c1 = fgetc(f);
c2 = fgetc(f);
if (OK != sc_word(addr, c2 << 8 | c1)) {
break;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment