# Simulation of FreeRTOS on windows XP

**URL:** <https://forums.freertos.org/t/simulation-of-freertos-on-windows-xp/2873>\
**Category:** Kernel\
**Created:** [August 9, 2010, 3:09pm UTC](https://forums.freertos.org/t/simulation-of-freertos-on-windows-xp/2873 "2010-08-09T15:09:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [August 9, 2010, 3:09pm UTC](https://forums.freertos.org/t/simulation-of-freertos-on-windows-xp/2873/1 "2010-08-09T15:09:52Z")

</div>

**[child4](https://sourceforge.net/u/child4/)** wrote on [Monday, August 09, 2010](https://sourceforge.net/p/freertos/discussion/382005/thread/7e415140/#a475):

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/](http://www.freertos.org/)” site, and I’m a little bit confused from the explanation there.

I tried to compile the project of&nbsp; “Demo\PC” 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 (Demo\PC) what I need in order to do such simulation?  
&nbsp;  
2.&nbsp; In case that the Demo\PC is the correct directory I need,  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; What should be the watcom definitions for:  
&nbsp;&nbsp;&nbsp;&nbsp; \* memory model,  
&nbsp;&nbsp;&nbsp;&nbsp; \* target processor,  
&nbsp;&nbsp;&nbsp;&nbsp; \* Linker system&nbsp; ?  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  
Thank you.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [August 9, 2010, 5:16pm UTC](https://forums.freertos.org/t/simulation-of-freertos-on-windows-xp/2873/2 "2010-08-09T17:16:51Z")

</div>

**[edwards3](https://sourceforge.net/u/edwards3/)** wrote on [Monday, August 09, 2010](https://sourceforge.net/p/freertos/discussion/382005/thread/7e415140/#5a05):

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.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [August 9, 2010, 6:53pm UTC](https://forums.freertos.org/t/simulation-of-freertos-on-windows-xp/2873/3 "2010-08-09T18:53:43Z")

</div>

**[child4](https://sourceforge.net/u/child4/)** wrote on [Monday, August 09, 2010](https://sourceforge.net/p/freertos/discussion/382005/thread/7e415140/#3924):

You are right. The 16-bit option was not checked, when I installed the watcom. I installed&nbsp;&nbsp; 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.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [August 9, 2010, 7:16pm UTC](https://forums.freertos.org/t/simulation-of-freertos-on-windows-xp/2873/4 "2010-08-09T19:16:19Z")

</div>

**[edwards3](https://sourceforge.net/u/edwards3/)** wrote on [Monday, August 09, 2010](https://sourceforge.net/p/freertos/discussion/382005/thread/7e415140/#3565):

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](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.
