From 40f4c65258f36df96372b2e9b284cfee4bed8b25 Mon Sep 17 00:00:00 2001 From: Alvaro Date: Mon, 20 Jun 2011 20:07:08 +0100 Subject: [PATCH] simulator: don't bail on unknown addresses --- zpu/hdl/zpuino/simulator/simple-simulator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zpu/hdl/zpuino/simulator/simple-simulator.c b/zpu/hdl/zpuino/simulator/simple-simulator.c index 58c2f2f..686ed84 100644 --- a/zpu/hdl/zpuino/simulator/simple-simulator.c +++ b/zpu/hdl/zpuino/simulator/simple-simulator.c @@ -169,7 +169,7 @@ unsigned int io_read_dummy(unsigned int address) { printf("Invalid IO read, address 0x%08x\n",address); printf("Slot: %d\n", (address>>(MAXBITINCIO-IOSLOT_BITS))&0xf); - byebye(); + //byebye(); return 0; } @@ -177,7 +177,7 @@ void io_write_dummy(unsigned int address,unsigned int val) { printf("Invalid IO write, address 0x%08x = 0x%08x\n",address,val); printf("Slot: %d\n", (address>>(MAXBITINCIO-IOSLOT_BITS))&0xf); - byebye(); + //byebye(); } extern void timer_tick(); -- 2.11.4.GIT