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

Comparing BasiliskII/src/emul_op.cpp (file contents):
Revision 1.23 by cebix, 2001-02-02T20:52:57Z vs.
Revision 1.24 by gbeauche, 2001-02-10T11:37:42Z

# Line 248 | Line 248 | void EmulOp(uint16 opcode, M68kRegisters
248                                  WriteMacInt8(asc_regs + 0x800, 0x0f);   // Set ASC version number
249                                  WriteMacInt32(0xcc0, asc_regs);                 // Set ASCBase
250                          }
251                        
252 #if (REAL_ADDRESSING || DIRECT_ADDRESSING) && defined(USE_SCRATCHMEM_SUBTERFUGE)
253                        extern uint8 *ScratchMem;
254                        
255                        // Set VIA base address to scratch memory area
256                        D(bug("Patch VIA base address [0x%x] to ScratchMem\n", ReadMacInt32(0x1d4)));
257                        WriteMacInt32(0x1d4, Host2MacAddr(ScratchMem));
258                        
259                        // Set SCCRd base address to scratch memory area
260                        D(bug("Patch SCCRd base address [0x%x] to ScratchMem\n", ReadMacInt32(0x1d8)));
261                        WriteMacInt32(0x1d8, Host2MacAddr(ScratchMem));
262                        
263                        // Set SCCWr base address to scratch memory area
264                        D(bug("Patch SCCWr base address [0x%x] to ScratchMem\n", ReadMacInt32(0x1dc)));
265                        WriteMacInt32(0x1dc, Host2MacAddr(ScratchMem));
266 #endif
251                          break;
252                  }
253  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines