ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/xpram.cpp
(Generate patch)

Comparing BasiliskII/src/xpram.cpp (file contents):
Revision 1.1.1.1 by cebix, 1999-10-03T14:16:25Z vs.
Revision 1.9 by asvitkine, 2009-07-23T19:19:14Z

# Line 1 | Line 1
1   /*
2   *  xpram.cpp - XPRAM handling
3   *
4 < *  Basilisk II (C) 1997-1999 Christian Bauer
4 > *  Basilisk II (C) 1997-2008 Christian Bauer
5   *
6   *  This program is free software; you can redistribute it and/or modify
7   *  it under the terms of the GNU General Public License as published by
# Line 30 | Line 30
30  
31  
32   // Extended parameter RAM
33 < uint8 XPRAM[256];
33 > uint8 XPRAM[XPRAM_SIZE];
34  
35  
36   /*
37   *  Initialize XPRAM
38   */
39  
40 < void XPRAMInit(void)
40 > void XPRAMInit(const char *vmdir)
41   {
42          // Clear XPRAM
43 <        memset(XPRAM, 0, 256);
43 >        memset(XPRAM, 0, XPRAM_SIZE);
44  
45          // Load XPRAM from settings file
46 <        LoadXPRAM();
46 >        LoadXPRAM(vmdir);
47   }
48  
49  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines