Technical/Development Question about DraStic

Ask questions about DraStic or discuss compatibility issues here.
Post Reply
culex316
Posts:2
Joined:Thu Aug 08, 2013 9:24 pm
Technical/Development Question about DraStic

Post by culex316 » Thu Aug 08, 2013 9:34 pm

Hi,

First of all, great emulator guys! I bought it today for my Galaxy Nexus running JB 4.2.2. and it's running smoothly.

I have technical questions that piqued my curiosity:

Does the fact that the Nintendo DS uses an ARM CPU make it any easier to make an emulator for an ARM-based device (like Android devices) or did you still have to implement some sort of dynamic recompiler?

Thanks

Rob

Exophase
Posts:1716
Joined:Mon Aug 05, 2013 9:08 pm

Re: Technical/Development Question about DraStic

Post by Exophase » Thu Aug 08, 2013 10:11 pm

It uses a dynamic recompiler. Virtualization doesn't really work because fast checks for memory need to be inlined, plus it needs to count cycles and schedule events on a really fine grain. There'd be some other issues as well, and most ARM hardware doesn't have full virtualization support anyway.

Going from ARM to ARM does allow it to do some operations in one instruction where other recompiler targets would need multiple instructions.

Post Reply