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.9 by gbeauche, 2001-03-20T17:35:45Z vs.
Revision 1.12 by cebix, 2002-01-15T14:58:43Z

# Line 1 | Line 1
1   /*
2   *  basilisk_glue.cpp - Glue UAE CPU to Basilisk II CPU engine interface
3   *
4 < *  Basilisk II (C) 1997-2001 Christian Bauer
4 > *  Basilisk II (C) 1997-2002 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 64 | Line 64 | bool Init680x0(void)
64          RAMBaseMac = (uint32)RAMBaseHost;
65          ROMBaseMac = (uint32)ROMBaseHost;
66   #elif DIRECT_ADDRESSING
67 <        InitMEMBaseDiff(RAMBaseHost, RAMBaseMac);
67 >        // Mac address space = host address space minus constant offset (MEMBaseDiff)
68 >        // NOTE: MEMBaseDiff is set in main_unix.cpp/main()
69 >        RAMBaseMac = 0;
70 >        ROMBaseMac = Host2MacAddr(ROMBaseHost);
71   #else
72          // Initialize UAE memory banks
73          RAMBaseMac = 0;
# Line 102 | Line 105 | void Exit680x0(void)
105  
106  
107   /*
108 + *  Initialize memory mapping of frame buffer (called upon video mode change)
109 + */
110 +
111 + void InitFrameBufferMapping(void)
112 + {
113 + #if !REAL_ADDRESSING && !DIRECT_ADDRESSING
114 +        memory_init();
115 + #endif
116 + }
117 +
118 + /*
119   *  Reset and start 680x0 emulation (doesn't return)
120   */
121  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines