--- Frodo4/Src/1541d64.cpp 2003/07/01 17:09:43 1.1 +++ Frodo4/Src/1541d64.cpp 2003/07/02 14:46:24 1.3 @@ -1,7 +1,7 @@ /* * 1541d64.cpp - 1541 emulation in .d64 file * - * Frodo (C) 1994-1997,2002 Christian Bauer + * Frodo (C) 1994-1997,2002-2003 Christian Bauer * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -32,6 +32,7 @@ #include "1541d64.h" #include "IEC.h" #include "Prefs.h" +#include "C64.h" // Channel modes (IRC users listen up :-) @@ -83,7 +84,7 @@ D64Drive::D64Drive(IEC *iec, char *filep if (the_file != NULL) { // Allocate 1541 RAM - ram = new uint8[0x800]; + ram = new uint8[DRIVE_RAM_SIZE]; bam = (BAM *)(ram + 0x700); Reset();