/[cebix]/BasiliskII/src/emul_op.cpp
ViewVC logotype

Diff of /BasiliskII/src/emul_op.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.23 by cebix, Fri Feb 2 20:52:57 2001 UTC revision 1.24 by gbeauche, Sat Feb 10 11:37:42 2001 UTC
# Line 248  void EmulOp(uint16 opcode, M68kRegisters Line 248  void EmulOp(uint16 opcode, M68kRegisters
248                                  WriteMacInt8(asc_regs + 0x800, 0x0f);   // Set ASC version number                                  WriteMacInt8(asc_regs + 0x800, 0x0f);   // Set ASC version number
249                                  WriteMacInt32(0xcc0, asc_regs);                 // Set ASCBase                                  WriteMacInt32(0xcc0, asc_regs);                 // Set ASCBase
250                          }                          }
   
 #if (REAL_ADDRESSING || DIRECT_ADDRESSING) && defined(USE_SCRATCHMEM_SUBTERFUGE)  
                         extern uint8 *ScratchMem;  
   
                         // Set VIA base address to scratch memory area  
                         D(bug("Patch VIA base address [0x%x] to ScratchMem\n", ReadMacInt32(0x1d4)));  
                         WriteMacInt32(0x1d4, Host2MacAddr(ScratchMem));  
   
                         // Set SCCRd base address to scratch memory area  
                         D(bug("Patch SCCRd base address [0x%x] to ScratchMem\n", ReadMacInt32(0x1d8)));  
                         WriteMacInt32(0x1d8, Host2MacAddr(ScratchMem));  
   
                         // Set SCCWr base address to scratch memory area  
                         D(bug("Patch SCCWr base address [0x%x] to ScratchMem\n", ReadMacInt32(0x1dc)));  
                         WriteMacInt32(0x1dc, Host2MacAddr(ScratchMem));  
 #endif  
251                          break;                          break;
252                  }                  }
253    

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

Christian Bauer">Christian Bauer
ViewVC Help
Powered by ViewVC 1.1.15