[NTLK] MPW simulator to run ARM6asm etc.

Matthias Melcher mm at matthiasm.com
Tue Aug 6 07:36:04 EDT 2013


On 06.08.2013, at 09:35, Eckhart Köppen <lists at 40hz.org> wrote:

> On Sun, Aug 4, 2013 at 5:11 PM, Matthias Melcher <mm at matthiasm.com> wrote:
>> 
>> Hi Eckhart,
>> 
>>>> http://code.google.com/p/dynee5/source/browse/#svn%2Ftrunk%2FAlienate
>> 
>> I made most of the tools run. If you have a way to test the setup, please download the code and build it in the current Xcode.
> 
> Got it working here too :) I'm trying to compile Blunt-2 as a test
> case, and am getting actually quite far. Most problems are in putting
> together a proper build environment and Makefile and passing the right
> parameters to the tools.
> 
> Right now, mosrun is pretty slow (takes a couple of minutes to compile
> one .cp file), but this seems to be easily optimizable (the culprit is
> the class MosBlockList which takes about 99% of the runtime). Could be
> worth checking if a hashmap would fix this. I'll send you the details
> per mail, until then, huge thanks!

Just go into "main.h" and change

#define MOS_BOUNDS_CHECK 1

to 

#define MOS_BOUNDS_CHECK 0

This option was introduced to check *every* memory access again *every* block ever allocated. Very time consuming, bt also very helpful in detecting bugs.




More information about the NewtonTalk mailing list