~vertigo/forthbox

096098a0b3bc2cf551af309fd8fdb9464e453458 — Samuel A. Falvo II 4 months ago 9ea5adf
Remove mirror logic
1 files changed, 3 insertions(+), 6 deletions(-)

M emulator/main.c
M emulator/main.c => emulator/main.c +3 -6
@@ 24,11 24,8 @@

/* Determines the bank for MVP/MVN-block I/O access */
#define BLOCK_IO_BANK		0xFD
#define EMU_IO_BASE			0x00FE00
#define EMU_IO_LIMIT		0x00FEFF
#define EMUold_IO_BASE	0xFC0000
#define EMUold_IO_LIMIT	0xFC00FF

#define EMU_IO_BASE			0xFC0000
#define EMU_IO_LIMIT		0xFC00FF

static uint32_t cpu_inst_count;
static uint32_t most_recent_insn;


@@ 350,7 347,7 @@ static void io_write(uint32_t addr, uint8_t value)

static bool
addressing_emulator_io(uint32_t addr) {
	return (addr >= EMU_IO_BASE && addr <= EMU_IO_LIMIT) || (addr >= EMUold_IO_BASE && addr <= EMUold_IO_LIMIT);
	return (addr >= EMU_IO_BASE && addr <= EMU_IO_LIMIT);
}

static bool