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

Comparing BasiliskII/src/uae_cpu/memory.cpp (file contents):
Revision 1.3 by gbeauche, 2000-09-22T17:20:01Z vs.
Revision 1.6 by gbeauche, 2002-09-01T16:32:02Z

# Line 12 | Line 12
12   #include "sysdeps.h"
13  
14   #include "cpu_emulation.h"
15 + #include "main.h"
16 + #include "video.h"
17 +
18   #include "m68k.h"
19   #include "memory.h"
20   #include "readcpu.h"
21   #include "newcpu.h"
19 #include "main.h"
20 #include "video.h"
22  
23   #if !REAL_ADDRESSING && !DIRECT_ADDRESSING
24  
# Line 558 | Line 559 | addrbank frame_host_888_bank = {
559  
560   void memory_init(void)
561   {
562 <        char buffer[4096];
562 <        char *nam;
563 <        int i, fd;
564 <
565 <        for(i=0; i<65536; i++)
562 >        for(long i=0; i<65536; i++)
563                  put_mem_bank(i<<16, &dummy_bank);
564  
565          // Limit RAM size to not overlap ROM
569 #if REAL_ADDRESSING
570        uint32 ram_size = RAMSize;
571 #else
566          uint32 ram_size = RAMSize > ROMBaseMac ? ROMBaseMac : RAMSize;
573 #endif
567  
568          RAMBaseDiff = (uae_u32)RAMBaseHost - (uae_u32)RAMBaseMac;
569          ROMBaseDiff = (uae_u32)ROMBaseHost - (uae_u32)ROMBaseMac;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines