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

Comparing BasiliskII/src/uae_cpu/basilisk_glue.cpp (file contents):
Revision 1.5 by cebix, 2000-08-22T12:44:30Z vs.
Revision 1.7 by gbeauche, 2000-09-22T17:18:15Z

# Line 32 | Line 32
32  
33  
34   // RAM and ROM pointers
35 < uint32 RAMBaseMac;                      // RAM base (Mac address space)
35 > uint32 RAMBaseMac = 0;          // RAM base (Mac address space) gb-- init is important
36   uint8 *RAMBaseHost;                     // RAM base (host address space)
37   uint32 RAMSize;                         // Size of RAM
38   uint32 ROMBaseMac;                      // ROM base (Mac address space)
# Line 46 | Line 46 | uint32 MacFrameSize;           // Size of frame b
46   int MacFrameLayout;                     // Frame buffer layout
47   #endif
48  
49 + #if DIRECT_ADDRESSING
50 + uintptr MEMBaseDiff;            // Global offset between a Mac address and its Host equivalent
51 + #endif
52 +
53   // From newcpu.cpp
54   extern int quit_program;
55  
# Line 60 | Line 64 | bool Init680x0(void)
64          // Mac address space = host address space
65          RAMBaseMac = (uint32)RAMBaseHost;
66          ROMBaseMac = (uint32)ROMBaseHost;
67 + #elif DIRECT_ADDRESSING
68 +        InitMEMBaseDiff(RAMBaseHost, RAMBaseMac);
69   #else
70          // Initialize UAE memory banks
71          RAMBaseMac = 0;
# Line 95 | Line 101 | bool Init680x0(void)
101  
102   void Exit680x0(void)
103   {
104 +        exit_m68k();
105   }
106  
107  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines