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.12 by cebix, 2002-01-15T14:58:43Z vs.
Revision 1.13 by gbeauche, 2002-09-01T15:17:13Z

# Line 65 | Line 65 | bool Init680x0(void)
65          ROMBaseMac = (uint32)ROMBaseHost;
66   #elif DIRECT_ADDRESSING
67          // Mac address space = host address space minus constant offset (MEMBaseDiff)
68 <        // NOTE: MEMBaseDiff is set in main_unix.cpp/main()
68 >        // NOTE: MEMBaseDiff is set up in main_unix.cpp/main()
69          RAMBaseMac = 0;
70          ROMBaseMac = Host2MacAddr(ROMBaseHost);
71   #else
# Line 122 | Line 122 | void InitFrameBufferMapping(void)
122   void Start680x0(void)
123   {
124          m68k_reset();
125 <        m68k_go(true);
125 >        m68k_execute();
126   }
127  
128  
# Line 132 | Line 132 | void Start680x0(void)
132  
133   void TriggerInterrupt(void)
134   {
135 <        regs.spcflags |= SPCFLAG_INT;
135 >        SPCFLAGS_SET( SPCFLAG_INT );
136   }
137  
138   void TriggerNMI(void)
# Line 179 | Line 179 | void Execute68kTrap(uint16 trap, struct
179          m68k_setpc(m68k_areg(regs, 7));
180          fill_prefetch_0();
181          quit_program = 0;
182 <        m68k_go(true);
182 >        m68k_execute();
183  
184          // Clean up stack
185          m68k_areg(regs, 7) += 4;
# Line 226 | Line 226 | void Execute68k(uint32 addr, struct M68k
226          m68k_setpc(addr);
227          fill_prefetch_0();
228          quit_program = 0;
229 <        m68k_go(true);
229 >        m68k_execute();
230  
231          // Clean up stack
232          m68k_areg(regs, 7) += 2;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines