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

Comparing BasiliskII/src/main.cpp (file contents):
Revision 1.13 by cebix, 2002-04-25T11:00:30Z vs.
Revision 1.18 by asvitkine, 2009-07-23T19:19:14Z

# Line 1 | Line 1
1   /*
2   *  main.cpp - Startup/shutdown code
3   *
4 < *  Basilisk II (C) 1997-2002 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 45 | Line 45
45   #if ENABLE_MON
46   #include "mon.h"
47  
48 < static uint32 mon_read_byte_b2(uint32 adr)
48 > static uint32 mon_read_byte_b2(uintptr adr)
49   {
50          return ReadMacInt8(adr);
51   }
52  
53 < static void mon_write_byte_b2(uint32 adr, uint32 b)
53 > static void mon_write_byte_b2(uintptr adr, uint32 b)
54   {
55          WriteMacInt8(adr, b);
56   }
# Line 61 | Line 61 | static void mon_write_byte_b2(uint32 adr
61   *  Initialize everything, returns false on error
62   */
63  
64 < bool InitAll(void)
64 > bool InitAll(const char *vmdir)
65   {
66          // Check ROM version
67          if (!CheckROM()) {
# Line 100 | Line 100 | bool InitAll(void)
100   #endif
101  
102          // Load XPRAM
103 <        XPRAMInit();
103 >        XPRAMInit(vmdir);
104  
105          // Load XPRAM default values if signature not found
106          if (XPRAM[0x0c] != 0x4e || XPRAM[0x0d] != 0x75

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines