Creating project

How to use it for new projects

The only thing you have to do, is to create a folder, put your source codes, and copy from the sample directory the three batch files:

	osdk_build.bat
	osdk_execute.bat
	osdk_showmap.bat
	osdk_config.bat

We are interested by the last one. Just edit this file, and look at those lines:

	SET OSDKADDR=$600
	SET OSDKNAME=demo
	SET OSDKFILE=main display sound packer
	SET OSDKLINK=
	SET OSDKCOMP=

those parameters define how the program will be constructed:

The OSDK also support some other variables, here they are for exaustivity:

And internally during the Build time the OSDK defines some other variables from the existing ones:

The only thing you have to made, is edit this file to make it reflect your needs.

See also:

For Visual Studios Users

If like me, you are used to use a modern IDE like Visual Studios, you can configure it in order to be able to edit, compile, and test directly from the VC IDE ! In order to do that, you have to create a NEW PROJECT, and choose MAKEFILE. In the menu "PROJECT/SETTING", choose "GENERAL" and enter the following line into the "Build command line" box:

	%OSDK%\Bin\vc_make.bat

this way, you will be able to compile using the "F7" key, the error messages appear into the output window of visual studios. Clean, isn't it ?

If you wish to be able to debug the code, you can also launch Euphoric from visual studios. Instead of "GENERAL" go to "DEBUG", and in the "Executable for debug session" box, simply enter the following line:

	OSDK_EXECUTE.BAT