From e6bc51edfc62ae9b1bfc5beec7290590da502409 Mon Sep 17 00:00:00 2001 From: Daniel Loffgren Date: Wed, 23 Sep 2015 07:29:18 +0000 Subject: [PATCH] Until the map issue is fixed, it's still not necessary to load more than one copy of the ROM, since the FFxx range can operate standalone git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@57 64f78de7-aa59-e511-a0e8-0002a5492df0 --- apple1/main.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/apple1/main.c b/apple1/main.c index 4fc5848..fbf4310 100644 --- a/apple1/main.c +++ b/apple1/main.c @@ -83,12 +83,8 @@ int main(int argc, const char * argv[]) // Load Woz Monitor printf("Loading ROM...\n"); - for (uint16_t start = ROM_START; - start < v6502_memoryStartCeiling && start >= ROM_START; - start += ROM_SIZE + 1) { - v6502_loadFileAtAddress(cpu->memory, "apple1.rom", start); - //v6502_map(cpu->memory, start, ROM_SIZE, romMirrorCallback, NULL, NULL); - } + v6502_loadFileAtAddress(cpu->memory, "apple1.rom", RESET_VECTOR); + //v6502_map(cpu->memory, start, ROM_SIZE, romMirrorCallback, NULL, NULL); // Attach PIA printf("Initializing PIA...\n");