#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include "console.h"
#include "cpu.h"
#include "machine.h"
#include "memory.h"
#include "misc.h"
#include "thirdparty/mvmeprom.h"
Go to the source code of this file.
Macros | |
#define | MVMEPROM_BRDID_ADDR 0x1100 |
Functions | |
void | mvmeprom_init (struct machine *machine) |
int | mvmeprom_emul (struct cpu *cpu) |
#define MVMEPROM_BRDID_ADDR 0x1100 |
Definition at line 49 of file mvmeprom.cc.
Referenced by mvmeprom_emul(), and mvmeprom_init().
int mvmeprom_emul | ( | struct cpu * | cpu | ) |
Definition at line 99 of file mvmeprom.cc.
References cpu::cd, console_putchar(), cpu_register_dump(), fatal(), cpu::m88k, cpu::machine, machine::main_console_handle, MVMEPROM_BRDID_ADDR, MVMEPROM_EXIT, MVMEPROM_GETBRDID, MVMEPROM_OUTCHR, MVMEPROM_OUTCRLF, m88k_cpu::r, and cpu::running.
Referenced by X().
void mvmeprom_init | ( | struct machine * | machine | ) |
Definition at line 55 of file mvmeprom.cc.
References cpu::cd, machine::cpus, m88k_cpu::cr, cpu::m88k, M88K_CR_VBR, M88K_PROM_INSTR, MACHINE_MVME88K_187, MACHINE_MVME88K_188, MACHINE_MVME88K_197, machine::machine_subtype, mvmeprom_brdid::model, MVMEPROM_BRDID_ADDR, MVMEPROM_VECTOR, mvmeprom_brdid::speed, store_16bit_word_in_host(), store_32bit_word(), and store_buf().
Referenced by MACHINE_SETUP().