Simulation of FreeRTOS on windows XP

Hello,
I want to simulate MultiTasking environment on my PC (with windows XP and over AMD Athlon dual core),
I have read the documentation on the “http://www.freertos.org/” site, and I’m a little bit confused from the explanation there. I tried to compile the project of  “DemoPC” directory, after downloading the zip file of version 6.0.5 of FreeRTOS.
The compilation was failed. I tried to create new project with the same files and definitions of the existing project,
but I’ve realized that it was impossible, since there are some definitions that I couldn’t find in open watcom (version 1.8) 1. Is that directory (DemoPC) what I need in order to do such simulation?
 
2.  In case that the DemoPC is the correct directory I need,
      What should be the watcom definitions for:
     * memory model,
     * target processor,
     * Linker system  ?
      
Thank you.

Simulation of FreeRTOS on windows XP

The Demo/PC directory contains an Open Watcom project that should contain everything you need, so all you have to do is open the project. Make sure you have the 16bit version of the Open Watcom tools installed though, it is an option during the installation process.

Simulation of FreeRTOS on windows XP

You are right. The 16-bit option was not checked, when I installed the watcom. I installed   it again, and now it can be compiled. I assume that your answer for my first question is: ‘Yes’, meaning that this is the way for simulating RT embedded environment
on my PC…? (I haven’t yet looked deeply inside the tasks code) Thanks.

Simulation of FreeRTOS on windows XP

The Watcom port is a real mode emulation. Not real real time, but no windows simulation will be real real time. See also http://interactive.freertos.org/forums/135231-windows-or-linux-based-ports-and-simulators You can also run Keil ARM demos in the Keil simulator on a PC.