# PC application

**URL:** <https://forums.freertos.org/t/pc-application/661>\
**Category:** Kernel\
**Created:** [May 18, 2007, 5:43am UTC](https://forums.freertos.org/t/pc-application/661 "2007-05-18T05:43:38Z")\
**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:** [May 18, 2007, 5:43am UTC](https://forums.freertos.org/t/pc-application/661/1 "2007-05-18T05:43:38Z")

</div>

**nobody** wrote on [Friday, May 18, 2007](https://sourceforge.net/p/freertos/discussion/382005/thread/14d7bd3c/#038c):

In PC folder i have not use existing main.c, I have make my own make new main.c using existing main.c

Very simple appl.

Create queue  
create task

task function entry : sending mes and receiving mes

Run successfully but after 1 sec gives this message

------------------------  
16 bit MS-DOS Subsystem

C:\FreeRTOS\Demo\PC\rtosdemo.exe  
The NTVDM CPU has encountered an illegal instruction.  
CS:1044 IP:a72c OP:ff ff 00 00 4d Choose ‘close’ to terminate the application

close Ignore  
---------------------------

What could be the problem?  
Can anyone support me?  
Thanks

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [May 18, 2007, 6:17am UTC](https://forums.freertos.org/t/pc-application/661/2 "2007-05-18T06:17:48Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Friday, May 18, 2007](https://sourceforge.net/p/freertos/discussion/382005/thread/14d7bd3c/#038c/e04e):

Does the demo that comes with the download run OK?

See if there is anything useful in this thread, which describes something similar.  
[https://sourceforge.net/forum/forum.php?thread\_id=1731798&forum\_id=382005](https://sourceforge.net/forum/forum.php?thread_id=1731798&forum_id=382005)

Regards.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [May 18, 2007, 2:14pm UTC](https://forums.freertos.org/t/pc-application/661/3 "2007-05-18T14:14:32Z")

</div>

**[panj](https://sourceforge.net/u/panj/)** wrote on [Friday, May 18, 2007](https://sourceforge.net/p/freertos/discussion/382005/thread/14d7bd3c/#038c/945b):

yes, Demo comes with download only.  
From that thread i didn’t get any info.  
anyone knows let me know.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [May 22, 2007, 7:00am UTC](https://forums.freertos.org/t/pc-application/661/4 "2007-05-22T07:00:21Z")

</div>

**[panj](https://sourceforge.net/u/panj/)** wrote on [Tuesday, May 22, 2007](https://sourceforge.net/p/freertos/discussion/382005/thread/14d7bd3c/#038c/56e4):

If anyone done application on PC like me, anyone got same error? what could be the reason?  
it is very important for me to remove error, b’coz i don’t have any other hardware to test functionality of RTOS.
