| Subject: |
|
Re: Help me |
| Name: |
|
Miro Samek |
| Date Posted: |
|
Apr 18, 08 - 10:42 AM |
| Email: |
|
miro@quantum-leaps.com |
| Website: |
|
http://www.quantum-leaps.com |
| Message: |
|
Lester,
Perhaps the easiest way to learn about building QP applications is to start with a known working example. Therefore, the new QP v4 has been released with the Tutorial (http://www.quantum-leaps.com/doxygen/qpcpp/tutorial_page.html).
I would recommend that you first try to run the provided "Fly 'n' Shoot" game example on your PC. Specifically for that, the DOS version is provided. Please first download QP/C++ from http://www.quantum-leaps.com/downloads/. After you unzip the downloaded file, you can find the GAME.EXE in the directory examples\80x86\dos\tcpp101\l\game\dbg\GAME.EXE.
Next, you might try to modify the application and recompile it. For this you'd need a DOS compiler. I've been specifically using the free Turbo C++ 1.01 compiler available for download from http://dn.codegear.com/article/21751. Please install the Turbo C++ 1.01 in the directory \tools\tcpp101 on your hard drive, so that all project files and make scripts will work without changes.
The directory examples\80x86\dos\tcpp101\l\game\ contains the GAME.PRJ project file that you load to the Turbo C++ IDE. You can edit the code, recompile and debug the application.
If you want to play with the truly embedded version, you can download the free IAR KickStart compiler for ARM (go to www.iar.com). You will use the Cortex-M3 version of the game located in the directory examples\cortex-m3\vanilla\iar\game-ev-lm3s811\. Actually, you can run the code in the IAR simulator, so you don't necessarily need the hardware (the EV-LM3S811 board from Luminary Micro).
I hope these tips should help you get started.
Miro |
|
Replies:
|
|
|
Re: Help me by Lester Romero Bernardo · Apr 18, 08 - 11:22 AM
Re: Help me by Lester Romero Bernardo · Apr 19, 08 - 8:34 AM
|