download the source code if you dont have it
go to the kerne/usr/programs folder
read the next steps every you make a program for this system
for make a program you need to create in programs a .h file and put any name that you want , the file name is not important
once time in the file editor you open the file that you create and if you want please put any content in line 1 and 2 and in the line 3 put the next code line
/*
in line 4 put the name of the program that you want to display when the custom-programs menu shows your program
in line 5 put the program entry
in line 6 close the comment with
*/
and add the next line
#define ProgramEntryName Hello
replace "Hello" with the content of the line 5 and add this line
#include "../ThridyP.h"
and add the next content to the file after you put the include line
ProgramEntry(
...
);
if you put the file in kerne/usr/programs correctly execute kernel/usr/moontool.bat with the next line in your cmd
moontool.bat -bprg -fvs
once time the script finish go to visual studio if you have it and compile S-SUN and when you go to the programs menu you view your program and can enter in the program pressing enter (the normally in S-SUN for execute any program in the menus)