Xemu [doxygen]
hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
|
#include "xemu/emutools.h"
#include "xemu/emutools_config.h"
#include "enterprise128.h"
#include "emu_rom_interface.h"
#include "xemu/../rom/ep128/xep_rom_syms.h"
#include "xemu/z80.h"
#include "cpu.h"
#include "roms.h"
#include "emu_monitor.h"
#include "fileio.h"
#include "configdb.h"
#include <unistd.h>
#include <time.h>
Go to the source code of this file.
Macros | |
#define | XEPSYM_ADDR(sym) (xep_rom_addr + (sym) - 0xC000) |
#define | XEPSYM_P(sym) (memory + XEPSYM_ADDR(sym)) |
#define | COBUF ((char*)XEPSYM_P(xepsym_cobuf)) |
#define | SET_XEPSYM_BYTE(sym, value) *XEPSYM_P(sym) = (value) |
#define | SET_XEPSYM_WORD(sym, value) |
#define | BIN2BCD(bin) ((((bin) / 10) << 4) | ((bin) % 10)) |
#define | EXOS_ADDR(n) (0x3FC000 | ((n) & 0x3FFF)) |
#define | EXOS_BYTE(n) memory[EXOS_ADDR(n)] |
#define | EXOS_GET_WORD(n) (EXOS_BYTE(n) | (EXOS_BYTE((n) + 1) << 8)) |
Functions | |
void | exos_get_status_line (char *buffer) |
void | xep_set_error (const char *msg) |
void | xep_set_time_consts (char *descbuffer) |
void | xep_set_default_device_name (const char *name) |
void | xep_rom_trap (Uint16 pc, Uint8 opcode) |
Variables | |
Uint8 | exos_version = 0 |
Uint8 | exos_info [8] |
#define BIN2BCD | ( | bin | ) | ((((bin) / 10) << 4) | ((bin) % 10)) |
Definition at line 42 of file emu_rom_interface.c.
#define COBUF ((char*)XEPSYM_P(xepsym_cobuf)) |
Definition at line 36 of file emu_rom_interface.c.
#define EXOS_ADDR | ( | n | ) | (0x3FC000 | ((n) & 0x3FFF)) |
Definition at line 48 of file emu_rom_interface.c.
Definition at line 49 of file emu_rom_interface.c.
Definition at line 50 of file emu_rom_interface.c.
Definition at line 37 of file emu_rom_interface.c.
#define SET_XEPSYM_WORD | ( | sym, | |
value | |||
) |
Definition at line 38 of file emu_rom_interface.c.
#define XEPSYM_ADDR | ( | sym | ) | (xep_rom_addr + (sym) - 0xC000) |
Definition at line 34 of file emu_rom_interface.c.
#define XEPSYM_P | ( | sym | ) | (memory + XEPSYM_ADDR(sym)) |
Definition at line 35 of file emu_rom_interface.c.
void exos_get_status_line | ( | char * | buffer | ) |
Definition at line 54 of file emu_rom_interface.c.
void xep_set_default_device_name | ( | const char * | name | ) |
Definition at line 95 of file emu_rom_interface.c.
void xep_set_error | ( | const char * | msg | ) |
Definition at line 64 of file emu_rom_interface.c.
void xep_set_time_consts | ( | char * | descbuffer | ) |
Definition at line 75 of file emu_rom_interface.c.
Uint8 exos_info[8] |
Definition at line 46 of file emu_rom_interface.c.
Uint8 exos_version = 0 |
Definition at line 45 of file emu_rom_interface.c.