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

Comparing SIDPlayer/src/mem.cpp (file contents):
Revision 1.2 by cebix, 2001-01-21T18:04:46Z vs.
Revision 1.5 by cebix, 2004-01-12T15:15:49Z

# Line 1 | Line 1
1   /*
2   *  mem.cpp - Emulator memory management
3   *
4 < *  SIDPlayer (C) Copyright 1996-2001 Christian Bauer
4 > *  SIDPlayer (C) Copyright 1996-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
# Line 37 | Line 37 | uint8 ram[RAM_SIZE];
37   *  Init memory management
38   */
39  
40 < void MemoryInit(void)
40 > void MemoryInit()
41   {
42          // Clear memory contents
43          MemoryClear();
# Line 48 | Line 48 | void MemoryInit(void)
48   *  Exit memory management
49   */
50  
51 < void MemoryExit(void)
51 > void MemoryExit()
52   {
53   }
54  
# Line 57 | Line 57 | void MemoryExit(void)
57   *  Clear memory contents
58   */
59  
60 < void MemoryClear(void)
60 > void MemoryClear()
61   {
62          memset(ram, 0, RAM_SIZE - 0x2000);
63          memset(ram + 0xe000, 0x40, 0x2000);             // Fill kernal ROM area with RTI

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines