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.3 by cebix, 2003-04-11T20:23:02Z vs.
Revision 1.4 by cebix, 2003-10-21T16:56:19Z

# 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