1 |
|
/* |
2 |
|
* xpram.cpp - XPRAM handling |
3 |
|
* |
4 |
< |
* Basilisk II (C) 1997-2001 Christian Bauer |
4 |
> |
* Basilisk II (C) 1997-2004 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 |
30 |
|
|
31 |
|
|
32 |
|
// Extended parameter RAM |
33 |
< |
uint8 XPRAM[256]; |
33 |
> |
uint8 XPRAM[XPRAM_SIZE]; |
34 |
|
|
35 |
|
|
36 |
|
/* |
40 |
|
void XPRAMInit(void) |
41 |
|
{ |
42 |
|
// Clear XPRAM |
43 |
< |
memset(XPRAM, 0, 256); |
43 |
> |
memset(XPRAM, 0, XPRAM_SIZE); |
44 |
|
|
45 |
|
// Load XPRAM from settings file |
46 |
|
LoadXPRAM(); |