118 |
|
uint32 get_cr() const { return cr().get(); } |
119 |
|
void set_cr(uint32 v) { cr().set(v); } |
120 |
|
|
121 |
– |
// Execution loop |
122 |
– |
void execute(uint32 entry, bool enable_cache = false); |
123 |
– |
|
121 |
|
// Execute 68k routine |
122 |
|
void execute_68k(uint32 entry, M68kRegisters *r); |
123 |
|
|
241 |
|
} |
242 |
|
} |
243 |
|
|
247 |
– |
// Execution loop |
248 |
– |
void sheepshaver_cpu::execute(uint32 entry, bool enable_cache) |
249 |
– |
{ |
250 |
– |
powerpc_cpu::execute(entry, enable_cache); |
251 |
– |
} |
252 |
– |
|
244 |
|
// Handle MacOS interrupt |
245 |
|
void sheepshaver_cpu::interrupt(uint32 entry) |
246 |
|
{ |
677 |
|
current_cpu->start_log(); |
678 |
|
#endif |
679 |
|
// start emulation loop and enable code translation or caching |
680 |
< |
current_cpu->execute(entry, true); |
680 |
> |
current_cpu->execute(entry); |
681 |
|
} |
682 |
|
|
683 |
|
/* |